From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64617 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.gnus.general Subject: Re: Exiting groups moves the cursor to next line Date: Thu, 10 May 2007 14:31:50 +0200 Organization: Epita/LRDE Message-ID: <87r6pog8qx.fsf@lrde.org> References: <87tzun798w.fsf@lrde.org> <878xbz6m9b.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1178800431 19148 80.91.229.12 (10 May 2007 12:33:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 May 2007 12:33:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13128@lists.math.uh.edu Thu May 10 14:33:48 2007 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 1Hm7q3-0006oM-Jg for ding-account@gmane.org; Thu, 10 May 2007 14:33:44 +0200 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 1Hm7p9-00027i-UN; Thu, 10 May 2007 07:32:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hm7p8-00027Q-BQ for ding@lists.math.uh.edu; Thu, 10 May 2007 07:32:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1Hm7p6-0006DU-Iu for ding@lists.math.uh.edu; Thu, 10 May 2007 07:32:46 -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 1Hm7p5-0003qX-00 for ; Thu, 10 May 2007 14:32:43 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hm7op-000345-0I for ding@gnus.org; Thu, 10 May 2007 14:32:27 +0200 Original-Received: from ivr94-6-82-230-255-91.fbx.proxad.net ([82.230.255.91]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 May 2007 14:32:26 +0200 Original-Received: from michael by ivr94-6-82-230-255-91.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 May 2007 14:32:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 145 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ivr94-6-82-230-255-91.fbx.proxad.net X-Website: http://michael.cadilhac.name User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:XwOaUi3zk2rcU6V+alZgUpavz58= X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64617 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable michael@cadilhac.name (Micha=EBl Cadilhac) writes: > I can install a mix of these patches, if the idea is OK. Here's the mix. If there's no objection, I'll install it later today. --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=gnus-sum.patch Content-Transfer-Encoding: quoted-printable Index: lisp/gnus-sum.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v retrieving revision 7.183 diff -c -r7.183 gnus-sum.el *** lisp/gnus-sum.el 9 May 2007 08:23:42 -0000 7.183 =2D-- lisp/gnus-sum.el 10 May 2007 12:27:49 -0000 *************** *** 62,67 **** =2D-- 62,75 ---- :group 'gnus-summary-exit :type 'boolean) =20=20 + (defcustom gnus-summary-next-group-on-exit t + "If non-nil, go to the next unread newsgroup on summary exit. + See `gnus-group-goto-unread'." + :link '(custom-manual "(gnus)Group Maneuvering") + :group 'gnus-summary-exit + :version "23.0" ;; No Gnus + :type 'boolean) +=20 (defcustom gnus-fetch-old-headers nil "*Non-nil means that Gnus will try to build threads by grabbing old hea= ders. If an unread article in the group refers to an older, already *************** *** 6955,6960 **** =2D-- 6963,6969 ---- (gnus-group-jump-to-group group)) (gnus-run-hooks 'gnus-summary-exit-hook) (unless (or quit-config + (not gnus-summary-next-group-on-exit) ;; If this group has disappeared from the summary ;; buffer, don't skip forwards. (not (string=3D group (gnus-group-group-name)))) Index: texi/gnus.texi =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/texi/gnus.texi,v retrieving revision 7.228 diff -c -r7.228 gnus.texi *** texi/gnus.texi 9 May 2007 08:23:47 -0000 7.228 =2D-- texi/gnus.texi 10 May 2007 12:28:03 -0000 *************** *** 2087,2092 **** =2D-- 2087,2097 ---- the commands that say they move to the next unread group. The default is @code{t}. =20=20 + @vindex gnus-summary-next-group-on-exit + If @code{gnus-summary-next-group-on-exit} is @code{t}, when a summary is + exited, the point in the group buffer is moved to the next unread group. + Otherwise, the point is set to the group just exited. The default is + @code{t}. =20=20 @node Selecting a Group @section Selecting a Group Index: lisp/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v retrieving revision 7.1545 diff -c -r7.1545 ChangeLog *** lisp/ChangeLog 9 May 2007 08:23:42 -0000 7.1545 =2D-- lisp/ChangeLog 10 May 2007 12:27:44 -0000 *************** *** 0 **** =2D-- 1,6 ---- + 2007-05-10 Micha=EBl Cadilhac +=20 + * gnus-sum.el (gnus-summary-next-group-on-exit): New variable. Tell if,= on + summary exit, the next group has to be selected. + (gnus-summary-exit): Use it. +=20 Index: texi/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/texi/ChangeLog,v retrieving revision 7.328 diff -C0 -r7.328 ChangeLog *** texi/ChangeLog 9 May 2007 08:23:47 -0000 7.328 =2D-- texi/ChangeLog 10 May 2007 12:31:29 -0000 *************** *** 0 **** =2D-- 1,5 ---- + 2007-05-10 Micha=EBl Cadilhac +=20 + * gnus.texi (Group Maneuvering): Document + `gnus-summary-next-group-on-exit'. +=20 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =2D-=20 | Micha=EBl `Micha' Cadilhac | I'd be surprised if my fix doesn't= | | http://michael.cadilhac.name | address this problem as well. = | | JID/MSN: | PS: But I like surprises. = | `---- michael.cadilhac@gmail.com | -- Stefan Monnier - = --' --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD8DBQFGQxC2UJhDmOfFA3URAkToAKCaplgrm0EuMyEaTVUZuUanEr4tPQCg2YAl QZH/PJ1rPVcI+2MWBTrAyV4= =VZcf -----END PGP SIGNATURE----- --==-=-=--