From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64852 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?iso-8859-1?Q?Bockg=E5rd?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Exiting groups moves the cursor to next line Date: Sat, 30 Jun 2007 14:03:45 +0200 Message-ID: References: <87tzun798w.fsf@lrde.org> <878xbz6m9b.fsf@lrde.org> <87r6pog8qx.fsf@lrde.org> <87bqgqm5wd.fsf@lrde.org> <87bqgo1flr.fsf@zip.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1183225260 6100 80.91.229.12 (30 Jun 2007 17:41:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2007 17:41:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13363@lists.math.uh.edu Sat Jun 30 19:40:54 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 1I4gwH-0000h4-VY for ding-account@gmane.org; Sat, 30 Jun 2007 19:40: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 1I4gwE-0003YY-Ri; Sat, 30 Jun 2007 12:40:50 -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 1I4bgo-0002C4-C2 for ding@lists.math.uh.edu; Sat, 30 Jun 2007 07:04:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1I4bgi-0001aU-0k for ding@lists.math.uh.edu; Sat, 30 Jun 2007 07:04:34 -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 1I4bgg-0005f3-00 for ; Sat, 30 Jun 2007 14:04:26 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1I4bgO-0008IC-V2 for ding@gnus.org; Sat, 30 Jun 2007 14:04:08 +0200 Original-Received: from remote5.student.chalmers.se ([129.16.29.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jun 2007 14:04:08 +0200 Original-Received: from bojohan+news by remote5.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jun 2007 14:04:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: remote5.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:kwGwTb/uTVib4W9hjOgJhBgNqDE= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64852 Archived-At: Kevin Ryde writes: > "Old" means anything unsubscribed (I keep bits of occasional interest > in unsubscribed level), or anything with no unread articles (which is > not necessarily old, but is certainly a case of going back to > revisit). My preference is ;; Kludge ahead (defadvice gnus-group-next-unread-group (around summary-exit activate) (if (boundp 'group-point) (let ((gnus-level-subscribed (max gnus-level-subscribed (gnus-group-group-level)))) ad-do-it) ad-do-it)) to make the call to `gnus-group-next-unread-group' inside `gnus-summary-exit' not insist on selecting a subscribed group, but to instead advance to the next unread group on the same level or better. I might have a whole bundle of seldomly read groups and i don't want point to jump far away. A more friendly way to do this would be welcome. -- Johan Bockgård