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: Character folding in the pretest Date: Thu, 04 Feb 2016 19:45:34 +0200 Message-ID: <83bn7wwerl.fsf@gnu.org> References: <87mvriuk3a.fsf@gmail.com> <8737t9ex1p.fsf@petton.fr> <83oabxyf71.fsf@gnu.org> <56B230D1.90902@gmail.com> <87bn7x4i4o.fsf@wanadoo.es> <87d1sc4rin.fsf@djcbsoftware.nl> <83r3gswh5e.fsf@gnu.org> <56B38C2F.30006@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454607980 16449 80.91.229.3 (4 Feb 2016 17:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 17:46:20 +0000 (UTC) Cc: djcb@djcbsoftware.nl, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 18:46:19 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 1aRNyz-0006Ih-Sj for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 18:46:18 +0100 Original-Received: from localhost ([::1]:43345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNyz-0004As-8p for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 12:46:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNyg-00043X-2u for emacs-devel@gnu.org; Thu, 04 Feb 2016 12:46:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRNyY-0004Ti-IP for emacs-devel@gnu.org; Thu, 04 Feb 2016 12:45:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNyY-0004TN-9o; Thu, 04 Feb 2016 12:45:50 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4426 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRNyX-0000MR-GH; Thu, 04 Feb 2016 12:45:49 -0500 In-reply-to: <56B38C2F.30006@cs.ucla.edu> (message from Paul Eggert on Thu, 4 Feb 2016 09:36:47 -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:199319 Archived-At: > Cc: emacs-devel@gnu.org > From: Paul Eggert > Date: Thu, 4 Feb 2016 09:36:47 -0800 > > On 02/04/2016 08:54 AM, Eli Zaretskii wrote: > > 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. > > True, but although Emacs is designed to be language-agnostic when > handling buffer text, that doesn't mean it should be designed to be > language-agnostic when handling user input. The user input in this case is a search string. A search string is likely to use the language of the text being searched, not the language of the user's locale. E.g., when I search Cyrillic text, I will hardly ever use Hebrew, my locale language. > As an English-speaker when I search Swedish texts by hand, I > normally want to use English-like rules because English is what I > know and I can't really read the Swedish anyway. I'm not sure this is the use case we should cater to. We should instead cater to users who search text they _can_ read. > In English we tend to consider accents unimportant when searching Amazingly enough, Unicode advises the same.