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: Mon, 22 Feb 2016 20:57:10 +0200 Message-ID: <83ziusk1yx.fsf@gnu.org> References: <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> <83fuwproyf.fsf@gnu.org> <837fi0sz29.fsf@gnu.org> <83egc8qzjh.fsf@gnu.org> <87egc7evu3.fsf@gnus.org> <83io1jpt4u.fsf@gnu.org> <87povqhj25.fsf@gnus.org> <83povqm3dw.fsf@gnu.org> <83io1im0zq.fsf@gnu.org> 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 1456167470 19550 80.91.229.3 (22 Feb 2016 18:57:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 18:57:50 +0000 (UTC) Cc: larsi@gnus.org, lokedhs@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 19:57:49 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 1aXvg5-0003Yk-30 for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 19:57:49 +0100 Original-Received: from localhost ([::1]:51259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvg4-0005dX-Nh for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 13:57:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvfp-0005Wm-0b for emacs-devel@gnu.org; Mon, 22 Feb 2016 13:57:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXvfl-0001oa-0a for emacs-devel@gnu.org; Mon, 22 Feb 2016 13:57:32 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvfk-0001oW-Tf; Mon, 22 Feb 2016 13:57:28 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1479 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXvfb-0005SZ-Ur; Mon, 22 Feb 2016 13:57:20 -0500 In-reply-to: (message from Richard Stallman on Mon, 22 Feb 2016 12:59:03 -0500) 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:200487 Archived-At: > From: Richard Stallman > CC: lokedhs@gmail.com, larsi@gnus.org, emacs-devel@gnu.org > Date: Mon, 22 Feb 2016 12:59:03 -0500 > > Users seem to disagree on whether to fold diacritics that make > different letters (ñ, ç, polish l with slash) or only those that > modify a single letter (as á, à, â in French). > > I think that we should have a user option which controls this and only > this. > > That means we should have two levels of folding group definitions: the > smaller groups which hold variants of the same letter, and the bigger > groups which hold similar letters. > > These groups need to depend on the language setting. In English (and > in French), ö is a modified o. In Swedish (and German, I think), ö > and o are different letters. This can be done if it will help. But no one responded to these ideas until now, so I'm not sure we are not in for another round of rejections. > I think that each folding group should specify one character that is > the base. I'm not sure what that means. What is a "folding group"? > This is because users also seem to disagree on what it > should mean to specify a non-base letter in the search string. > > Some plausible meanings are > > * Find that one and only that one. > * Treat it the same as specifying the base letter. > > There should be a user option to choose between those two (and maybe > some other behaviors for a non-base letter in the search string). We already have both options, and in particular, if a non-base letter appears explicitly in the search string, it will be searched literally, similarly to what we do with case-insensitive search. E.g., searching for ö doesn't find o or any other of its variants.