GNU bug report logs - #24510
25.1; Info: searching for ` does not find what looks like `

Previous Next

Package: emacs;

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


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: Drew Adams <drew.adams <at> oracle.com>, 24510 <at> debbugs.gnu.org
Subject: Re: bug#24510: 25.1; Info: searching for ` does not find what looks
 like `
Date: Fri, 06 May 2022 13:30:18 +0200
Juri Linkov <juri <at> linkov.net> 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




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.