From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#13041: 24.2; diacritic-fold-search Date: Wed, 31 Aug 2016 16:45:44 +0200 Message-ID: <87mvjtngiv.fsf@gmx.de> References: <20121130182205.C722F14B8D@panix1.panix.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1472654850 21433 195.159.176.226 (31 Aug 2016 14:47:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2016 14:47:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 13041@debbugs.gnu.org, perin@acm.org To: Lewis Perin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 31 16:47:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf6nR-0004dH-Hx for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2016 16:47:21 +0200 Original-Received: from localhost ([::1]:54488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf6nP-0004b6-9Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Aug 2016 10:47:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf6nC-0004aj-Mg for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 10:47:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf6n7-0004lU-S4 for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 10:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf6n7-0004lQ-Om for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 10:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bf6n7-0000MK-MD for bug-gnu-emacs@gnu.org; Wed, 31 Aug 2016 10:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Aug 2016 14:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13041 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13041-submit@debbugs.gnu.org id=B13041.14726547691316 (code B ref 13041); Wed, 31 Aug 2016 14:47:01 +0000 Original-Received: (at 13041) by debbugs.gnu.org; 31 Aug 2016 14:46:09 +0000 Original-Received: from localhost ([127.0.0.1]:45563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf6mD-0000L5-6X for submit@debbugs.gnu.org; Wed, 31 Aug 2016 10:46:09 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:51206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bf6m7-0000K8-SX for 13041@debbugs.gnu.org; Wed, 31 Aug 2016 10:46:04 -0400 Original-Received: from detlef.gmx.de ([87.146.48.45]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MNqcR-1blRUO0VJ5-007VhX; Wed, 31 Aug 2016 16:45:47 +0200 In-Reply-To: <20121130182205.C722F14B8D@panix1.panix.com> (Lewis Perin's message of "Fri, 30 Nov 2012 13:22:05 -0500 (EST)") X-Provags-ID: V03:K0:3p2ukdBP6jf1vYeboo/zhewpiBeamE2K5J+OXzbwDbwr8jPWC0B FOvrlT1u/XkzIRW2fOYNPj9g3p5m7ssKemNHAiur/mPc98exN4x3E7cdqFovAx0Kw7Sw8kD WVSWOutwaGSnDi3GARCKGMQ7ABn5A76BDdY7TJq7uLOp9l+NM162BAhWXZQ208FeMs4YkSp o77qdIL6O0K7LQIMd5J+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:e1qEVyS8CpU=:1JKhhv9MEEOZ/PR9COcjdt jX/zdf59qCHwbZSYgsDL0taArAvFFNZzEVBkOF3XkWJ6R9GoEnJ3jFgQ1aS6vKbfG+7LO8E+I j8jLJ19b5RcMCMA7Om/VIM/rkJmTMQ5vyCCxMUEcGZzTS58cRPAVSaWb6n7kTgHN8F2Qm+Ns/ bPNgBubHNlJYwIE3QatnY12zVdsAiaGi2MIjxLBX80jbfsCNLNZV80/t3oCNapL0uf0ubuWvG uQA6mPNL6kXm3Ac/TpjzrOgDIGfn65fKKSRN7P5g1B8wpELZxQAuCilx+F6gwAjAsCwS+ytrM 5uqbYeKCC+CqQD1GRm2jGPfhNiPN5iOiTICNUkLJrvcVpESPH2cBAmMLlyp1bxp97kO94qsYH HdJwsJLGHLfK72FxBnvNi3B6XC/forkxuaY5SdMsAJ9rgw5WU9i3Xs0dY3RItyrACauMPDDbl kElyPuaI+UYH8WdB57uBiZ4kS3cP7C3UW/eDaOZ+AnNqxZykQlHq01UOFhMspboitw/sfQdov OjqJxVqIrn0SNTWGUpOw/EVDHmc6cTGwF233FQH3m4x2leRGQMiaLf/HGyfA703n0/2shYT7m QbYimVns0tGL5ySy4YE9QpaUby83KJSHknG1M28xv6Q/cIvMsUlfcRjE6k39l/YfumWS0yfN1 IHV2GgXbK3+GoK4qD2FOYTtf/aWgsTXbQM2TE4lU4EDZ8/altaRelKDHq+zjSOSN3dnNpfdP+ W/t5rWkA04c6qnWuzrAoOPciYosx9H6EavXoG8iOCa9cKhuPbiFrkVbAVNPd2vfOgp9s8EFV X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122803 Archived-At: Lewis Perin writes: > Emacs search has long been able to toggle between (a) ignoring the > distinction between upper- and lower-case characters > (case-fold-search) and (b) searching for only one of the pair. One > could say Climacs offers the choice between (a) searching for all > members of a (2-member) equivalence class and (b) searching for only > one member. > > There are larger equivalence classes of characters with practical use > which Climacs is currently unaware of: the groups of characters > consisting of an unadorned (ASCII) character plus all its > diacritic-adorned versions. Currently, if I want to search for both > =E2=80=9Capres=E2=80=9D and =E2=80=9Capr=C3=A8s=E2=80=9D, I need an addit= ive regular expression. I would > like to do this as easily as I can search for =E2=80=9Capres=E2=80=9D and= =E2=80=9CApres=E2=80=9D. I > would be delighted if Emacs implemented the equivalence classes > spelled out here: > > http://hex-machina.com/scripts/yui/3.3.0pr1/api/unicode-data-accentfold= .js.html > > I might add that diacritics folding is the default in web search > engines. It is also a feature of at least one Web browser in > searching the text of a displayed page (Chrome.) Emacs 25.1 has introduced the new user option `search-default-mode'. If set to `char-fold-to-regexp', the requested feature is available. See etc/NEWS for further information. So I propose to close this bug. There was a long discussion in the bug's log back in 2012, but AFAICS, all proposals have been implemented. > /Lew Best regards, Michael.