From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74141 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=98yvind?= Stegard Newsgroups: gmane.emacs.gnus.general Subject: Re: put me at the bottom of the *Summary* buffer upon entrance, not the top, if there are no new messages Date: Wed, 17 Nov 2010 13:21:03 +0100 Message-ID: <87hbfgta34.fsf.rednorrock@ifi.uio.no> References: <87bp5oe02u.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1289999490 32385 80.91.229.12 (17 Nov 2010 13:11:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 13:11:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22506@lists.math.uh.edu Wed Nov 17 14:11:26 2010 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.69) (envelope-from ) id 1PIhnJ-0001mV-7K for ding-account@gmane.org; Wed, 17 Nov 2010 14:11:25 +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 1PIhmH-0007Tl-Iw; Wed, 17 Nov 2010 07:10:21 -0600 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 1PIh4W-0007JC-U7 for ding@lists.math.uh.edu; Wed, 17 Nov 2010 06:25:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PIh4V-0000RA-DJ for ding@lists.math.uh.edu; Wed, 17 Nov 2010 06:25:08 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PIh4U-00062M-00 for ; Wed, 17 Nov 2010 13:25:06 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIh4S-0004Ok-G1 for ding@gnus.org; Wed, 17 Nov 2010 13:25:04 +0100 Original-Received: from rednorrock.uio.no ([129.240.93.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 13:25:04 +0100 Original-Received: from oyvind.stegard by rednorrock.uio.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 13:25:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rednorrock.uio.no User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:dEBepxyxyQPqdmsWlWNLWPNwbK0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74141 Archived-At: jidanni@jidanni.org writes: > Gentlemen(99%), there is a behavior upon entering the Summary buffer: > If there are any new messages, the cursor is placed on them, > else the cursor is placed at the top. I want it placed at the bottom in > that case, but (info "(gnus) Various Summary Stuff") doesn't say how, > nor does (info "(gnus) Summary Maneuvering"). I put this in my ~/.gnus to get behaviour somewhat like you describe: ;; Set point on latest (possibly old) article, if entering summary ;; buffer and there are no new unseen/unread articles, otherwise goto ;; first unseen or unread. [For hints, see gnus-sum.el.] (setq gnus-auto-select-subject (lambda() (if (and (not gnus-newsgroup-unreads) (not (null gnus-newsgroup-data))) (progn (goto-char (gnus-data-pos (car (last gnus-newsgroup-data)))) (gnus-summary-position-point)) (gnus-summary-first-unseen-or-unread-subject)))) (using Gnus 5.13 bundled with Emacs 23.2.1) Regards, Øyvind -- < Øyvind Stegard < http://stegard.net/