all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: David Kuehling <dvdkhlng@gmx.de>,
	rms@gnu.org, emacs-devel@gnu.org, pmr@pajato.com
Subject: Re: RMAIL bails out with coding-system-error
Date: Sun, 5 May 2002 16:45:31 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020505163538.25147B-100000@is> (raw)
In-Reply-To: <ilud6wa7sdd.fsf@extundo.com>


On Sun, 5 May 2002, Simon Josefsson wrote:

> Is this X-Coding-System header actually used by RMAIL for anything?

Yes, it is used to set the value of buffer-file-coding-system when you 
read the same message later.  Without this, RMAIL would have to 
repeatedly decode messages each time you display it; this would be a 
nuisance with long messages.

In addition, recording an encoding allows features like 
rmail-redecode-body, that lets users override bogus MIME headers.

> I think the header is a very bad idea and it should be removed.  There
> is a standard for interchanging non-ASCII data using email, and it is
> called MIME.  Inventing something new that is specific to emacs (and
> can even depend on which additional packages are installed..) is a
> perfect method to cause problems for users and make people reject the
> entire software because it doesn't follow standards.

IIRC, the X-Coding-System header is only written to the BABYL-formatted 
files Emacs keeps for itself, and then only in the summary part.  What 
kinds of problems do you envision with this, given that headers beginning 
with "X-" can be used by applications for their own purposes?

However, I'm not saying that this is the only possible way of recording 
the message encoding.  If there are more standard methods that can 
support the same features, we could consider switching to them.

> Gnus provides
> two supposedly standalone packages called Message and Emacs MIME which
> provides MIME encoding and decoding, can't RMAIL use them?

The difference between RMAIL and Gnus is that RMAIL stores only the 
decoded messages.  It doesn't keep the undecoded copy around.  But I 
don't know if this should prevent the change of the kind you suggest.

  reply	other threads:[~2002-05-05 13:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-04 11:37 RMAIL bails out with coding-system-error David Kuehling
2002-05-05  5:34 ` Richard Stallman
2002-05-05 10:57   ` David Kuehling
2002-05-05 11:21     ` Simon Josefsson
2002-05-05 13:45       ` Eli Zaretskii [this message]
2002-05-05 15:11         ` Simon Josefsson
2002-05-05 17:26           ` Eli Zaretskii
2002-05-06  9:29             ` Kai Großjohann
2002-05-05 13:35     ` Eli Zaretskii

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=Pine.SUN.3.91.1020505163538.25147B-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=dvdkhlng@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=pmr@pajato.com \
    --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.