From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49202 Path: main.gmane.org!not-for-mail From: Raja R Harinath Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting started with gpg.el Date: Mon, 13 Jan 2003 18:53:33 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87el7kedox.fsf@pooh.honeypot.net> <874r8gazjy.fsf@graaff.xs4all.nl> <87u1gcvg8y.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 1042505590 25865 80.91.224.249 (14 Jan 2003 00:53:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2003 00:53:10 +0000 (UTC) Cc: ding@hpc.uh.edu 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 18YFKH-0006j2-00 for ; Tue, 14 Jan 2003 01:53:09 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18YFL0-0005Gf-00; Mon, 13 Jan 2003 18:53:54 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Jan 2003 18:54:51 -0600 (CST) Original-Received: from mail.cs.umn.edu (mail.cs.umn.edu [128.101.33.102]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id SAA03572 for ; Mon, 13 Jan 2003 18:54:40 -0600 (CST) Original-Received: from bose.cs.umn.edu (bose.cs.umn.edu [128.101.35.195]) by mail.cs.umn.edu (Postfix) with ESMTP id 94AE211359; Mon, 13 Jan 2003 18:53:39 -0600 (CST) Original-Received: by bose.cs.umn.edu (Postfix, from userid 818) id 0C8233269; Mon, 13 Jan 2003 18:53:33 -0600 (CST) Original-To: Kirk Strauser In-Reply-To: <87u1gcvg8y.fsf@pooh.honeypot.net> (Kirk Strauser's message of "Mon, 13 Jan 2003 16:26:05 -0600") User-Agent: Gnus/5.090012 (Oort Gnus v0.12) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49202 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49202 Kirk Strauser writes: [snip] > I've been thinking that it would be nice to configure this per-group. What > I'd like to do is set a variable in topic parameter or group parameters that > would contain the name of hooks to handle within only the specified groups. > I don't know enough list to make it happen, but it would be along the lines > of: > > In .gnus: > > (add-hook 'gnus-message-setup-hook late-bound-variable-with-hook-name) Totally untested. (add-hook 'gnus-message-setup-hook (lambda () (interactive) (and late-bound-variable-with-hook-name (funcall late-bound-variable-with-hook-name)))) > In topic parameters: > > (late-bound-variable-with-hook-name . "mml-secure-message-sign-pgpmime") Try (late-bound-variable-with-hook-name . 'mml-secure-message-sign-pgpmime) - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu