From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23886 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: MIME-PGP Date: 06 Jul 1999 05:34:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161537 5598 80.91.224.250 (21 Oct 2002 00:52:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:52:17 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA25534 for ; Tue, 6 Jul 1999 00:00:57 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB10088; Mon, 5 Jul 1999 22:57:13 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Jul 1999 22:57:47 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id WAA16027 for ; Mon, 5 Jul 1999 22:56:31 -0500 (CDT) Original-Received: from quimbies.gnus.org (bang.netfonds.no [195.1.89.231]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA25275 for ; Mon, 5 Jul 1999 23:55:26 -0400 (EDT) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id GAA07226; Tue, 6 Jul 1999 06:07:25 +0200 Mail-Copies-To: never X-Now-Reading: Bryan Cholfin (ed.)'s _The Best of Crank!_ X-Now-Playing: Nick Drake's _Tanworth-in-Arden_: "Winter Is gone" Original-To: ding@gnus.org In-Reply-To: Florian Weimer's message of "04 Jul 1999 21:20:39 +0200" User-Agent: Gnus/5.070092 (Pterodactyl Gnus v0.92) XEmacs/21.2 (Sumida) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > - encoding: provide a hook which allows to generate MIME multiparts > based on the encoded version of the contained parts. This means that > you can write (had to fake it a bit, so that Gnus groks it ;): > > | <# multipart type=signed> > | This is a signed multipart. > | <# part type="text/plain" filename="~/file2" > | disposition=attachment description="signed attachment"> > | <# /part> > | <# /multipart> > > ...and Gnus will do the necessary work automatically when you send > the message. This sounds good. > - decoding: do all verification and decryption during the dissection > phase (don't defer it until the article is actually displayed; an > appropriate hook is required, of course). This doesn't, really. For instance, I would guess most users will want to see the message whether it can be verified or not, and there should be some user interface thing to the verification. For decoding, the user may have to type in a password or the like, and that can't take place during dissection, since that's supposed to happen at a very low level. > > Well, why not just quote the "\nFrom " lines before calling the > > qp-encode function? It seems like a cleaner way to do this. > > Eh, I don't see how this could work. If a s/^From /From=20/ is done > before qp-encode is called, wouldn't this result in `From=3D20'? Yes. So quote the "\nFrom " lines after encoding, then. :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen