From: Eli Zaretskii <eliz@gnu.org>
To: Help-Gnu-Emacs@Gnu.Org
Subject: Re: Another "Rmail" problem I ran into
Date: Mon, 10 Jun 2024 19:10:34 +0300 [thread overview]
Message-ID: <86ed9493t1.fsf@gnu.org> (raw)
In-Reply-To: <66671c86.050a0220.68327.4867@mx.google.com> (message from Dr Rainer Woitok on Mon, 10 Jun 2024 17:32:21 +0200)
> From: Dr Rainer Woitok <rainer.woitok@gmail.com>
> Date: Mon, 10 Jun 2024 17:32:21 +0200
> Cc: Help-Gnu-Emacs@Gnu.Org
>
> On Sun, 09 Jun 2024 19:47:20 +0300 you wrote:
> > ...
> > You cannot call rmail-summary functions from rmail-get-new-mail-hook,
> > not without switching to the right buffer and doing other bookkeeping.
> > rmail-get-new-mail-hook is a hook intended to act on the new messages
> > in the Rmail buffer, it is not intended to make summaries.
>
> Hm, wouldn't that be worth being mentioned in both, the docstring and
> the info-pages?
It is mentioned now, I added that yesterday.
> And does that mean that the only way achieving my goal is to re-bind key
> "g" to a function which first runs "rmail-get-new-mail" and then "rmail-
> summary-sort-by-date"?
That's the simplest way, yes. So I suggest that you do that in your
customizations.
prev parent reply other threads:[~2024-06-10 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-09 16:19 Another "Rmail" problem I ran into Dr Rainer Woitok
2024-06-09 16:47 ` Eli Zaretskii
2024-06-10 15:32 ` Dr Rainer Woitok
2024-06-10 16:10 ` Eli Zaretskii [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86ed9493t1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=Help-Gnu-Emacs@Gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).