all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: Eli Zaretskii <eliz@gnu.org>,
	handa@m17n.org, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: improve rmail's MIME handling
Date: Tue, 30 Nov 2010 12:14:12 +0900	[thread overview]
Message-ID: <87eia35wqj.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1PNAYx-0003UZ-5k@fencepost.gnu.org>

Richard Stallman writes:

 > It's ok to enable mime handling in Rmail by default if it is done in a
 > convenient way.  A convenient way is one that helps without forcing
 > itself on you, without switching buffers unless you request it.

I hope it's OK to create a presentation buffer for the current
message.

 > It has to let you read textual attachments in the message
 > buffer itself.

For text/plain and text/richtext, VM does this by default without
problem (modulo doing it in a presentation buffer rather than in the
original message buffer).

This may be hard for text/html, at least if you get mail from people
using non-Emacs MUAs.  There's good reason why people push HTML mail
out to specialized browsers.

 > It should not try to decode the non-textual attachments until you ask
 > for specific ones.

By popular demand, VM switched from that approach to decoding images
by default.  Of course this can be switched off, and the list of MIME
media types to automatically display is configurable.  The point: if
RMail is going to continue to be the preferred MUA of a tiny minority,
switched off by default is probably OK.  But if the intent is to make
Rmail attractive to average users, you'd better poll users on this.

 > I would suggest making the non-textual attachments invisible, showing
 > only their header lines.

It's better to have a single summary line.  The header lines of body
parts are often complex and uninformative (eg, the media subtypes and
content-type parameters rarely matter except to the decoding
programs).  Users want to know media type, file name, and content
description, which should easily be abstracted into 10 + 20 + 40 = 70
columns in most cases.

More important is checks that file name extensions match media type,
and that magic numbers match media type (usually the underlying
library gets that right, but sometimes not, and Emacs does implement
some types in Lisp).  Those are not easy for users to do.

 > If you want to see the contents of one, you type v on it.

Yep, that's the VM model, except that the default action (often but by
no means always = view) is activated by RET, and $ is a prefix key
that introduces bindings for alternative actions (including view, save
(which may have multiple variants, eg, for message/rfc822 parts or for
application/* parts with multiple decoder implementations), and
sometimes others).



  reply	other threads:[~2010-11-30  3:14 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
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 [this message]
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=87eia35wqj.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=rms@gnu.org \
    /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.