From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51519 Path: main.gmane.org!not-for-mail From: Michael Shields Newsgroups: gmane.emacs.gnus.general Subject: Re: Lambda functions in group parameters? Date: Wed, 16 Apr 2003 04:32:36 +0000 Organization: Mad Science Research Labs Sender: ding-owner@lists.math.uh.edu Message-ID: <87ptnn6p0b.fsf@mulligatwani.msrl.com> References: <87y92bgmti.fsf@pooh.honeypot.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050467530 24382 80.91.224.249 (16 Apr 2003 04:32:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 04:32:10 +0000 (UTC) Cc: ding@hpc.uh.edu Original-X-From: ding-owner+M63@lists.math.uh.edu Wed Apr 16 06:32:08 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195ead-0006L0-00 for ; Wed, 16 Apr 2003 06:32:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 195ebE-0006iw-00; Tue, 15 Apr 2003 23:32:44 -0500 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=root) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 195ebA-0006ir-00 for ding@lists.math.uh.edu; Tue, 15 Apr 2003 23:32:40 -0500 Original-Received: from challah.msrl.com (challah.msrl.com [198.137.194.222]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id XAA26690 for ; Tue, 15 Apr 2003 23:33:47 -0500 (CDT) Original-Received: (qmail 13899 invoked from network); 16 Apr 2003 04:32:37 -0000 Original-Received: from localhost (HELO mulligatwani.msrl.com) (127.0.0.1) by localhost with SMTP; 16 Apr 2003 04:32:37 -0000 Original-To: Kirk Strauser In-Reply-To: <87y92bgmti.fsf@pooh.honeypot.net> (Kirk Strauser's message of "Tue, 15 Apr 2003 22:09:45 -0500") Original-Lines: 15 User-Agent: Gnus/5.090019 (Oort Gnus v0.19) XEmacs/21.4 (Portable Code, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51519 In article <87y92bgmti.fsf@pooh.honeypot.net>, Kirk Strauser 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.