From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33344 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:39:43 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <5bitpqh5io.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 1035169470 24653 80.91.224.250 (21 Oct 2002 03:04:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:04:30 +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 73F92D049A for ; Tue, 14 Nov 2000 11:40:23 -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 KAB20198; Tue, 14 Nov 2000 10:40:13 -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:38 -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 KAA26057 for ; Tue, 14 Nov 2000 10:39:27 -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 058D4D049A for ; Tue, 14 Nov 2000 11:39:45 -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 LAA25659 for ; Tue, 14 Nov 2000 11:39:44 -0500 (EST) Original-Received: (from zsh@localhost) by lapwing.cs.rochester.edu (8.9.1b+Sun/Q++) id LAA09619; Tue, 14 Nov 2000 11:39:43 -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 In-Reply-To: Original-Lines: 37 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:33344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33344 Jorge Godoy writes: > Oops! I think I've hit a bug! > > On 14 Nov 2000, godoy@conectiva.com wrote: > > (SNIP) > > > 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... > > As you could see, the message was signed whenever the "part" or > "multipart" string was found. Isn't it in any RFC or other place a > definition that it should be on the beginning of the line, with no > spaces, or chars before it? If it isn't I'm proposing that this mime > signing stuff only be used with (no # to not trigger > anything) and in the beginning of the line. It is MML, not RFC. To send <#part, you should type <#!part; to send <#!part, type <#!!part. ShengHuo