From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50065 Path: main.gmane.org!not-for-mail From: Michael Shields Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Skip over citations and signature (resend) Date: Wed, 12 Feb 2003 17:55:42 +0000 Organization: Mad Science Research Labs Sender: owner-ding@hpc.uh.edu Message-ID: <87n0l1759d.fsf@mulligatwani.msrl.com> References: <87smuvh2gm.fsf@mulligatwani.msrl.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045073635 5383 80.91.224.249 (12 Feb 2003 18:13:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 18:13:55 +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 18j17Y-00005J-00 for ; Wed, 12 Feb 2003 18:56:32 +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 18j179-0004Yz-00; Wed, 12 Feb 2003 11:56:07 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 12 Feb 2003 11:57:04 -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 LAA05422 for ; Wed, 12 Feb 2003 11:56:53 -0600 (CST) Original-Received: (qmail 27767 invoked by alias); 12 Feb 2003 17:55:50 -0000 Original-Received: (qmail 27762 invoked from network); 12 Feb 2003 17:55:49 -0000 Original-Received: from challah.msrl.com (198.137.194.222) by 66.230.238.6 with SMTP; 12 Feb 2003 17:55:49 -0000 Original-Received: (qmail 21152 invoked from network); 12 Feb 2003 17:55:43 -0000 Original-Received: from localhost (HELO mulligatwani.msrl.com) (127.0.0.1) by localhost with SMTP; 12 Feb 2003 17:55:43 -0000 Original-To: ding@gnus.org In-Reply-To: <87smuvh2gm.fsf@mulligatwani.msrl.com> (Michael Shields's message of "Tue, 11 Feb 2003 04:21:29 +0000") Original-Lines: 40 User-Agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.4 (Military Intelligence) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50065 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50065 This patch goes with it also. I forget if it's required for my skip-boring patch, but it seems like a good idea anyway. 2003-02-12 Michael Shields * gnus-sum.el (gnus-article-goto-next-page, gnus-article-goto-prev-page): Call gnus-summary-*-page, instead of relying on the summary bindings of `n' and `p'. Index: lisp/gnus-art.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-art.el,v retrieving revision 6.293 diff -u -r6.293 gnus-art.el --- lisp/gnus-art.el 12 Feb 2003 15:06:16 -0000 6.293 +++ lisp/gnus-art.el 12 Feb 2003 18:03:15 -0000 @@ -4686,15 +4695,14 @@ (defun gnus-article-goto-next-page () "Show the next page of the article." (interactive) - (when (gnus-article-next-page) - (goto-char (point-min)) - (gnus-article-read-summary-keys nil (gnus-character-to-event ?n)))) + (gnus-eval-in-buffer-window gnus-summary-buffer + (gnus-summary-next-page))) (defun gnus-article-goto-prev-page () "Show the next page of the article." (interactive) - (if (bobp) (gnus-article-read-summary-keys nil (gnus-character-to-event ?p)) - (gnus-article-prev-page nil))) + (gnus-eval-in-buffer-window gnus-summary-buffer + (gnus-summary-prev-page))) (defun gnus-article-next-page (&optional lines) "Show the next page of the current article. -- Shields.