GNU bug report logs -
#24510
25.1; Info: searching for ` does not find what looks like `
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 22 Sep 2016 17:05:01 UTC
Severity: minor
Tags: moreinfo
Found in versions 25.1, 24.5
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Juri Linkov <juri <at> linkov.net> writes:
> So only folding `' with ‘’ is required?
Yup, I think so.
> Then it's easy to do:
[...]
> @@ -2147,7 +2149,10 @@ Info-isearch-search
> (funcall isearch-regexp-function string lax)
> (word-search-regexp string lax))))
> (isearch-regexp string)
> - (t (regexp-quote string)))
> + (t (thread-last
> + (regexp-quote string)
> + (replace-regexp-in-string "`" "[`‘]")
> + (replace-regexp-in-string "'" "['’]"))))
> bound noerror count
> (unless isearch-forward 'backward)))
> (point))
Nice. But we should also have this in *Help* (and possibly other
buffers where we do the `' -> ‘’ dance, but I can't think of any others
at the moment), so would it possible to have this like a little minor
mode? Or would that be difficult? (I've barely looked at the char-fold
machinery, so I have no idea.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.