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: Questions about isearch Date: Wed, 25 Nov 2015 22:36:56 +0200 Message-ID: <83a8q1x1cn.fsf@gnu.org> References: <83lh9lx6oi.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: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1448483843 17158 80.91.229.3 (25 Nov 2015 20:37:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2015 20:37:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 25 21:37:13 2015 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 1a1goR-0001pm-Ue for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 21:37:12 +0100 Original-Received: from localhost ([::1]:47594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1goT-0002fB-Sc for ged-emacs-devel@m.gmane.org; Wed, 25 Nov 2015 15:37:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1goQ-0002ey-L2 for emacs-devel@gnu.org; Wed, 25 Nov 2015 15:37:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1goM-0003fi-Kq for emacs-devel@gnu.org; Wed, 25 Nov 2015 15:37:10 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:38215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1goM-0003fX-Co for emacs-devel@gnu.org; Wed, 25 Nov 2015 15:37:06 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYE00J00163AO00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 25 Nov 2015 22:37:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYE00JOC19R0J50@a-mtaout22.012.net.il>; Wed, 25 Nov 2015 22:37:03 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:195252 Archived-At: > Date: Wed, 25 Nov 2015 20:14:06 +0000 > From: Artur Malabarba > Cc: emacs-devel >=20 > > 1. Character folding doesn't catch ligatures, such as =C3=A6 (sho= uld it match > > the two characters "ae")? >=20 > I've no idea. It would be easy to add.=20 No, I meant to ask why it doesn't work already. AFAIU, the decomposition of =EF=AC=80 is "ff": (get-char-code-property ?=EF=AC=80 'decomposition) =3D> (compat 102 102) but searching for 'f' doesn't match the ligature. (=C3=A6 doesn't ha= ve a decomposition in the Unicode database, so maybe it's a different case.) > Those who use ligatures need to tell us whether that makes sense. I thought we used decomposition data automatically, no? > > 2. It also doesn't match =C3=A4 (a single character) with a=CC= =88 (2 characters, > > which Emacs correctly composes into 1 grapheme cluster). Should i= t? >=20 > Possibly. Since they look the same, might make things easier on use= rs. But I > wouldn't know as I've never seen the second version used anywhere.= =20 Once again, the decomposition attribute says we should match them: (get-char-code-property ?=C3=A4 'decomposition) =3D> (97 776) and the second character in a=CC=88 is U+0308 =3D 776. Doesn't that = say we should have matched them?