[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple isearch concerns
From: |
Gregory Heytings |
Subject: |
Re: Simple isearch concerns |
Date: |
Tue, 06 Apr 2021 13:18:56 +0000 |
I'm not completely sure I understand the behavior you describe, but
since you consider it counter-intuitive, it sounds like you might want
to `M-x report-emacs-bug`.
IIUC, what Zhiwei Chen described is what happens with:
(define-key isearch-mode-map (kbd "M-s o") #'(lambda () (interactive) (call-interactively
'isearch-occur) (pop-to-buffer "*Occur*")))
Point moves to the occur buffer after you type M-s o, yet isearch has not
ended, so pressing "n", "p", "q", ... adds these characters to the search
string instead of acting in the occur buffer.
I'm not sure this is a bug, but it should be possible to avoid that
behavior by checking e.g. in isearch-pre-command-hook that point is still
in the buffer in which isearch started.
- Simple isearch concerns, Ergus, 2021/04/02
- Re: Simple isearch concerns, Thierry Volpiatto, 2021/04/03
- Re: Simple isearch concerns, Manuel Uberti, 2021/04/03
- Re: Simple isearch concerns, Daniel MartÃn, 2021/04/03
- Re: Simple isearch concerns, Zhiwei Chen, 2021/04/06
- Re: Simple isearch concerns, Stefan Monnier, 2021/04/06
- Re: Simple isearch concerns,
Gregory Heytings <=
- 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, 2021/04/21
- Re: Simple isearch concerns, Zhiwei Chen, 2021/04/25