Subject: Re: bug#24510: 25.1; Info: searching for ` does not find what looks like `

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 06 May 2022 13:30:18 +0200

Juri Linkov <[email-masked]> writes:

> If you are sure about this, here is the simplest way to implement it,
> and the users can disable it easily in help-mode-hook:

[...]

> +  (unless search-default-mode
> +    (setq-local search-default-mode
> +                (lambda (string &optional _lax)
> +                  (thread-last
> +                    (regexp-quote string)
> +                    (replace-regexp-in-string "`" "[`‘]")
> +                    (replace-regexp-in-string "'" "['’]")))))

Thanks; I separated this out into a tiny minor mode, and switched that
on in help-mode and info-mode instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no