From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64596 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.gnus.general Subject: Exiting groups moves the cursor to next line (was: exiting digest mails does not move the cursor to next line) Date: Tue, 08 May 2007 15:09:03 +0200 Organization: Epita/LRDE Message-ID: <87tzun798w.fsf@lrde.org> References: 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 1178629798 1535 80.91.229.12 (8 May 2007 13:09:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 May 2007 13:09:58 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13107@lists.math.uh.edu Tue May 08 15:09:56 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 1HlPRx-0003nC-Tl for ding-account@gmane.org; Tue, 08 May 2007 15:09:54 +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 1HlPRN-0004sQ-1c; Tue, 08 May 2007 08:09:17 -0500 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 1HlPRK-0004s3-0J for ding@lists.math.uh.edu; Tue, 08 May 2007 08:09:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HlPRI-0004b9-IU for ding@lists.math.uh.edu; Tue, 08 May 2007 08:09:13 -0500 Original-Received: from smtp3-g19.free.fr ([212.27.42.29]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HlPRH-0006zr-00 for ; Tue, 08 May 2007 15:09:11 +0200 Original-Received: from localhost (ivr94-6-82-230-255-91.fbx.proxad.net [82.230.255.91]) by smtp3-g19.free.fr (Postfix) with ESMTP id AB6C75E15C for ; Tue, 8 May 2007 15:09:10 +0200 (CEST) X-Website: http://michael.cadilhac.name Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAYFBMVEUWCwUyFQk6JBNLGglQK BVRMiRkHQtwMBZuOCRyRi1iQiZyUUCFNxuIPCKRTC2mVTSpZTqVVS2SW0OYZkixb0qraE/KeU7EcT +4h2bPhVfQkm7hlnDkvZjYqIjrwJnzwqB5+4wZAAAACXBIWXMAAAsTAAALEwEAmpwYAAAACXZwQWc AAAAwAAAAMADO7oxXAAADvUlEQVRIx32Wi5ajIAyGRcCAchErVqu27/+W+wfbs724i3Mcz5n/S0JI wlTbyXrs+zrFEL1zPuIdY7xO6+PBf6u27f4DrFPO3jvoQYRYFoj9CXyu+7ZPEWrXUNM0zpEfgjuY9 RTY1hyg5qUNgMb44Dwiiz5OZ8DCwVCjpdLaGNOVtw+M+Lz+AlNwRAhGSamh1abrtFKmG0DkmL8BhE +GdCNlreChBaO7DpjpIvbv/fr4AnqErhoYF6KI4aPrLIeFQLGj6RO4JWLjtdZ1WQXhvegGG0EKyO/ vwH7xJBk4tLrW5UPxN3zAufHDO3Axh4MCMPLisKQyRuJo/Btw60gpWcu6OogjsmIeiRIKgUlj3oCp a1QtRP1ywT9VfXCiZMEg4X+BfYADAHhhdc+NV1UBBT9SIedvgFFwDFslkO7S8e+KtQcohJCyefdgt DoC4pe+FB8VL3bDeiGB/AVurZJCvY5AtdaSKpYLJArxCXCOlMUpiRpF0Sbb8nZYBnGBPoGZuOCGAd lTqgXRlrrDuUgpDh+VNPYN0IRALnkIFsVTiBanbBQbesYl1Num584iojnnHIPVJRSJvFnrrFHPmD6 yBKJVbZ+nKScjIVfatlSaJ9BBiIbcW1rnOSF4F/OYGiFLQaCXyAUsLTggnAN9VOuMaBtuX1QmHwok RD4CIHzXChG5z37oWkRhxx5tCmdKNUSp7/tUYlQwQ/6z424JPtr+mlwwwbbGQj5CXwBjyPj4NQRmJ J7GZez7mPpk02W+jvgMnFrUaozhE7jPF9va+QZinMaxn0dGMSy5ExuHmdZ8APf7felTv9zGccGal3 le2JdHt0lJaGklvjwA6JcVACwXpugd+gAJQvuIL2C7r9eJgQscXQH0I+sxkrBjjE0ukW9gui7rMo9 DAoGnTzyZceA8lYh+AMxWeFiu/ZhSLCeAUex4hhPr6XsPPAqu0xRxNVAaS0J58pODvhCN/AFWziLP rMtYjsxD6y0dDpDeH2Cf+sxEyPmSYuIJbOi1zCmQc/DkbQg2FQ/O2RfgDP0Aj8eU+VpDmlpLvBkqe kTJpe5+r6xtz9A7VnCxlthfAJkz4JGRJfzVcEiHHK36BOgE2PYRPpIna0K5wAzGCLcWN6A6A3CRRu SJWo+NoybQfag9TA/CxymwTdnDWkh4cPOweckTRCkhzgH8K+ChxkKG2L4oQBlPp8B2G/sc02CDKTp xXExlOJ3q79vcpyGYlmelFOXRxyj/hwe+XnBhw6osY17wJfB/IB/3o2a14Hl8jNfqDx44iLN4w0aG AAAAAElFTkSuQmCC In-Reply-To: (Shanks N.'s message of "Sat\, 05 May 2007 16\:51\:36 +0530") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64596 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Transfer-Encoding: quoted-printable Shanks N writes: > Hello, > > In the previous version of No gnus 0.4/0.5, entering a nnml group with > mails in digest format, the following was the behaviour. > > 1. Hit C-d to read the digest mail > 2. hit q to quit reading the above > 3. Cursor moves to next digest mail > > With the version below, the cursor continues to stay on the same mail > line on the Summary page.=20 Speaking of which, I've always been bothered by a similar feature: when exiting a summary buffer, the next group line is selected. In fact, if I want the next group to be selected, I just don't exit the group and continue `n'-ing. Can we make it customizable? --=-=-= 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.182 diff -c -r7.182 gnus-sum.el *** lisp/gnus-sum.el 27 Apr 2007 08:39:17 -0000 7.182 =2D-- lisp/gnus-sum.el 8 May 2007 12:57:23 -0000 *************** *** 62,67 **** =2D-- 62,72 ---- :group 'gnus-summary-exit :type 'boolean) =20=20 + (defcustom gnus-next-group-on-exit t + "*If non-nil, go to the next unread newsgroup on summary exit." + :group 'gnus-summary-exit + :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 *************** *** 6933,6938 **** =2D-- 6938,6944 ---- (gnus-group-jump-to-group group)) (gnus-run-hooks 'gnus-summary-exit-hook) (unless (or quit-config + (not gnus-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: 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.1543 diff -C0 -r7.1543 ChangeLog *** lisp/ChangeLog 3 May 2007 18:34:28 -0000 7.1543 =2D-- lisp/ChangeLog 8 May 2007 12:57:29 -0000 *************** *** 0 **** =2D-- 1,6 ---- + 2007-05-08 Micha=EBl Cadilhac +=20 + * gnus-sum.el (gnus-next-group-on-exit): New variable. Tell if, on + summary exit, the next group has to be selected. + (gnus-summary-exit): Use it. +=20 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =2D-=20 | Micha=EBl `Micha' Cadilhac | La meilleure fa=E7on = | | http://michael.cadilhac.name | de ne pas avancer, = | | JID/MSN: | c'est de suivre une id=E9e fixe. = | `---- michael.cadilhac@gmail.com | -- Jacques Pr=E9vert -= --' --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD8DBQFGQHZ3UJhDmOfFA3URAqYQAJ92duzpWzkXZGnHjagvceiQZY1cbACg18Rx /9tpcsQmP2fHyY6o4Wg90uA= =7KEu -----END PGP SIGNATURE----- --==-=-=--