From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33337 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Request: How to PGP/MIME sign by default? Date: 13 Nov 2000 22:21:47 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2naeb3p7as.fsf@tiger.jia.vnet> References: <87n1f3pfsl.fsf@hal.olympus.fake> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169465 24624 80.91.224.250 (21 Oct 2002 03:04:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:04:25 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 1148DD049A for ; Mon, 13 Nov 2000 22:22:26 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB14333; Mon, 13 Nov 2000 21:21:56 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Nov 2000 21:21:12 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA21364 for ; Mon, 13 Nov 2000 21:21:02 -0600 (CST) Original-Received: from zsh.2y.net (d185fc155.rochester.rr.com [24.95.193.85]) by mailhost.sclp.com (Postfix) with ESMTP id 98F3CD049A for ; Mon, 13 Nov 2000 22:21:24 -0500 (EST) Original-Received: (from zsh@localhost) by zsh.2y.net (8.10.0/8.10.0) id eAE3LlA06317; Mon, 13 Nov 2000 22:21:47 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: <87n1f3pfsl.fsf@hal.olympus.fake> Original-Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33337 "Davide G. M. Salvetti" writes: > Hi, > > anybody knows how to sign every outgoing mail by default (with PGP and > MIME)? > > I mean, automatically sign every part of a (possible) multipart MIME > message. Check out the latest CVS Gnus, and try the following code. (defun zsh/mml-pgp-sign-automatically () (interactive) (message-goto-body) (if (save-excursion (re-search-forward "<#\\(/\\)?\\(multipart\\|part\\|external\\|mml\\)." nil t)) (insert "<#multipart sign=pgpmime>\n") (insert "<#part sign=pgpmime>\n"))) (add-hook 'message-send-hook 'zsh/mml-pgp-sign-automatically) ShengHuo