From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59489 Path: main.gmane.org!not-for-mail From: drkm Newsgroups: gmane.emacs.gnus.general Subject: Re: bad fixes to a higher level problem Date: Thu, 30 Dec 2004 22:43:12 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104443100 5507 80.91.229.6 (30 Dec 2004 21:45:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2004 21:45:00 +0000 (UTC) Original-X-From: ding-owner+M8030@lists.math.uh.edu Thu Dec 30 22:44:52 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ck86F-0006EQ-00 for ; Thu, 30 Dec 2004 22:44:51 +0100 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 1Ck84f-0003bh-00; Thu, 30 Dec 2004 15:43:13 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ck84X-0003bb-00 for ding@lists.math.uh.edu; Thu, 30 Dec 2004 15:43:05 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Ck84Q-0001dH-4f for ding@lists.math.uh.edu; Thu, 30 Dec 2004 15:42:58 -0600 Original-Received: from main.gmane.org ([80.91.224.249]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ck84P-0005kB-00 for ; Thu, 30 Dec 2004 22:42:57 +0100 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Ck84O-0000a3-00 for ; Thu, 30 Dec 2004 22:42:56 +0100 Original-Received: from 75-194.241.81.adsl.skynet.be ([81.241.194.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Dec 2004 22:42:56 +0100 Original-Received: from darkman_spam by 75-194.241.81.adsl.skynet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Dec 2004 22:42:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 75-194.241.81.adsl.skynet.be User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:CrARmTuEqSspCi5mBIHgfZ2vIiQ= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59489 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59489 Wes Hardaker writes: > @@ -10740,12 +10741,14 @@ > "Go to the same level (or less) next thread. > If PREVIOUS is non-nil, go to previous thread instead. > Return the article number moved to, or nil if moving was impossible." > - (let ((level (gnus-summary-thread-level)) > + (let ((level (or (gnus-summary-thread-level) 0)) > (way (if previous -1 1)) > - (beg (point))) > + (beg (point)) > + thlevel) > (forward-line way) > (while (and (not (eobp)) > - (< level (gnus-summary-thread-level))) > + (setq thlevel (gnus-summary-thread-level)) > + (< level thlevel)) > (forward-line way)) > (if (eobp) > (progn Why introduce `thlevel' if you don't use it ? Are there other reference to this variable, not shown in the patch ? --drkm