Re: What's the best way to auto-sign some emails but not all?

James Thomas <[email protected]> Mon, 09 Dec 2024 02:33:30 +0530
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
Bjørn Mork wrote:

> James Thomas writes:
>
>> This seems to work:
>>
>> (setq gnus-posting-styles
>>       '((t
>> 	 (eval (setq-local message-cite-reply-position 'above))
>> 	 (body "<#secure method=pgpmime mode=sign>"))))
>
> Sort of.  But it also places the signature (i.e. the "-- \n" etc, not
> the pgp signature) above the quoted text.  But that might be controlled
> by some other variable?
>
> Works pretty well if combined with
>
> 	(signature nil))
>
> Still adds an unwanted empty line above "foo writes:"

Have you seen (info "(message) Insertion Variables")? There's a lot of
stuff in there.

--