From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33343 Path: main.gmane.org!not-for-mail From: Jorge Godoy Newsgroups: gmane.emacs.gnus.general Subject: Re: Request: How to PGP/MIME sign by default? Date: 14 Nov 2000 14:07:51 -0200 Organization: Conectiva S.A. / Conectiva Inc. Sender: owner-ding@hpc.uh.edu Message-ID: 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035169469 24644 80.91.224.250 (21 Oct 2002 03:04:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:04:29 +0000 (UTC) Cc: ding@gnus.org 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 45CC3D049A for ; Tue, 14 Nov 2000 11:08:11 -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 KAB19367; Tue, 14 Nov 2000 10:08:01 -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:07:25 -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 KAA25840 for ; Tue, 14 Nov 2000 10:07:15 -0600 (CST) Original-Received: from dagon.conectiva (brutus.conectiva.com.br [200.250.58.146]) by mailhost.sclp.com (Postfix) with ESMTP id 0C8EED049A for ; Tue, 14 Nov 2000 11:07:40 -0500 (EST) Original-Received: by dagon.conectiva (Postfix, from userid 550) id 31E9A201; Tue, 14 Nov 2000 14:07:51 -0200 (EST) Original-To: ShengHuo ZHU X-URL: In-Reply-To: Original-Lines: 39 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:33343 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33343 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. See you, -- Godoy. Departamento de Publicações Conectiva S.A. Publishing Department Conectiva Inc.