From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: On language-dependent defaults for character-folding Date: Sat, 20 Feb 2016 10:09:45 +0200 Message-ID: <8337snreeu.fsf@gnu.org> References: <87vb5wvzfz.fsf@mail.linkov.net> <87io1wt4cc.fsf@wanadoo.es> <8737syoima.fsf@mail.linkov.net> <871t8iu277.fsf@wanadoo.es> <83d1s28kvh.fsf@gnu.org> <87r3gis7sm.fsf@wanadoo.es> <83twle71xy.fsf@gnu.org> <87io1us0te.fsf@wanadoo.es> <83pow26svf.fsf@gnu.org> <87a8n5srbp.fsf@wanadoo.es> <83d1s17npz.fsf@gnu.org> <87oablfpn3.fsf@mail.linkov.net> <834mdd6llx.fsf@gnu.org> <7fbb8bc7-9a97-4bad-a103-a6690a35241d@default> <834mdc5w6o.fsf@gnu.org> <838u2hu6aq.fsf@gnu.org> <871t899tde.fsf@gnus.org> <83y4ahru04.fsf@gnu.org> <877fi05nhx.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1455955847 19082 80.91.229.3 (20 Feb 2016 08:10:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 08:10:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 20 09:10:46 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aX2cn-0005ga-Oi for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 09:10:45 +0100 Original-Received: from localhost ([::1]:59084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX2cn-00036s-3e for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 03:10:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX2c8-0002Qd-Ld for emacs-devel@gnu.org; Sat, 20 Feb 2016 03:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX2c4-00008P-Nb for emacs-devel@gnu.org; Sat, 20 Feb 2016 03:10:04 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX2c4-00008J-JP; Sat, 20 Feb 2016 03:10:00 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4745 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aX2c4-00070G-1E; Sat, 20 Feb 2016 03:10:00 -0500 In-reply-to: <877fi05nhx.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 20 Feb 2016 09:44:26 +1100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200285 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Sat, 20 Feb 2016 09:44:26 +1100 > > Eli Zaretskii writes: > > > Thanks. But what does "respect the locale" mean, in practical terms? > > A large portion of the characters that have some decomposition, and > > thus will be folded when searching, belong to scripts that are not > > related to any language or other locale-specific attribute. What do > > you think should be done with them in the context of this feature? > > The locale says what language culture the user is from, and that's the > important thing for most users. Not the language of the document or > anything like that. > > Norwegian (like Danish and Swedish) has a 29 character alphabet, and > there are keys on our keyboards for all those letters. Having any of > those characters show up when searching for other characters is as weird > for a Norwegian as it would be for an American to have any of their 26 > characters in their alphabet substitute for another. > > The Norwegian "extra" characters are זרו, of which only the latter is > confused in Emacs by any other character by isearch today. I would > imagine that an American would like ר to be folded with o, for instance, > which it doesn't do. > > So as currently implemented, the feature is kinda both incomplete and > too intrusive at the same time. Are you saying that making the default depend on the locale would be OK?