From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Questions about isearch Date: Fri, 27 Nov 2015 22:18:46 +0100 Message-ID: <878u5jrvih.fsf@rub.de> References: <83lh9lx6oi.fsf@gnu.org> <83a8q1x1cn.fsf@gnu.org> <87h9k74pkw.fsf@gmail.com> <83bnafse4f.fsf@gnu.org> 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 1448659148 31347 80.91.229.3 (27 Nov 2015 21:19:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 21:19:08 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 22:18:57 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 1a2QPw-0004Jz-H4 for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 22:18:56 +0100 Original-Received: from localhost ([::1]:58550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2QPz-0001iT-Ax for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 16:18:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2QPw-0001iJ-9a for emacs-devel@gnu.org; Fri, 27 Nov 2015 16:18:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2QPv-0000cW-DI for emacs-devel@gnu.org; Fri, 27 Nov 2015 16:18:56 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:56744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2QPq-0000Z3-II; Fri, 27 Nov 2015 16:18:50 -0500 Original-Received: from rosalinde ([89.245.117.156]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lskr7-1aQicg3qsT-012Ic3; Fri, 27 Nov 2015 22:18:48 +0100 In-Reply-To: (Artur Malabarba's message of "Fri, 27 Nov 2015 16:55:45 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:levLvba6fVuS0Xf5h2nSAzNaRfkHBxAkhpqPhU5W+5nv/gOTJ28 Oo4Dl09tX4Pi+o/70k1AZx2I3zL6l80A7MGmM3lDG43VutlGQiHJJGEZBAJ2fx6KJCCOnn4 enAaytjcG0kiTLBbhOIUjV5biboogAps/hLUU0cU3+ZiMEm2kGiEajRCk305L2yjJ3bFo8n lWsfWkUMIlgwZVGgd7pSQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:EvWKZ8oNjeY=:V4KevVmWFSJd8u8WuxSd9E v4e0JxWal+quMIqsUDOAgfYQb4BpUECxE8WBOKEnumT4HZPe4HnKnXu5wH63/V3BALdjibFue v0jk+Erx8/fBG57F2P6oKQriO96DFC6d6fw8t7pUlG/7FxhdHJ7CaH1EiLB1e7PobIFfoYPsv E/l8CgUn+ej1ydvfdzPfpRc8VyLN1laYE17AASc+gX0rxciA+yvjcUZ2p1YUJQ9CxECpJQbZ4 qfL8kuDbXHhAjosXOJsdde/9Za1Ws3+JnA3xtEnSz5MCmwL8AAypohrwj+rx7WuXMqtHbCRAq Fg22jCh3/sDRjewCy5fnRAJyrN8VWUHKcP0QLE4XgN3zGH/kR/oll/10VVFb4GSGfcPXTIAVo nqUeWx4NmtUYGzEV3JL5BrazYh/DMlIOyLYxA4fleGxZxFVNp+QWwHeqsXGrq2xyD2x7Rxq+G mO+W506SpmzVyXqr/I+uQ//ByA+3b8mVU1ItkrjPy7cGieS+qAL3G5lmOL7gXHj0ad2DFZ/xi 7gXPYUb5nhk0j0HBZW71PLIfqwAcPJMjBQOblfXgeN1V9FC1eMV/IkgbHlbSCpgbI2S0OM5mH APCNe/6R0ajmKvTyHktCtJjUD8TlbUnDqJ9y8EKlvwBM/jfoGVlg6l9RCSTNuiDCPMX7bVRLp 9MYDkaVYHYBtZMABoRK2KYibTOsK1XC6iZkq692TPY3JVGpSgY1XFdubcuBOUUR2sjsC6G5Jl MNMJzSwG0dzcVDuuq4FkGQbRSnQJgchYq4F3jLVqkOPjNt67BslH1w1fUW+GwobTDb1n/hrA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.22 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:195414 Archived-At: On Fri, 27 Nov 2015 16:55:45 +0000 Artur Malabarba wrote: > On 27 Nov 2015 2:36 pm, "Eli Zaretskii" wrote: >> > It does for me. In this very buffer, if I isearch for 'f' I can get to >> > the ligature above. >> >> Right, it does. I think I tried "ff", not "f". Is that supposed to >> work? > > No. We don't support having multiple characters match a single string.=20 Is this why "ss" does not match the German letter "=C3=9F"? I assume the reason "s" does not match "=C3=9F" is that the latter does not have a decomposition including "s", whereas the decomposition of e.g. "=EF=AC=80" = does include "f", correct? (Though I actually think that may be the preferred behavior for the search string "s" when searching German text, in contrast to the search string "ss", which I think should be able to find "=C3=9F".) In fact, looking at the value of character-fold-table, it seems to me that the current implementation of folding based on character decomposition often yields surprising results: e.g. "f" matches not only "=EF=AC=80" but also "=E3=8E=99" and "=EF=AC=84", but "m" and "l" fail to m= atch the latter two, respectively. I would expect these three search string either all to match or all to fail to match all three composed character strings. Another shortcoming is that the decompositions do not respect case-folding, e.g. "f" fails to match "=E2=84=B1" and "=E2=84=BB" (with cas= e-folding enabled), whereas "F" does match them, but fails to match "=EF=AC=80", etc. (also, "A" and "X" fail to match "=E2=84=BB"). Steve Berman