From: Karl Eichwalder <keichwa@gmx.net>
Cc: handa@etl.go.jp, emacs-devel@gnu.org
Subject: Re: Several serious problems
Date: Wed, 24 Jul 2002 06:43:01 +0200 [thread overview]
Message-ID: <sh65z5viqy.fsf@tux.gnu.franken.de> (raw)
In-Reply-To: <200207240325.g6O3Pkt04913@aztec.santafe.edu> (Richard Stallman's message of "Tue, 23 Jul 2002 21:25:46 -0600 (MDT)")
Richard Stallman <rms@gnu.org> writes:
> Often it's getting even worse: Emacs proposes a
> "secure" encoding and when users go for it, all looks well until you
> want to process such a file with TeX...
>
> I am not really sure what that means--would you please explain?
We discussed the issue several times (e.g. under the subject
"lisp/ChangeLog coding system"); here is a good remark by Stephen
J. Turnbull. Yes, that's a different from your problem, but it's cause
by the same implementation concept (enabling unification might cure most
of these problems -- thus it's very important to release an Emacs with
this feature, all released Emacs 21.x versions destroy user files at
random...):
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Subject: Re: lisp/ChangeLog coding system
To: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: Eli Zaretskii <eliz@is.elta.co.il>, emacs-devel@gnu.org
Date: 29 Apr 2002 20:28:55 +0900
>>>>> "Stefan" == Stefan Monnier <monnier+gnu/emacs@rum.cs.yale.edu> writes:
>> One aspect is making better guesses about desired coding
>> systems.
Stefan> I'm not sure what kind of improvements you're thinking
Stefan> about.
Well, in the version (mid-January, maybe?) of GNU Emacs I have, when I
tried saving a buffer with mixed ascii, latin-1, and latin-2 in it, it
gave me an abominably long list of coding systems including mule
internal, all the -with-esc systems, and iso-2022-jp-2. But all of
the characters used in the buffer are in ISO-8859-2, it's just Mule
making false distinctions.
At the very least, the defaults in Emacs should be to identify
identical characters (eg, those from the Latin-## subsets) and to
distinguish those where unification is controversial (the Han
ideographs).
Stefan> non-MIME coding-systems should be in the "unlikely" list, tho.
There is no unique "the unlikely list".
For example, if I were Croatian, I probably would want the buffer
described above saved in ISO-8859-2 without being asked, but a German
would probably want to save it in UTF-8 (or maybe ISO-2022-7 if she
were an Emacs developer), or be queried, defaulting to ISO-8859-2.
And some of the "universal" coding systems (UTF-32, mule internal, all
the -with-esc systems) should probably not even be offered to most
users; they should have to ask for them by name. But people with
special needs should be able to configure them for regular use.
And what's a "non-MIME coding system"? AFAIK MIME has nothing to do with
coding systems except that the notation "the preferred MIME name" is a
useful convention. But KOI8-R and all the Windows-125x sets are MIME
registered.
Stefan> Looking at the README, I have the impression that most of
Stefan> the functionality is already part of the Emacs CVS code
Stefan> (mostly thanks to Dave's ucs-tables.el). Someone should
Stefan> try and figure out the details.
As for most functionality being in Emacs, yes, that's why I said I'd
help refactor; relative to ucs-tables.el the contribution is all UI.
My duplication[1] of ucs-tables is straightforward, not terribly
efficient code; all the meat is devoted to the question of "how do we
know which coding systems to offer the user". Specifically I address
the issues of preferred unibyte systems and preferred universal
systems described above.
Footnotes:
[1] XEmacs 21.5 has built-in support for Unicode. The UCS tables are
loaded at startup from (a local copy of) the Unicode Consortium
tables, and an API is provided to reload if desirable. The code
predates the release of Emacs 21, and so is different from
ucs-tables.el, unfortunately. The duplicative parts are for 21.4.
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
next prev parent reply other threads:[~2002-07-24 4:43 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-22 17:11 Several serious problems Richard Stallman
2002-07-22 19:01 ` Andre Spiegel
2002-07-22 19:03 ` Andre Spiegel
2002-07-23 4:00 ` Richard Stallman
2002-07-22 19:03 ` Andreas Schwab
2002-07-23 18:58 ` Richard Stallman
2002-07-22 19:11 ` Andre Spiegel
2002-07-23 4:42 ` Karl Eichwalder
2002-07-24 3:25 ` Richard Stallman
2002-07-24 4:43 ` Karl Eichwalder [this message]
2002-07-25 3:12 ` Richard Stallman
2002-07-25 3:24 ` Karl Eichwalder
2002-07-26 15:35 ` Richard Stallman
2002-07-27 3:19 ` Karl Eichwalder
2002-07-29 1:12 ` Richard Stallman
2002-07-29 14:32 ` Karl Eichwalder
2002-07-30 1:00 ` Richard Stallman
2002-08-09 7:42 ` Stefan Monnier
2002-08-09 16:08 ` Karl Eichwalder
2002-08-10 17:16 ` Richard Stallman
2002-08-12 16:20 ` Stefan Monnier
2002-08-13 1:48 ` Richard Stallman
2002-08-15 2:30 ` Karl Eichwalder
2002-08-15 2:47 ` Stefan Monnier
2002-08-15 5:31 ` Karl Eichwalder
2002-08-15 15:30 ` Stefan Monnier
2002-08-15 17:33 ` Dave Love
2002-07-23 13:35 ` Kenichi Handa
2002-07-23 13:52 ` Alan Shutko
2002-07-24 3:25 ` Richard Stallman
2002-07-24 3:25 ` Richard Stallman
2002-07-24 4:37 ` Kenichi Handa
2002-07-25 3:12 ` Richard Stallman
2002-07-25 5:53 ` Miles Bader
2002-07-26 14:29 ` Francesco Potorti`
2002-07-27 18:52 ` Richard Stallman
2002-08-09 7:43 ` Stefan Monnier
2002-08-11 1:59 ` unencodable-char-position [Re: Several serious problems] Kenichi Handa
2002-08-12 17:06 ` Richard Stallman
2002-08-12 17:15 ` Stefan Monnier
2002-08-13 0:37 ` Kenichi Handa
2002-08-13 22:47 ` Richard Stallman
2002-08-14 0:20 ` Kenichi Handa
2002-08-14 23:13 ` Richard Stallman
2002-08-15 17:51 ` Dave Love
2002-08-19 5:04 ` Kenichi Handa
2002-08-29 22:52 ` Dave Love
2002-08-30 6:53 ` Andre Spiegel
2002-08-09 7:44 ` Several serious problems Stefan Monnier
2002-08-10 17:16 ` Richard Stallman
2002-08-12 0:26 ` Kenichi Handa
2002-08-09 4:41 ` Stefan Monnier
2002-08-15 17:23 ` Dave Love
-- strict thread matches above, loose matches on Subject: below --
2002-08-19 7:48 Kenichi Handa
2002-08-22 17:08 ` Dave Love
2002-08-29 13:25 ` Kenichi Handa
2002-08-29 17:32 ` Stefan Monnier
2002-08-29 23:15 ` Dave Love
2002-08-30 14:36 ` Stefan Monnier
2002-09-04 17:23 ` Dave Love
2002-08-30 6:09 ` Richard Stallman
2002-08-31 17:30 ` Dave Love
2002-09-02 0:01 ` Richard Stallman
2002-09-04 17:15 ` Dave Love
2002-09-08 12:54 ` Richard Stallman
2002-09-12 22:38 ` Dave Love
2002-09-13 19:34 ` Richard Stallman
2002-08-29 23:09 ` Dave Love
2002-08-30 6:11 ` Richard Stallman
2002-09-04 17:21 ` Dave Love
2002-08-29 23:17 ` Dave Love
2002-08-30 6:11 ` Richard Stallman
2002-08-31 17:31 ` Dave Love
2002-09-02 0:01 ` Richard Stallman
2002-09-02 1:28 ` Kenichi Handa
2002-09-05 13:41 ` Dave Love
2002-09-05 23:32 ` Kenichi Handa
2002-09-06 11:38 ` Robert J. Chassell
2002-09-07 23:19 ` Dave Love
2002-09-09 0:21 ` Richard Stallman
2002-09-12 22:43 ` Dave Love
2002-09-26 4:51 ` Kenichi Handa
2002-09-10 16:36 ` Richard Stallman
2002-08-30 6:09 ` Richard Stallman
2002-08-24 12:11 ` Richard Stallman
2002-08-26 13:17 ` Kenichi Handa
2002-08-26 16:15 ` Stefan Monnier
2002-08-29 23:18 ` Dave Love
2002-08-30 14:36 ` Stefan Monnier
2002-08-29 23:19 ` Dave Love
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sh65z5viqy.fsf@tux.gnu.franken.de \
--to=keichwa@gmx.net \
--cc=emacs-devel@gnu.org \
--cc=handa@etl.go.jp \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).