From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: timh@insightful.com, emacs-devel@gnu.org
Subject: Re: X-coding-system incompatibility, and workaround
Date: Sat, 10 Nov 2007 13:25:06 +0200 [thread overview]
Message-ID: <ulk96pckt.fsf@gnu.org> (raw)
In-Reply-To: <E1IqgZv-0003ZD-KS@fencepost.gnu.org> (message from Richard Stallman on Fri, 09 Nov 2007 22:00:11 -0500)
> From: Richard Stallman <rms@gnu.org>
> Date: Fri, 09 Nov 2007 22:00:11 -0500
> Cc: emacs-devel@gnu.org
>
> Could you modify future versions of emacs to try to avoid using
> coding systems that are not defined on earlier versions?
>
> I don't know if this is possible. To think about the question
> we would need to figure out WHY it uses those coding systems.
Rmail uses these coding systems because the Babyl mail file requests
them in the X-coding-system header. This header is generated by Rmail
when it decodes the mail message for the first time. Thus, the value
of the header is very tightly coupled with which coding-systems are
supported by Emacs that produced the Babyl file.
I don't see how this can be solved: as Emacs is developed, support for
new encodings is added to it, and it doesn't make sense to limit such
development for a marginal situation such as this one (sharing the
same mail file between two different versions of Emacs).
As a workaround, I can suggest to run unrmail on the Babyl file in the
Emacs that wrote it, and then run Rmail on the result in the other
version of Emacs (that is, share the mail file in the mbox format).
That is, if the workarounds the OP already discovered (which are
perfectly valid, btw) are inconvenient for some reason.
Btw, for windows-1252-unix, you need to make it an alias to Latin-1.
next prev parent reply other threads:[~2007-11-10 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 19:07 X-coding-system incompatibility, and workaround Tim Hesterberg
2007-11-10 3:00 ` Richard Stallman
2007-11-10 11:25 ` Eli Zaretskii [this message]
2007-11-11 5:21 ` Richard Stallman
2007-11-12 23:00 ` Tim Hesterberg
2007-11-13 20:02 ` Richard Stallman
2007-11-12 22:43 ` Tim Hesterberg
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=ulk96pckt.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=timh@insightful.com \
/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.