From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49197 Path: main.gmane.org!not-for-mail From: Kirk Strauser Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting started with gpg.el Date: Mon, 13 Jan 2003 16:26:05 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <87u1gcvg8y.fsf@pooh.honeypot.net> References: <87el7kedox.fsf@pooh.honeypot.net> <874r8gazjy.fsf@graaff.xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: main.gmane.org 1042496845 23299 80.91.224.249 (13 Jan 2003 22:27:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 22:27:25 +0000 (UTC) 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 18YD3D-00063e-00 for ; Mon, 13 Jan 2003 23:27:23 +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 18YD2P-0004Gn-00; Mon, 13 Jan 2003 16:26:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Jan 2003 16:27:29 -0600 (CST) Original-Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA03292 for ; Mon, 13 Jan 2003 16:27:17 -0600 (CST) Original-Received: from pooh.honeypot.net (pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.6/8.12.6) with ESMTP id h0DMQBJF045860 for ; Mon, 13 Jan 2003 16:26:11 -0600 (CST) (envelope-from kirk@strauser.com) Original-Received: from pooh.honeypot.net (localhost [127.0.0.1]) by pooh.honeypot.net (8.12.7/8.12.7/Debian-2) with ESMTP id h0DMQAZI005786 for ; Mon, 13 Jan 2003 16:26:10 -0600 Original-Received: (from kirk@localhost) by pooh.honeypot.net (8.12.7/8.12.7/Debian-2) id h0DMQAbi005784; Mon, 13 Jan 2003 16:26:10 -0600 X-Authentication-Warning: pooh.honeypot.net: kirk set sender to kirk@strauser.com using -f Original-To: ding@hpc.uh.edu In-Reply-To: <874r8gazjy.fsf@graaff.xs4all.nl> (Hans de Graaff's message of "Sat, 11 Jan 2003 08:57:53 +0100") Original-Lines: 37 X-Mailer: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49197 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-01-11T07:57:53Z, Hans de Graaff writes: > On Fri, 10 Jan 2003, Kirk Strauser wrote: > (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgpmime) > > Works for me. Hans, 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) In topic parameters: (late-bound-variable-with-hook-name . "mml-secure-message-sign-pgpmime") In group parameters where no signing is desirable: (late-bound-variable-with-hook-name . nil) I realize that it's very easy to delete the "<#secure method..." line when signing isn't desireable, but what good is Gnus if you have to do anything manually? :) =2D-=20 Kirk Strauser In Googlis non est, ergo non est. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+Iz0C5sRg+Y0CpvERAuM6AKCRbEsaoKQbFDKOfrE97XaUJsfh8QCgltc6 eQKxEE2pQ5IS60xgfByG+Ic= =sGg/ -----END PGP SIGNATURE----- --=-=-=--