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 22:05:40 +0200 Message-ID: <8360y4w8a3.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> <87vb6431rd.fsf@wanadoo.es> <56B37DF4.7000808@gmail.com> <87mvrg2zid.fsf@wanadoo.es> <83lh70wgbb.fsf@gnu.org> <878u302rqe.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 1454616372 25198 80.91.229.3 (4 Feb 2016 20:06:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 20:06:12 +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 Thu Feb 04 21:06:04 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 1aRQAF-0003NR-EG for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 21:06:03 +0100 Original-Received: from localhost ([::1]:43824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRQAE-0002iq-NO for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 15:06:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRQAA-0002iZ-Es for emacs-devel@gnu.org; Thu, 04 Feb 2016 15:05:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRQA7-00032l-7d for emacs-devel@gnu.org; Thu, 04 Feb 2016 15:05:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRQA7-00032g-4C; Thu, 04 Feb 2016 15:05:55 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4639 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRQA6-0006EA-Aw; Thu, 04 Feb 2016 15:05:54 -0500 In-reply-to: <878u302rqe.fsf@wanadoo.es> (message from =?utf-8?Q?=C3=93sca?= =?utf-8?Q?r?= Fuentes on Thu, 04 Feb 2016 20:35:53 +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:199327 Archived-At: > From: Óscar Fuentes > Date: Thu, 04 Feb 2016 20:35:53 +0100 > > > M-: (get-char-code-property ?ñ 'decomposition) RET > > > > => (110 771) > > > > 110 is 'n' and 771 is U+0303 NON-SPACING TILDE, a combining accent. > > AFAIK Unicode doesn't mandate what the Spanish alphabet is. I didn't say it did. > I thought that the point of the feature was to provide searching with > support for character equivalence classes It is. > But you are saying that the feature is about how the characters are > encoded by the computer and not about how they are used by > people. If that is true, it should be disabled by default. But it isn't true. This has (almost) nothing to do with encoding, get-char-code-property accesses properties, not encodings. Perhaps you aren't familiar with Unicode equivalence, in which case I suggest these sources: http://unicode.org/reports/tr10/#Searching http://www.unicode.org/notes/tn5/ http://www.unicode.org/reports/tr30/tr30-4.html