From: Dr Rainer Woitok <rainer.woitok@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Help-Gnu-Emacs@Gnu.Org
Subject: Re: Another "Rmail" problem I ran into
Date: Mon, 10 Jun 2024 17:32:21 +0200 [thread overview]
Message-ID: <66671c86.050a0220.68327.4867@mx.google.com> (raw)
In-Reply-To: <86o78a9i7b.fsf@gnu.org> (message from Eli Zaretskii on Sun, 09 Jun 2024 19:47:20 +0300)
Eli,
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? From the hook functions I am aware of, this seemed to
be the natural place for running my function.
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"? Or is there another hook function I could use?
Sincerely,
Rainer
next prev parent reply other threads:[~2024-06-10 15:32 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 [this message]
2024-06-10 16:10 ` Eli Zaretskii
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=66671c86.050a0220.68327.4867@mx.google.com \
--to=rainer.woitok@gmail.com \
--cc=Help-Gnu-Emacs@Gnu.Org \
--cc=eliz@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.