unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* hook run just in message-mode just before user begins composing/replying?
@ 2023-05-09 13:02 Gregor Zattler
  2023-05-09 13:20 ` Tim Landscheidt
  2023-05-09 13:28 ` Manuel Giraud via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 10+ messages in thread
From: Gregor Zattler @ 2023-05-09 13:02 UTC (permalink / raw)
  To: help-gnu-emacs

I wrote two functions which, manually called in a
buffer just set up by message-mode for me to start
typing my message/reply, manipulate the headers of said
message.

ATM I call them in message-send-hook but then I do not
see the result of the manipulations and sometimes I would
like to adjust headers after these functions run.

I did not find a hook for this purpose.  I experimented
with message-signature-setup-hook but then one function
mangles the headers, the other function does nothing,
indicating that the headers are not setup or not
accessible as at the moment the user (I) starts to
type.

Any ideas how to solve this puzzle?



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-10  9:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09 13:02 hook run just in message-mode just before user begins composing/replying? Gregor Zattler
2023-05-09 13:20 ` Tim Landscheidt
2023-05-09 14:03   ` Gregor Zattler
2023-05-09 17:40     ` Eric Abrahamsen
2023-05-10  8:37       ` Gregor Zattler
2023-05-09 18:30     ` Tim Landscheidt
2023-05-10  8:43       ` Gregor Zattler
2023-05-10  8:59         ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-05-10  9:22           ` Gregor Zattler
2023-05-09 13:28 ` Manuel Giraud via Users list for the GNU Emacs text editor

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).