emacs-devel
[Top][All Lists]
Advanced

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

Re: Character folding in the pretest


From: Eli Zaretskii
Subject: Re: Character folding in the pretest
Date: Thu, 04 Feb 2016 18:54:05 +0200

> From: "Dirk-Jan C. Binnema" <address@hidden>
> Date: Thu, 04 Feb 2016 13:57:36 +0200
> 
> > What type of character equivalence should be used is locale-dependent.
> > Everybody here agrees with that. Thus, the solution must also be
> > locale-dependent.
> 
> > It would make sense to have the default based on the session's locale,
> > meaning that in a Swedish locale a, ä and å would be different and n and ñ
> > be different, but under a Spanish locale, the opposite would be true.
> 
> Character equivalence is based on the language(s) of whatever is in your
> buffer, which might be correlated with your locale, but not more than
> that.

Indeed.  Emacs is a multilingual environment, so any assumption that
the main language in every buffer, or even in most buffers, is likely
to be the locale's language will misfire.

Also, Emacs has features that need match characters which didn't come
from human-readable text at all, like file names.



reply via email to

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