[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: |
Wed, 21 Apr 2021 20:51:38 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> Actually this feature can cause inconvenience in some cases.
>
> `isearch-occur’ (bound to `M-s o’ in 'isearch-mode-map`) when `isearch’,
> even a buffer is created, `isearch’ doesn’t exit though.
>
> In vanilla Emacs, the cursor is in the original buffer. But if you use
> shackle or customize `display-buffer-alist’ directly, the cursor
> can be refocused to the new created one. Typing in the *Occur* buffer
> triggers `isearch-printing-char’ which is counterintuitive.
As discussed in bug#47894, the right solution for you would be to use
such customization that helps isearch-occur to exit isearch explicitly:
#+begin_src emacs-lisp
(advice-add 'isearch-occur :after
(lambda (&rest _args)
(isearch-done nil t)
(isearch-clean-overlays)))
#+end_src
- Re: Simple isearch concerns, (continued)
- Re: Simple isearch concerns, Stefan Monnier, 2021/04/06
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/06
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/06
- Re: Simple isearch concerns, Juri Linkov, 2021/04/06
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/06
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/07
- Re: Simple isearch concerns, Juri Linkov, 2021/04/07
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/07
- Re: Simple isearch concerns, Juri Linkov, 2021/04/08
- Re: Simple isearch concerns, Zhiwei Chen, 2021/04/09
- Re: Simple isearch concerns,
Juri Linkov <=
- Re: Simple isearch concerns, Zhiwei Chen, 2021/04/25
Re: Simple isearch concerns, Philip Kaludercic, 2021/04/03
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/03
- Re: Simple isearch concerns, Philip Kaludercic, 2021/04/03
- Re: Simple isearch concerns, Gregory Heytings, 2021/04/03
- Re: Simple isearch concerns, Philip Kaludercic, 2021/04/03
- Re: Simple isearch concerns, Dmitry Gutov, 2021/04/03
- Re: Simple isearch concerns, Ergus, 2021/04/04
- Re: Simple isearch concerns, Juri Linkov, 2021/04/05
Re: Simple isearch concerns, Ergus, 2021/04/03