From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33345 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: 14 Nov 2000 11:40:06 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <5bd7fyh5i1.fsf@lapwing.cs.rochester.edu> References: <87n1f3pfsl.fsf@hal.olympus.fake> <2naeb3p7as.fsf@tiger.jia.vnet> <87g0kuhi8j.fsf@hal.olympus.fake> <2n7l66wty5.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169471 24654 80.91.224.250 (21 Oct 2002 03:04:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:04:31 +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 266ACD049A for ; Tue, 14 Nov 2000 11:40:35 -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 KAB20251; Tue, 14 Nov 2000 10:40:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 14 Nov 2000 10:39:51 -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 KAA26071 for ; Tue, 14 Nov 2000 10:39:40 -0600 (CST) Original-Received: from gate.cs.rochester.edu (gate.cs.rochester.edu [192.5.53.207]) by mailhost.sclp.com (Postfix) with ESMTP id 3DF66D049A for ; Tue, 14 Nov 2000 11:40:07 -0500 (EST) Original-Received: from lapwing.cs.rochester.edu (lapwing.cs.rochester.edu [192.5.53.20]) by gate.cs.rochester.edu (8.8.8+Sun/T--) with ESMTP id LAA25682 for ; Tue, 14 Nov 2000 11:40:06 -0500 (EST) Original-Received: (from zsh@localhost) by lapwing.cs.rochester.edu (8.9.1b+Sun/Q++) id LAA09624; Tue, 14 Nov 2000 11:40:06 -0500 (EST) 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 Original-Lines: 48 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33345 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33345 Jorge Godoy writes: > On 14 Nov 2000, zsh@cs.rochester.edu wrote: > > "Davide G. M. Salvetti" writes: > > > >> Now I'd have a little wishlist: one may sign one or more parts of a > >> multipart message individually; could Gnus tell the user which > >> parts of a multipart message are actually signed, instead of just > >> displaying a single [[PGP Signed: OK]] for the whole message? > > > > It is not for the whole message, but one button for a signed part > > (maybe multipart). The buttons are displayed at the beginning of the > > signed (or encrypted) parts. So, what you wish to know is just the > > end positions. Two possible solutions, > > > > 1. display buttons like [[The End of PGP Signed]]; > > or > > 2. a command like show-the-end-of-the-signed-part. > > > > Any better idea? > > The button is better, IMHO. > > It's easier to see what's signed and what isn't. I just fell there would be too many buttons. > BTW, with the hack you've made to sign messages by default, you you > type in the key wrong and want to send the message again ('C-c C-c', > by default) you'll get a "multipart sign=pgpmime" before the "part > sign=pgpmime" you've just added. Is there any way to prevent that? > Maybe changing this part of the function > > (re-search-forward > "<#\\(/\\)?\\(multipart\\|part\\|external\\|mml\\)." nil t)) > (insert " > \n") > (insert " > \n"))) > > > to not add a " > " if it finds a "<#part > sign=pgpmime>" indication... You can change it as you like. It is not a part of Gnus. ShengHuo