From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61897 Path: news.gmane.org!not-for-mail From: Daiki Ueno 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:06:10 +0900 Message-ID: <086fafe1-6999-41f0-8a3d-cf042757aeef@well-done.deisui.org> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1139389612 24739 80.91.229.2 (8 Feb 2006 09:06:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 09:06:52 +0000 (UTC) Cc: "Mark D. Baushke" , ding@gnus.org, mh-e-devel@lists.sourceforge.net Original-X-From: ding-owner+m10426@lists.math.uh.edu Wed Feb 08 10:06:42 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 1F6lHT-0003Y7-BS for ding-account@gmane.org; Wed, 08 Feb 2006 10:06:31 +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 1F6lHP-0007DT-00; Wed, 08 Feb 2006 03:06:27 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6lHF-0007DO-00 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 03:06:17 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1F6lHD-00051z-TD for ding@lists.math.uh.edu; Wed, 08 Feb 2006 03:06:17 -0600 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=well-done.deisui.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6lHB-0007lU-00 for ; Wed, 08 Feb 2006 10:06:13 +0100 Original-Received: from [150.82.173.221] (helo=well-done.deisui.org) by well-done.deisui.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1F6lHB-00069F-H2; Wed, 08 Feb 2006 18:06:13 +0900 Original-To: Katsumi Yamaoka X-Attribution: DU In-Reply-To: (Katsumi Yamaoka's message of "Wed, 08 Feb 2006 17:30:40 +0900") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 17) (Jumbo Shrimp) (i686-pc-linux) X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61897 gmane.mail.mh-e.devel:11604 Archived-At: >>>>> In >>>>> Katsumi Yamaoka 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 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. Regards, -- Daiki Ueno