Re: What's the best way to auto-sign some emails but not all?
Björn Bidar <[email protected]> Tue, 03 Dec 2024 12:35:55 +0200
| Newsgroups | gmane.emacs.gnus.general |
|---|---|
| Message-ID | <[email protected]> |
Bjørn Mork <[email protected]> writes: > Thanks for all the great ideas. I have realized that there are probably > more ways to do this than there are Gnus users :-) > > The discussion made me look closer at the code in question, which I > should have done in the first place. And I believe my problem is that > there are no hooks in the appropriate places. Yanking the original > message happens very late, long after message-setup is finished. > > Most of the suggestions depend on message-setup-hook in some way, making > them work and fail similar to my existing gnus-posting-styles setup. One > exception is gnus-alias which AFAIU can apply a new identity to an > existing message buffer. But that's an interactive choice, which is > what I'm trying to avoid. That is not true. gnus-alias has rules which make it possible to automatically apply an identity. Check C-h v gnus-alias-identity-rules RET. Message-signature manual or automatically should also take into account a yanked article AFAIU.