From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66438 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-end-of-article displays beginning of article Date: Tue, 04 Mar 2008 23:31:43 +0100 Message-ID: References: <87d4qblk24.fsf@gmx.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204789227 1168 80.91.229.12 (6 Mar 2008 07:40:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 07:40:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14930@lists.math.uh.edu Thu Mar 06 08:40:53 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXAih-0001Cb-9k for ding-account@gmane.org; Thu, 06 Mar 2008 08:40:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JXAhk-00071B-N9; Thu, 06 Mar 2008 01:39:52 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JWfgS-0005kG-Ik for ding@lists.math.uh.edu; Tue, 04 Mar 2008 16:32:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JWfgM-0007vK-8C for ding@lists.math.uh.edu; Tue, 04 Mar 2008 16:32:28 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JWfgS-0000vP-00 for ; Tue, 04 Mar 2008 23:32:28 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m24MWKum014019 for ; Tue, 4 Mar 2008 23:32:20 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 37A8312FD5 for ; Tue, 4 Mar 2008 23:32:20 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: ding@gnus.org In-Reply-To: <87d4qblk24.fsf@gmx.de> (Sven Joachim's message of "Mon, 03 Mar 2008 19:49:23 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.91 (gnu/linux) X-DCC-Rhyolite-Metrics: poseidon 104; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66438 Archived-At: On Mon, Mar 03 2008, Sven Joachim wrote: > With current No Gnus CVS I'm noticing the unwanted behavior that > gnus-summary-end-of-article goes to the beginning of the article, rather > than to the end. Anyone else seeing this? > > I've tried to single-step that function, but failed to find anything > obviously wrong. And it had not been changed for ages. `gnus-summary-end-of-article' has been modified in 5.10.3: ,---- | 2003-10-21 Katsumi Yamaoka | | * gnus-art.el (gnus-narrow-to-page): Clear as well as set the | value for gnus-page-broken. | | * gnus-sum.el (gnus-summary-beginning-of-article): Use | gnus-break-pages instead of gnus-page-broken. | (gnus-summary-end-of-article): Use gnus-break-pages instead of | gnus-page-broken; narrow to the end of a page beforehand. | (gnus-summary-toggle-header): Use gnus-break-pages instead of | gnus-page-broken; remove delimiter buttons unless gnus-break-pages | is non-nil. `---- After reverting the following hunk, it works as expected for me. ,---- | --- gnus-sum.el 19 Oct 2003 01:09:52 -0000 6.369 | +++ gnus-sum.el 21 Oct 2003 14:28:32 -0000 6.370 | [...] | @@ -8518,7 +8518,9 @@ | (widen) | (goto-char (point-max)) | (recenter -3) | - (when gnus-page-broken | + (when gnus-break-pages | + (when (re-search-backward page-delimiter nil t) | + (narrow-to-region (match-end 0) (point-max))) | (gnus-narrow-to-page)))) | | (defun gnus-summary-print-truncate-and-quote (string &optional len) `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/