GNU bug report logs - #13041
24.2; diacritic-fold-search

Previous Next

Package: emacs;

Reported by: perin <at> acm.org

Date: Fri, 30 Nov 2012 18:31:02 UTC

Severity: wishlist

Found in version 24.2

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lewis Perin <perin <at> panix.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; diacritic-fold-search
Date: Fri, 30 Nov 2012 13:22:05 -0500 (EST)
This is not a bug report but a feature request, so I am omitting
diagnostic information.

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
“apres” and “après”, I need an additive regular expression.  I would
like to do this as easily as I can search for “apres” and “Apres”.  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.)

I’m sure that maintaining the core of Emacs is a big job, and I’m
grateful for the skill and effort that go into that task, including
your consideration of this request!

/Lew
---
Lew Perin | perin <at> acm.org | http://babelcarp.org




This bug report was last modified 8 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.