From: Daiki Ueno <ueno@unixuser.org>
Cc: ding@gnus.org, mh-e-devel@lists.sourceforge.net
Subject: Re: Gnus 5.10.6 problems with PGP/MIME (test cases)
Date: Thu, 09 Feb 2006 14:24:55 +0900 [thread overview]
Message-ID: <82f83936-8fb8-44a4-bb15-949ca44b6e72@well-done.deisui.org> (raw)
In-Reply-To: Mark D. Baushke's message of "Wed, 08 Feb 2006 07:27:49 -0800"
>>>>> In <89375.1139412469@juniper.net>
>>>>> "Mark D. Baushke" <mdb@gnu.org> wrote:
> > > 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.
> Doing this means that you should add the --textmode switch as the line
> endings would now be CRLF rather than being the native line ending that
> GnuPG would be expecting.
I forgot this effect of --textmode. Then, no API compatibility issue
should arise as long as pgg-text-mode is set properly. The attached
patch should be sufficient for Gnus.
> If you need to force CRLF or use pgg-as-lbt on the region,
pgg-as-lbt is just redundant since there is no application which
requires implicit conversion of line-endings to CRLF _and_ to mark the
data as binary.
>>>>> In <b4mzml2fa3n.fsf@jpl.org>
>>>>> Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> >>> 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.
Gnus users? People who would become happy with enabling pgg-text-mode
by default are not Gnus users but (only a few) Gnus developers. If a
Gnus developer properly set pgg-text-mode in his code, Gnus users need
not be aware of it.
So, I think it is not worth changing it.
next prev parent reply other threads:[~2006-02-09 5:24 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-12 1:12 Mark D. Baushke
2006-01-13 23:24 ` Reiner Steib
2006-01-14 2:58 ` Mark D. Baushke
2006-01-14 14:58 ` Katsumi Yamaoka
2006-01-16 0:39 ` Katsumi Yamaoka
2006-01-16 6:36 ` Mark D. Baushke
2006-01-16 7:58 ` Katsumi Yamaoka
2006-01-16 8:41 ` Katsumi Yamaoka
2006-01-16 9:00 ` Katsumi Yamaoka
2006-01-16 19:17 ` Bill Wohler
2006-01-16 19:48 ` Mark D. Baushke
2006-01-17 7:35 ` Katsumi Yamaoka
2006-01-17 9:00 ` Mark D. Baushke
2006-01-17 10:53 ` Katsumi Yamaoka
2006-01-17 18:17 ` Mark D. Baushke
2006-01-18 5:33 ` Katsumi Yamaoka
2006-01-18 10:04 ` Mark D. Baushke
2006-01-18 12:40 ` Katsumi Yamaoka
2006-01-18 17:25 ` Mark D. Baushke
2006-01-18 17:29 ` Mark D. Baushke
2006-01-19 6:01 ` Katsumi Yamaoka
2006-01-19 9:13 ` Mark D. Baushke
2006-01-19 6:01 ` Synch of PGG (was Re: Gnus 5.10.6 problems with PGP/MIME (test cases)) Katsumi Yamaoka
2006-01-19 11:53 ` Synch of PGG Katsumi Yamaoka
2006-01-19 13:01 ` Simon Josefsson
2006-01-19 13:38 ` Reiner Steib
2006-01-19 13:47 ` Miles Bader
2006-01-19 14:48 ` Katsumi Yamaoka
2006-02-07 4:53 ` Gnus 5.10.6 problems with PGP/MIME (test cases) Daiki Ueno
2006-02-07 7:12 ` Mark D. Baushke
2006-02-07 7:46 ` Katsumi Yamaoka
2006-02-07 8:57 ` Daiki Ueno
2006-02-07 9:40 ` Mark D. Baushke
[not found] ` <9bda6607-510b-468c-bd1e-ec9b8865cdd2@well-done.deisui.org>
[not found] ` <15566.1139355525@juniper.net>
2006-02-08 8:09 ` Daiki Ueno
2006-02-08 8:30 ` Katsumi Yamaoka
2006-02-08 9:06 ` Daiki Ueno
2006-02-08 9:55 ` Katsumi Yamaoka
2006-02-09 5:24 ` Daiki Ueno [this message]
2006-02-09 5:29 ` Daiki Ueno
2006-02-09 5:48 ` Katsumi Yamaoka
2006-02-09 6:40 ` Mark D. Baushke
2006-02-09 6:44 ` Mark D. Baushke
2006-02-09 7:31 ` Katsumi Yamaoka
2006-02-09 7:42 ` Mark D. Baushke
[not found] ` <82857.1139467447-3r7Miqu9kMnR7s880joybQ@public.gmane.org>
2006-02-09 8:27 ` refered article lookup (was: Gnus 5.10.6 problems with PGP/MIME (test cases)) Jochen Küpper
2006-02-09 9:19 ` refered article lookup Katsumi Yamaoka
2006-02-08 15:27 ` Gnus 5.10.6 problems with PGP/MIME (test cases) Mark D. Baushke
2006-02-07 10:02 ` Katsumi Yamaoka
2006-02-07 23:40 ` Daiki Ueno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82f83936-8fb8-44a4-bb15-949ca44b6e72@well-done.deisui.org \
--to=ueno@unixuser.org \
--cc=ding@gnus.org \
--cc=mh-e-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).