Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Abrahams <dave@boostpro.com>
To: ding@gnus.org
Subject: Re: go to the bottom line when entering a group with all read articles
Date: Mon, 08 Aug 2011 10:34:45 -0400	[thread overview]
Message-ID: <m2pqkgezui.fsf@pluto.luannocracy.com> (raw)
In-Reply-To: <87wreo60t3.fsf@jidanni.org>


on Sun Aug 07 2011, jidanni-AT-jidanni.org wrote:

> OK, I figured out how to do what I want.
> It is to make up gnus' "many 'first', lack of 'last'" problem.
>
> (defun jidanni-gnus-summary-first-unseen-or-last-subject ()
>   "Place the point on the subject line of the first unseen article.
> If all article have been seen, on the subject line of the last article."
>   (interactive)
>   (prog1
>       (unless
> 	  (when (gnus-summary-first-subject nil nil t)
> 	    (gnus-summary-show-thread)
> 	    (gnus-summary-first-subject nil nil t))
> 	(goto-char (point-max))
> 	(forward-line -1))
>     (gnus-summary-position-point)))
> (setq gnus-auto-select-subject 'jidanni-gnus-summary-first-unseen-or-last-subject)

Awesome; I stole your code!  I agree with you that it should be the default.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




      reply	other threads:[~2011-08-08 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03  1:03 jidanni
2011-08-03  5:09 ` Katsumi Yamaoka
2011-08-08  3:26   ` jidanni
2011-08-08 14:34     ` Dave Abrahams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2pqkgezui.fsf@pluto.luannocracy.com \
    --to=dave@boostpro.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).