[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Emacs 22.0.50 fails to find ä in different ISO Latin encodings

From: Miles Bader
Subject: Re: GNU Emacs 22.0.50 fails to find ä in different ISO Latin encodings
Date: Sun, 24 Sep 2006 10:51:54 +0900

Peter Dyballa <address@hidden> writes:
> it needs to be emphasised that C-s C-q uses a Unicode search and does
> not take into account the file's proper encoding. Could be there are
> just a few that care about these encoding details.

That's misleading.  There's no "unicode search"; if the variable I added
is set to `ucs', it _converts_ a unicode codepoint entered via C-q to
Emacs' internal representation; after that, it works exactly like the
old C-q.

Since I-search (for instance) currently seems to correctly handle, for
instance, searching for a latin-1 ä in a latin-2 buffer -- even though
the underlying buffer representation is in fact different -- then
searching should continue to work correctly even in "unicode C-q mode".

[However, I think that character insertion via C-q won't work as the
user-expects; for instance, C-q e4 would insert a latin-1 ä even in a
unicode-2 buffer -- using the default settings, this situation will get
fixed up at file write time, because unify-8859-on-encoding-mode is on
by default, but until then, the inconsistent buffer contents might
confuse a user.]

"Whatever you do will be insignificant, but it is very important that
 you do it."  Mahatma Ghandi

reply via email to

[Prev in Thread] Current Thread [Next in Thread]