From: Juri Linkov <juri@linkov.net>
To: max.brieiev@gmail.com
Cc: Gregory Heytings <gregory@heytings.org>, 47894@debbugs.gnu.org
Subject: bug#47894: 28.0.50; isearch does not work if enable-recursive-minibuffers is on and some input method is set.
Date: Tue, 20 Apr 2021 23:00:53 +0300 [thread overview]
Message-ID: <874kg0d8ui.fsf@mail.linkov.net> (raw)
In-Reply-To: <87eef6p8bh.fsf@gmail.com> (max brieiev's message of "Mon, 19 Apr 2021 19:06:58 +0300")
> Some recent change made isearch to misbehave.
>
> isearch works normally when enable-recursive-minibuffers is off and no
> input method is set.
>
> However, when both enable-recursive-minibuffers is on and some input
> method is set, pressing C-s and then entering some text does not start a
> search. Successive presses of C-s lead to some garbled content being
> produced in minibuffer window (see screenshot).
>
> Steps to reproduce.
>
> 1. emacs -Q
> 2. M-x set-input-method RET programmer-dvorak
> 3. M-x customize-option RET enable-recursive-minibuffers
> Toggle the option into "On" state
> 4. Inside, for example, *scratch* buffer press C-s, then enter text to
> search. Observe that interactive search doesn't start. Also, successive
> presses of C-s produce some garbled text in minibuffer window as can be
> seen on screenshot below.
This is because of the recent change in ff796823e5
with the hope that it doesn't break other modes.
But your bug report helped to reveal that it
causes breakage. So I had to revert it.
Gregory, could you please see if it can be improved
to not fail in the reported case? Additionally,
on emacs-devel Zhiwei Chen said this:
It failed to work when buffer is auto selected via
`display-buffer-alist’. When the point moves to the *Occur* buffer,
typing “n”, “p” still sends “n”, “p” to isearch.
(defun display-buffer-select (buffer alist)
(let ((window (display-buffer-below-selected buffer alist)))
(when (window-live-p window)
(select-window window))))
(setq display-buffer-alist '(("\\*Occur\\*" (display-buffer-select))))
Maybe this could be handled as well?
next prev parent reply other threads:[~2021-04-20 20:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-19 16:06 bug#47894: 28.0.50; y.oy max.brieiev
2021-04-19 16:31 ` bug#47894: 28.0.50; isearch does not work if enable-recursive-minibuffers is on and some input method is set max.brieiev
2021-04-19 20:49 ` Juri Linkov
2021-04-20 20:00 ` Juri Linkov [this message]
2021-04-20 20:15 ` Gregory Heytings
2021-04-20 21:51 ` Gregory Heytings
2021-04-20 22:35 ` Gregory Heytings
2021-04-21 6:21 ` Gregory Heytings
2021-04-21 7:03 ` martin rudalics
2021-04-21 7:16 ` Gregory Heytings
2021-04-21 7:42 ` martin rudalics
2021-04-21 7:49 ` Gregory Heytings
2021-04-21 17:02 ` Juri Linkov
2021-04-21 17:18 ` Gregory Heytings
2021-04-21 17:37 ` Juri Linkov
2021-04-21 17:59 ` Juri Linkov
2021-04-21 19:23 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kg0d8ui.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=47894@debbugs.gnu.org \
--cc=gregory@heytings.org \
--cc=max.brieiev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.