GNU bug report logs -
#13131
24.1; Allow curly quotes to be found by searching for straight quotes?
Previous Next
Reported by: Reuben Thomas <rrt <at> sc3d.org>
Date: Mon, 10 Dec 2012 00:20:01 UTC
Severity: wishlist
Found in version 24.1
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 13131 <at> debbugs.gnu.org (full text, mbox):
> isearch kindly matches multiple spaces when you insert a space;
> similarly, it'd be good if searching for a straight quote also matched
> curly quotes (arguably only in modes where that really makes sense, i.e.
> text modes).
I suppose under "straight quote" you mean Unicode char named APOSTROPHE, and
"curly quotes" are LEFT SINGLE QUOTATION MARK and RIGHT SINGLE QUOTATION MARK.
There is a mapping of LEFT DOUBLE QUOTATION MARK and RIGHT DOUBLE QUOTATION MARK
to "``" and "''" in `IT-unicode-translations' in lisp/term/internal.el, but
it's not suitable for this. I can't find more mappings in the source code,
ucs-normalize.el says that Punctuation is excluded from Normalization:
;; HFS Normalization excludes following area for decomposition.
;; U+02000 .. U+02FFF :: Punctuation, symbols, dingbats, arrows, etc.
But it seems Normalization can't help anyway because there is no
decomposition information for such quotes in UnicodeData.txt.
Maybe the Unicode standard has a separate document for equivalence mappings
for punctuation. I can found only the following table. Is this what is needed?
http://unicode.org/cldr/charts/supplemental/character_fallback_substitutions.html
This bug report was last modified 5 years and 297 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.