Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Danjou <julien@danjou.info>
To: ding@gnus.org
Subject: Re: [PATCH] message-goto-body after <#secure
Date: Wed, 24 Nov 2010 22:20:08 +0100	[thread overview]
Message-ID: <87r5ea2zcn.fsf@keller.adm.naquadah.org> (raw)
In-Reply-To: <m3bp5e5tqm.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 24 Nov 2010 21:53:05 +0100")

<#secure method=pgpmime mode=sign>
On Wed, Nov 24 2010, Lars Magne Ingebrigtsen wrote:

> Actually, I think this is probably the wrong way to do it.  If you want
> to insert <#secure automatically in all your message buffers, you should
> do it after everything is inserted, and not before yanking.

I use this with success:

(defun jd:gnus-secure-message-sign ()
  (when (or (equal gnus-newsgroup-name "")
            (equal gnus-newsgroup-name nil)
            (not (string-match-p "Somestuff" gnus-newsgroup-name)))
    (mml-secure-message-sign-pgpmime)))
;; plug this into message-setup-hook
(add-hook 'gnus-message-setup-hook 'jd:gnus-secure-message-sign)

FWIW.

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info



  reply	other threads:[~2010-11-24 21:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 20:55 Łukasz Stelmach
2010-11-24 17:28 ` Julien Danjou
2010-11-24 20:53 ` Lars Magne Ingebrigtsen
2010-11-24 21:20   ` Julien Danjou [this message]
2010-11-24 23:16     ` Łukasz Stelmach
2010-11-24 23:19       ` Lars Magne Ingebrigtsen

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=87r5ea2zcn.fsf@keller.adm.naquadah.org \
    --to=julien@danjou.info \
    --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).