From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62812 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Confusing *Group* after 'gnus-group-jump-to-group' (with topics) Date: Fri, 14 Apr 2006 19:30:50 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87wtdsxdx1.fsf@topper.koldfront.dk> References: <87r7eivovc.fsf@koldfront.dk> <87slogdyva.fsf@topper.koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1145036134 6502 80.91.229.2 (14 Apr 2006 17:35:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Apr 2006 17:35:34 +0000 (UTC) Original-X-From: ding-owner+m11339@lists.math.uh.edu Fri Apr 14 19:35:30 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FUSCR-0004qa-T5 for ding-account@gmane.org; Fri, 14 Apr 2006 19:35:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FUSCN-0007FI-00; Fri, 14 Apr 2006 12:35:11 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FUS8m-0007FC-00 for ding@lists.math.uh.edu; Fri, 14 Apr 2006 12:31:28 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FUS8k-0002GU-0K for ding@lists.math.uh.edu; Fri, 14 Apr 2006 12:31:28 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FUS8i-0007O5-00 for ; Fri, 14 Apr 2006 19:31:24 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FUS8V-0004Ex-Uy for ding@gnus.org; Fri, 14 Apr 2006 19:31:11 +0200 Original-Received: from 0x50a5b872.bynxx12.adsl-dhcp.tele.dk ([80.165.184.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Apr 2006 19:31:11 +0200 Original-Received: from asjo by 0x50a5b872.bynxx12.adsl-dhcp.tele.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Apr 2006 19:31:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 65 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 0x50a5b872.bynxx12.adsl-dhcp.tele.dk X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR On Fri, 14 Apr 2006 16:35:35 +0200, Lars wrote: > asjo@koldfront.dk (Adam Sjøgren) writes: >> (I just tried now, and could here). > Here's what my group looks like (after I snip all ones below there). > [ Gnus -- 65441 ] > 19: nndraft:drafts > [ Stuff -- 3188 ] > 22: comp.lang.lisp > * 0: nnml:misc > 2: nnvirtual:emacs > `j nntp+news.gmane.org:gmane.culture.sf.delany' Oh, but the first topic you have after nndraft:drafts must not be visible when you jump. And the group you jump to must be in that first, hidden topic. > Try edebugging `gnus-topic-jump-to-topic' in gnus-topic.el (and > related functions) to see if you can figure out what's happening. I've tried following the path edebug-defun'ing a fun at a time, these are my notes: == = The stuff that goes wrong gets called from: gnus-group.el: gnus-group-update-group 1699 - 1716 In line 1703: (funcall gnus-goto-missing-group-function group) calls gnus-topic-goto-missing-group which makes Gnus insert "[0: archive]" _above_ the "1: nndraft:drafts"-line. gnus-topic.el: gnus-topic-goto-missing-group: gnus-topic-display-missing-topic is called in line 719. gnus-topic.el: gnus-topic-display-missing-topic calls gnus-topic-insert-topic-line in line 742-743. When it does "[0: archive]" is inserted above "1: nndraft:drafts", which is wrong. Also, "[0: archive]" and "[313: Gnus]" are both inserted and removed again in to subsequent calls to gnus-topic-insert-topic-line, for some reason. == = It looks like gnus-topic-insert-topic-line inserts the (so far hidden) "archive" topic directly after its parent-topic "Gnus", instead of after the groups in "Gnus" that "archive" is usually placed after. My head is spinning a little now, so I hope someone else can pinpoint the exact culprit. Best regards, Adam -- "You know, if the sun was an oboe, what would you do?" Adam Sjøgren asjo@koldfront.dk