From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50690 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Threading wrong if showing undownloaded articles Date: Sat, 08 Mar 2003 18:12:13 +0100 Organization: University of Duisburg, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84llzp3hqq.fsf@lucy.is.informatik.uni-duisburg.de> References: <84d6ldkc9w.fsf@lucy.is.informatik.uni-duisburg.de> <84bs0wy2mx.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047143548 18100 80.91.224.249 (8 Mar 2003 17:12:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 17:12:28 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Sat Mar 08 18:12:26 2003 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 18rhs2-0004ho-00 for ; Sat, 08 Mar 2003 18:12:26 +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 18rhsG-0002Yu-00; Sat, 08 Mar 2003 11:12:40 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 08 Mar 2003 11:13:41 -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 LAA12254 for ; Sat, 8 Mar 2003 11:13:28 -0600 (CST) Original-Received: (qmail 44820 invoked by alias); 8 Mar 2003 17:12:24 -0000 Original-Received: (qmail 44815 invoked from network); 8 Mar 2003 17:12:24 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 8 Mar 2003 17:12:24 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18riCn-0006Zp-00 for ; Sat, 08 Mar 2003 18:33:53 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: pd951f720.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1047144833 25284 217.81.247.32 (8 Mar 2003 17:33:53 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 8 Mar 2003 17:33:53 GMT User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:9ysEmhjlNqR4CLp7HjRBVOb+0JQ= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50690 Kevin Greiner writes: > Right, the function that I provided should be able to refresh the > undownloaded articles. I suspect that the data structures used by the > summary are being corrupted. I'd like you to find out if that is > true. I have now tested your function test1 on an article and it doesn't appear to do anything (except to advance point to the next line). I'm not 100% sure if the originally reported behavior was the same as what I'm seeing now. What I'm seeing now is that all articles are shown correctly initially (the threading is correct). But when I select a non-downloaded article, the summary line changes. In particular, the %B part changes. It appears that the new %B macro always expands to gnus-sum-thread-tree-single-leaf, preceded by one or two levels of indentation. (It's always the same number of levels, but I don't know the number offhand.) Hm. The thing that's inserted there is gnus-tmp-thread-tree-header-string, according to gnus-summary-line-format-alist. So a hypothesis is that this variable is b0rked. Which function is called to show the summary line when I select an article? Ah. gnus-tmp-thread-tree-header-string is only set in one spot, in gnus-summary-prepare-threads. Hmm... Oh! Selecting an article appears to call gnus-summary-update-article-line which calls gnus-summary-insert-line which does not know about the correct value. Is this analysis correct? -- A preposition is not a good thing to end a sentence with.