all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: improve rmail's MIME handling
Date: Fri, 26 Nov 2010 20:34:06 +0900	[thread overview]
Message-ID: <tl7y68gqpxt.fsf@m17n.org> (raw)
In-Reply-To: <83r5e874ab.fsf@gnu.org> (message from Eli Zaretskii on Fri, 26 Nov 2010 12:44:28 +0200)

In article <83r5e874ab.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:

> > Now the default value of rmail-enable-mime is t, and thus a MIME
> > message is properly decoded in RMAIL buffer automatically.

> Why is this a good idea, especially on the Emacs 23 branch, in the
> middle of a pretest?

I interpreted Stefan and Yidong's "go ahead" as so.

> Previously, Rmail would never do anything with
> attachments without my say-so, and thus was one of the safest MUAs on
> Earth.  Why change that now?

Rmail still does nothing non-safe thing with attachments.  It
just shows you something like this line (with proper buttons):

Attached image/jpeg file: temp.jpg (281kB) Display

instead of showing something like this raw base64 data:

Content-Type: image/jpeg
Content-Disposition: attachment; filename=temp.jpg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsK
CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/wAALCAO3AqgBAREA/8QAHwAAAQUBAQEB
AQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1Fh
....

And, a text content is of course decoded properly, but it
had been decoded anyway.  The difference is that, with the
new code, text contents in multipart (and encoded-words in
headers) are also decoded correctly.

> Of course, if other Rmail users think we should make it t by default,
> I can always customize it back, so if I'm the only one who cares,
> let's leave it at t.

I vote for `t', but of course I follow the opinion of the
majority.

---
Kenichi Handa
handa@m17n.org



  reply	other threads:[~2010-11-26 11:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12 12:28 improve rmail's MIME handling Kenichi Handa
2010-11-12 12:39 ` Andreas Schwab
2010-11-12 14:39 ` Stefan Monnier
2010-11-26  4:24   ` Kenichi Handa
2010-11-26 10:44     ` Eli Zaretskii
2010-11-26 11:34       ` Kenichi Handa [this message]
2010-11-26 14:41       ` Stefan Monnier
2010-11-26 14:46         ` Lars Magne Ingebrigtsen
2010-11-26 18:30           ` Stefan Monnier
2010-11-29  0:59         ` Kenichi Handa
2010-11-29  3:24           ` Bob Rogers
2010-11-29  6:38             ` Kenichi Handa
2010-11-30  6:21               ` Bob Rogers
2010-11-29  3:58           ` Eli Zaretskii
2010-11-29 20:43             ` Richard Stallman
2010-11-30  3:14               ` Stephen J. Turnbull
2010-12-01 13:10                 ` Richard Stallman
2010-12-02  0:04                   ` Stephen J. Turnbull
2010-12-03  4:32                     ` Richard Stallman
2010-12-01 13:10                 ` Richard Stallman
2010-12-02  0:05                   ` Stephen J. Turnbull
2010-12-02  4:19                   ` PJ Weisberg
2010-12-02  4:50                     ` Glenn Morris
2010-12-02  7:07                       ` Stephen J. Turnbull
2010-12-05 15:57                     ` Richard Stallman
2010-11-13 16:33 ` Chong Yidong

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=tl7y68gqpxt.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.