all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@gnu.org>
To: emacs-devel@gnu.org
Subject: request to revert the chnage of revno 112925
Date: Wed, 19 Jun 2013 20:54:13 +0900	[thread overview]
Message-ID: <87k3lql3iy.fsf@gnu.org> (raw)

I'd like to revert the following change (revno 112925):

2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* international/mule-conf.el (file-coding-system-alist): Use utf-8 as
	default for Elisp files.

By my recent changes for tuning up ASCII and UTF-8 file
reading, the speed for reading a UTF-8 file is almost the
same in the following cases:

* the file has coding: utf-8; tag
* find-operation-coding-system returns utf-8 for the file
  (the current case of *.el files)
* the file has no coding tag and utf-8 is the most preferred
  coding system
* the file has no coding tag and utf-8 is the most preferred
  coding system among 8-bit encoding (which means that such
  7-bit coding systems as iso-2022-jp may be more preferred)

So, the above change does not improve the performance that
much.

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.

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.*).

---
Kenichi Handa
handa@gnu.org




             reply	other threads:[~2013-06-19 11:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19 11:54 Kenichi Handa [this message]
2013-06-19 12:59 ` request to revert the chnage of revno 112925 Stefan Monnier
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=87k3lql3iy.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=emacs-devel@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.