From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49913 Path: main.gmane.org!not-for-mail From: Emerick Rogul Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug when jumping to group in empty topic? Date: Fri, 07 Feb 2003 14:59:21 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044647895 18349 80.91.224.249 (7 Feb 2003 19:58:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 19:58:15 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hEdY-0004lQ-00 for ; Fri, 07 Feb 2003 20:58:12 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18hEf4-0002TQ-00; Fri, 07 Feb 2003 13:59:46 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Feb 2003 14:00:42 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA22800 for ; Fri, 7 Feb 2003 14:00:31 -0600 (CST) Original-Received: (qmail 60754 invoked by alias); 7 Feb 2003 19:59:30 -0000 Original-Received: (qmail 60749 invoked from network); 7 Feb 2003 19:59:30 -0000 Original-Received: from cs-private.bu.edu (HELO cs.bu.edu) (root@128.197.12.2) by 66.230.238.6 with SMTP; 7 Feb 2003 19:59:30 -0000 Original-Received: from csa.bu.edu (emerick@csa [128.197.12.3]) by cs.bu.edu (8.12.2/8.12.2) with ESMTP id h17JxOKh023447 for ; Fri, 7 Feb 2003 14:59:24 -0500 (EST) Original-Received: (from emerick@localhost) by csa.bu.edu (8.10.1/8.10.1) id h17JxLx14696; Fri, 7 Feb 2003 14:59:21 -0500 (EST) Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 07 Feb 2003 14:29:02 +0100") User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49913 Lars Magne Ingebrigtsen writes: > It's pretty difficult to set up a similar setup myself, so could you > try debugging this? I would guess that the problem is in > `gnus-topic-goto-missing-topic'. Try evaling > M-: (gnus-topic-goto-missing-topic "old") > and see what happens. If it does the wrong thing, try edebugging > that function and see what it does wrong. Evaling (gnus-topic-goto-missing-topic "old") doesn't do anything in my setup, which is definitely wrong. I debugged into that function and I think the problem is with the following snippet of code: (if tp (gnus-topic-forward-topic 1) (gnus-topic-goto-missing-topic (caadr top))) When Gnus calls (gnus-topic-forward-topic 1) to move to my "old" topic, because that topic is currently hidden, nothing happens (point seems to stay where it currently is). So the end result is that the "old" topic is displayed at the bottom of my Group buffer, which is incorrect given my topic layout. I think the way to fix this is to make gnus-topic-forward-topic smart enough to display hidden topics when necessary. Either that, or we need to call some code to display the hidden topic(s) _before_ calling gnus-topic-forward-topic -- actually, that seems like the better way to do this. I'm not sure I know enough about Gnus internals to know what to change, though. Any thoughts? -Emerick -- ------------------------------------------------------------------------- Emerick Rogul /\/ "how young are you, how old am i? emerick@cs.bu.edu /\/ let's count the rings around my eyes." ------------------------------------------------- 'i will dare', the mats