From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kenichi Handa <handa@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: request to revert the chnage of revno 112925
Date: Wed, 19 Jun 2013 08:59:24 -0400 [thread overview]
Message-ID: <jwv1u7yl0x6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87k3lql3iy.fsf@gnu.org> (Kenichi Handa's message of "Wed, 19 Jun 2013 20:54:13 +0900")
> So, the above change does not improve the performance that much.
The change was not done for performance reasons.
> In addition, as iso-2022-jp and iso-2022-7bit have been the
> most correctly detected coding systems in any environments,
> there are many packages that uses them for *.el files (at
> least in Japan). Now many of them doesn't work.
Then maybe we should use a new coding-system which does falls back on
iso-2022 if some incorrect utf-8 byte sequence is found?
> In some sence, the above change is a regression because it
> disables Emacs' facility to automatically decode ISO 2022
> based 7-bit encodings, and we should notify users about such
> a change in advance, for instance, by showing warnings by
> byte-compiler for non-UTF-8 and no-coding-tag *.el files for
> a while (perhaps while Emacs' version is 24.*).
I knew that the change was "risky". Admittedly, part of the motivation
was to see how much breakage we'd bump into.
But the core of what I want: make it so that utf-8 Elisp files are
always recognized correctly, even in the absence of a coding: tag, and
regardless of the user's locale.
The way I implemented it broke recognition of iso-2022, but if there;s
some other way that doesn't break it, that's even better.
Stefan
next prev parent reply other threads:[~2013-06-19 12:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 11:54 request to revert the chnage of revno 112925 Kenichi Handa
2013-06-19 12:59 ` Stefan Monnier [this message]
2013-06-19 15:35 ` Kenichi Handa
2013-06-19 16:11 ` Paul Eggert
2013-06-19 20:49 ` Stefan Monnier
2013-06-19 21:15 ` Paul Eggert
2013-06-20 2:09 ` Stefan Monnier
2013-06-21 5:25 ` Achim Gratz
2013-06-21 6:48 ` Stephen J. Turnbull
2013-06-19 16:54 ` Stefan Monnier
2013-06-22 12:36 ` Kenichi Handa
2013-06-22 12:46 ` Eli Zaretskii
2013-06-22 12:54 ` Juanma Barranquero
2013-06-22 15:26 ` Stefan Monnier
2013-06-29 3:50 ` request to revert the change " Kenichi Handa
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=jwv1u7yl0x6.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=handa@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.