Gnus development mailing list
 help / color / mirror / Atom feed
From: James Thomas <jimjoe@gmx.net>
To: "Bjørn Mork" <bjorn@mork.no>
Cc: ding@gnus.org
Subject: Re: What's the best way to auto-sign some emails but not all?
Date: Mon, 09 Dec 2024 02:33:30 +0530	[thread overview]
Message-ID: <86o71lubtp.fsf@gmx.net> (raw)
In-Reply-To: <8734iy9uo0.fsf@miraculix.mork.no> (=?utf-8?Q?=22Bj=C3=B8rn?= Mork"'s message of "Sun, 08 Dec 2024 14:22:07 +0100")

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.

--


      reply	other threads:[~2024-12-08 21:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 14:49 Bjørn Mork
2024-11-30 18:29 ` Trevor Arjeski
2024-11-30 19:28   ` Bjørn Mork
2024-11-30 20:17     ` Trevor Arjeski
2024-12-02 15:11     ` Bjørn Mork
2024-12-03 10:35       ` Björn Bidar
2024-12-03 11:36         ` Bjørn Mork
2024-12-03 20:38           ` Björn Bidar
2024-12-01  3:58 ` Sean Whitton
2024-12-01 23:04 ` Björn Bidar
2024-12-01 23:43   ` Bob Newell
2024-12-08  5:05 ` James Thomas
2024-12-08 13:22   ` Bjørn Mork
2024-12-08 21:03     ` James Thomas [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o71lubtp.fsf@gmx.net \
    --to=jimjoe@gmx.net \
    --cc=bjorn@mork.no \
    --cc=ding@gnus.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 NNTP newsgroup(s).