Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Shields <shields@msrl.com>
Cc: ding@hpc.uh.edu
Subject: Re: Lambda functions in group parameters?
Date: Wed, 16 Apr 2003 04:32:36 +0000	[thread overview]
Message-ID: <87ptnn6p0b.fsf@mulligatwani.msrl.com> (raw)
In-Reply-To: <87y92bgmti.fsf@pooh.honeypot.net> (Kirk Strauser's message of "Tue, 15 Apr 2003 22:09:45 -0500")

In article <87y92bgmti.fsf@pooh.honeypot.net>,
Kirk Strauser <kirk@strauser.com> wrote:
> I'm trying to get Gnus to use per-group values for gnus-message-setup-hook
> (mainly so that I can use the mml-secure-message-sign-pgpmime function to
> sign email, and the mml-secure-message-sign-pgp function to sign news).

Why not:

    (add-hook 'gnus-message-setup-hook
              (lambda ()
                (if (message-news-p)
                   (mml-secure-message-sign-pgp)
                 (mml-secure-message-sign-pgpmime))))
-- 
Shields.




  reply	other threads:[~2003-04-16  4:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16  3:09 Kirk Strauser
2003-04-16  4:32 ` Michael Shields [this message]
2003-04-16 15:00   ` Kirk Strauser

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=87ptnn6p0b.fsf@mulligatwani.msrl.com \
    --to=shields@msrl.com \
    --cc=ding@hpc.uh.edu \
    /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).