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: Fri, 12 Feb 2016 10:44:25 +0200 Message-ID: <83twle71xy.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> <83d1s28kvh.fsf@gnu.org> <87r3gis7sm.fsf@wanadoo.es> 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 1455266692 19112 80.91.229.3 (12 Feb 2016 08:44:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 08:44:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 09:44: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 1aU9LJ-0000cI-Rr for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 09:44:46 +0100 Original-Received: from localhost ([::1]:58609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU9LJ-0003cf-4I for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 03:44:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU9L5-0003cG-SY for emacs-devel@gnu.org; Fri, 12 Feb 2016 03:44:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU9L2-0005EY-LF for emacs-devel@gnu.org; Fri, 12 Feb 2016 03:44:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU9L2-0005EU-IM; Fri, 12 Feb 2016 03:44:28 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aU9L1-0006iz-Sy; Fri, 12 Feb 2016 03:44:28 -0500 In-reply-to: <87r3gis7sm.fsf@wanadoo.es> (message from =?utf-8?Q?=C3=93sca?= =?utf-8?Q?r?= Fuentes on Fri, 12 Feb 2016 08:32:25 +0100) 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:199800 Archived-At: > From: Óscar Fuentes > Date: Fri, 12 Feb 2016 08:32:25 +0100 > > Eli Zaretskii writes: > > >> ñ is not a match for n, as long as you follow the rules of the > >> Spanish language. > > > > Actually, it should be when ñ is in fact ñ (two characters). > > If ñ is meant to be read as ñ Don't you see them displayed identically in Emacs (and in any other program that correctly implements display of combining accents)? Maybe I don't really understand that "if" part. > as when it is found on a Spanish word, Display of combining accents is not language-specific. It should always happen in human-readable text. > then ñ and ñ are the same to all effects, so no match should happen. You mean, a match should happen, right? Otherwise, I'm afraid I see no sense in this logic: IMO identically looking text should match, or else users will kill us. If you agree that a match is TRT in these (and other similar) cases, then you should agree that _some_ form of character folding should be turned on by default. > Again, composition rules are irrelevant for a knowledgeable reader of a > given language. What matters is the meaning of the characters (composed > or not). What is "the meaning of the characters"? Can pieces of text that are displayed identically have different meaning?