emacs-devel
[Top][All Lists]
Advanced

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

Re: On language-dependent defaults for character-folding


From: Artur Malabarba
Subject: Re: On language-dependent defaults for character-folding
Date: Tue, 09 Feb 2016 17:10:47 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>> I don't know if it's possible to figure out the language of the user's
>> keyboard layout.
>
> It's possible on some systems (maybe on all of them).  But it isn't
> TRT, IMO, because one can use input methods external to Emacs, which
> makes this problem unsolvable, AFAIU.
>
> I think our energy will be much better spent by preparing a data base
> of preferences by various groups of users, including (but not limited
> to) something that can be vaguely called "typical user of language X",
> for several values of X.

I disagree that it's not TRT. Most problems are technically unsolvable
if you take into account the infinity of ways that the user could have
customized Emacs or their OS, that doesn't prevent us from solving the
“typical” case.
But I'm also fine with your proposed alternative.

Having a separate setting that governs multiple features and might allow
us to identify a user's “main” language (or something like that), sounds
useful too. While I'd prefer to rely on “the language that the user
types in”, relying on “the user's language” is a fine compromise. As
long as “the buffer's language” doesn't factor in.



reply via email to

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