emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple isearch concerns


From: Juri Linkov
Subject: Re: Simple isearch concerns
Date: Fri, 23 Apr 2021 01:24:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> FWIW, I've worked on something like that a while ago:
>
> https://github.com/astoff/isearch-mb/
>
> It's a minor mode that makes Isearch read the search string from the
> minibuffer instead of hijacking typed characters.  This makes it easier
> to edit the search string and harder to quit the search.
>
> It has some advantages over Ctrlf, such as not hanging on large buffers
> and retaining the fancy wrapping of Info-mode.  Alas, it doesn't work
> out of the box with every third-party Isearch extension (e.g.,
> consult-isearch, loccur-isearch or pdf-tools).
>
> If there's interest to bring something like isearch-mb into Emacs, I'd
> suggest to integrate it into `isearch-edit-string'.  Thus, among other
> things, `C-s' and `C-r' would search without quitting the minibuffer.

Nice idea.  Like TAB typed in the minibuffer updates the Completions buffer,
C-s typed in the isearch-edit-string minibuffer could update the matches
in the searched buffer.

There is already the value 'edit' of 'search-exit-option' that can
activate the editing minibuffer, but what is missing is a way to
redirect C-s in the editing minibuffer back to the original buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]