From: Stefan Waldherr <swa@cs.cmu.edu>
Subject: summary-prepare-hook
Date: 22 Jan 1998 12:20:46 -0500 [thread overview]
Message-ID: <upkbtx4ctn5.fsf@mind.learning.cs.cmu.edu> (raw)
Hi,
when entering a mail group I find it annoying that the cursor is on the first
article. I much rather would like to see the cursor on the newest article
(ie., the last line in the summary buffer).
Unfortunately, the following hook does not give the expected result. Can
anybody give me a hint? (XEmacs barks at (previous-line)0, but even if I take
this out, it will not do the right thing).
(setq gnus-summary-prepare-hook
(lambda ()
(goto-char (point-max))
(previous-line)
(recenter)
)
)
I also tried various variations, like
(add-hook 'gnus-summary-prepare-hook
(lambda ()
(let (gnus-summary-prepare-hook)
(goto-char (point-max))
(recenter)
)
))
but to no avail.
Thanks,
Stefan.
--
Stefan Waldherr office +1 (412) 268-3837
fax +1 (412) 268-5576
e-Mail swa@cs.cmu.edu
www http://www.waldherr.org/
next reply other threads:[~1998-01-22 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-22 17:20 Stefan Waldherr [this message]
1998-02-08 15:34 ` summary-prepare-hook Lars Magne Ingebrigtsen
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=upkbtx4ctn5.fsf@mind.learning.cs.cmu.edu \
--to=swa@cs.cmu.edu \
/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).