Gnus development mailing list
 help / color / mirror / Atom feed
From: Arcady Genkin <agenkin@thpoon.com>
Subject: Re: PGP/MIME signing messages by default
Date: Wed, 27 Nov 2002 11:57:50 -0500	[thread overview]
Message-ID: <uobs4bosq9.fsf@bashful.cdf.toronto.edu> (raw)
In-Reply-To: <vqon0nvqvn4.fsf@astazou.imag.fr> (Nicolas Kowalski's message of "Wed, 27 Nov 2002 09:11:59 +0100")

Nicolas Kowalski <Nicolas.Kowalski@imag.fr> writes:

> ;; plug this into message-setup-hook
> (add-hook 'message-setup-hook 'my-mml-secure-message-sign)

I have simplified your suggestion to the following:

   (add-hook 'message-setup-hook 'mml-secure-message-sign-pgpmime)

This only works for new messages, however.  It looks like Gnus expects
to find the markup "<#secure method=pgpmime mode=sign>" as the first
line of the message, or else it is ignored...

I guess I can write another function that would save cursor position,
go to the top of the message, invoke `mml-secure-message-sign-pgpmime'
and return to the initial position, but I am thinking that there
must be a cleaner, cannonical way of making this work.

Thanks for your reply,
-- 
Arcady Genkin

guilt is the cause of more disauders
than history's most obscene marorders (E.E. Cummings)



      reply	other threads:[~2002-11-27 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-27  3:09 Arcady Genkin
2002-11-27  8:11 ` Nicolas Kowalski
2002-11-27 16:57   ` Arcady Genkin [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=uobs4bosq9.fsf@bashful.cdf.toronto.edu \
    --to=agenkin@thpoon.com \
    /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).