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: Thu, 18 Feb 2016 19:21:53 +0200 Message-ID: <83povuszm6.fsf@gnu.org> References: <87mvr9wxqz.fsf@wanadoo.es> <87io1xwq1e.fsf@wanadoo.es> <87vb5wvzfz.fsf@mail.linkov.net> <87io1wt4cc.fsf@wanadoo.es> <8737syoima.fsf@mail.linkov.net> <871t8iu277.fsf@wanadoo.es> <87y4apfpr6.fsf@mail.linkov.net> <87wpq9qwia.fsf@wanadoo.es> <87k2m7qse0.fsf@wanadoo.es> <878u2mqhnl.fsf@wanadoo.es> <878u2jpy0t.fsf@fastmail.fm> <834md7wdtg.fsf@gnu.org> <87si0rgd94.fsf@udel.edu> <87ziuylvwi.fsf@mail.linkov.net> <87k2m2zkiw.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1455816144 9290 80.91.229.3 (18 Feb 2016 17:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 17:22:24 +0000 (UTC) Cc: mvoteiza@udel.edu, juri@linkov.net, emacs-devel@gnu.org To: Elias =?utf-8?Q?M=C3=A5rtenson?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 18 18:22:17 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 1aWSHQ-0006XR-2x for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 18:22:16 +0100 Original-Received: from localhost ([::1]:43555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWSHP-0002mB-At for ged-emacs-devel@m.gmane.org; Thu, 18 Feb 2016 12:22:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWSHK-0002lv-Nf for emacs-devel@gnu.org; Thu, 18 Feb 2016 12:22:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWSHH-0007Eu-9V for emacs-devel@gnu.org; Thu, 18 Feb 2016 12:22:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWSGo-00075j-LS; Thu, 18 Feb 2016 12:21:38 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1878 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWSGn-0004dM-V1; Thu, 18 Feb 2016 12:21:38 -0500 In-reply-to: (message from Elias =?utf-8?Q?M=C3=A5rtenson?= on Fri, 19 Feb 2016 01:07:31 +0800) 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:200130 Archived-At: > Date: Fri, 19 Feb 2016 01:07:31 +0800 > From: Elias Mårtenson > Cc: Mark Oteiza , emacs-devel , > Juri Linkov > > If this impacts replace-string as well, then it moves from being a mere irritant to a disaster when applied to > Swedish. Imagine trying to replace the word "correct" and you end up having the word "steering wheel" be > silently replaced as well (the former is "rätt" in Swedish, while the latter is "ratt"). There's no reason to assume Emacs development is that stupid. From the Emacs manual: The replacement commands by default do not use character folding (*note character folding: Lax Search.) when looking for the text to replace. To enable character folding for matching in ‘query-replace’ and ‘replace-string’, set the variable ‘replace-character-fold’ to a non-‘nil’ value. (This setting does not affect the replacement text, only how Emacs finds the text to replace. It also doesn’t affect ‘replace-regexp’.) > If my vote counts, it's obviously "off". In general, or because you thought replacement commands fold characters? In this message: http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00245.html you expressed a different opinion: I'm not even suggesting that this kind of comparisons should not be the default, even. Especially given the fact that locale-dependent comparators are not very well supported in Emacs at the moment. This seems to be mildly in favor of the feature being on by default, or maybe I misunderstand what you wanted to say here.