From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61898 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: Gnus 5.10.6 problems with PGP/MIME (test cases) Date: Wed, 08 Feb 2006 18:55:40 +0900 Organization: Emacsen advocacy group Message-ID: References: <19643.1137028354@juniper.net> <25107.1137439020@olgas.newt.com> <73630.1137440939@juniper.net> <31430.1137488443@juniper.net> <85906.1137521874@juniper.net> <53032.1137578648@juniper.net> <8b63142a-b090-4783-a3a5-0832d7289f38@well-done.deisui.org> <26653.1139305204@juniper.net> <9bda6607-510b-468c-bd1e-ec9b8865cdd2@well-done.deisui.org> <15566.1139355525@juniper.net> <7334ab51-5c86-4d97-92cb-21f2e7debd8d@well-done.deisui.org> <086fafe1-6999-41f0-8a3d-cf042757aeef@well-done.deisui.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139392720 2273 80.91.229.2 (8 Feb 2006 09:58:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 09:58:40 +0000 (UTC) Cc: "Mark D. Baushke" , ding@gnus.org, mh-e-devel@lists.sourceforge.net Original-X-From: ding-owner+m10427@lists.math.uh.edu Wed Feb 08 10:58:37 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6m5s-0005Mg-BQ for ding-account@gmane.org; Wed, 08 Feb 2006 10:58:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6m5o-0007Kf-00; Wed, 08 Feb 2006 03:58:32 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6m3W-0007Ka-00 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 03:56:10 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1F6m3S-0000VT-I5 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 03:56:09 -0600 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6m3Q-0008QM-00 for ; Wed, 08 Feb 2006 10:56:04 +0100 Original-Received: from [205.234.185.198] (port=40470 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1F6m4q-0005bm-Bn; Wed, 08 Feb 2006 03:57:34 -0600 Original-To: Daiki Ueno X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:g2czxqA5z3jyJ834s5n/bL+VTIM= X-Hashcash: 1:20:060208:ueno@unixuser.org::v2w2m3iHuF4+dU/c:000000000000000000000000000000000000000000003cEk X-Hashcash: 1:20:060208:mdb@gnu.org::Lg635/ssgFgCo3QH:00000002Pl X-Hashcash: 1:20:060208:ding@gnus.org::S+ETMHM3hLcsT71C:00000LDE X-Hashcash: 1:20:060208:mh-e-devel@lists.sourceforge.net::zR3M/40ClzgTe1ml:000000000000000000000000000002yUb X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61898 gmane.mail.mh-e.devel:11605 Archived-At: >>>>> In <086fafe1-6999-41f0-8a3d-cf042757aeef@well-done.deisui.org> >>>>> Daiki Ueno wrote: >>> However, always specifying --textmode might not be a good idea. Because >>> applications other than MUA will need encryption of raw binary data. >> Currently, `pgg-gpg-encrypt-region' doesn't seem to support raw >> binary data because it uses `pgg-as-lbt', which converts LF to >> CRLF. Should it be simply removed? > Just one suggestion: This change breaks API. So it would be safe to > first make sure the caller of pgg-encrypt-region (i.e. Gnus' PGP/MIME > code) supplies input data which have CRLF line endings and then remove > pgg-as-lbt. I see. But it seems to need a great effort, so I'm not quite positive to do that now (that I'm not familiar with PGG is also the reason to say so). Do you have a will to do that? Otherwise, how about doing it after Emacs 22.1 is released? >>> I attach a patch which allows users to select text-mode or binary-mode >>> by setting pgg-text-mode. >>> +(defvar pgg-text-mode nil >>> + "If t, inform the recipient that the input is text.") >> Even if it is useful, may we make it default to t? > Hmm, I feel that it is natural to let the default be the same as GnuPG. You're right. However, Gnus users have been using it only with text for a long time.