From: Gregory Heytings <gregory@heytings.org>
To: max.brieiev@gmail.com
Cc: 48254@debbugs.gnu.org
Subject: bug#48254: 28.0.50; minibuffer does not show the prompt of a command on first invocation
Date: Fri, 07 May 2021 15:28:17 +0000 [thread overview]
Message-ID: <9d2af8183134a906cbe8@heytings.org> (raw)
In-Reply-To: <878s4q1u2e.fsf@gmail.com>
>> (add-hook 'change-major-mode-hook (lambda () (or (minibufferp) (set-input-method "english-dvorak"))))
>> (add-hook 'minibuffer-setup-hook (lambda () (set-input-method "english-dvorak")))
>> ...
>> Does that solve the problem you have?
>
> Thanks, this solves the issue.
>
Okay.
>
> But I have some other issues related to input methods, which I don't
> know how to reproduce reliably. Maybe you can give me some hints and I
> will report them as separate bugs.
>
> One issue is related to the prompts, where the input is a single key
> like "y" or "!", like the prompt shown when you have some modified
> buffers while exiting Emacs. Sometimes I have to press the key as it is
> laid on qwerty layout, but sometimes it is as on dvorak layout. This is
> quite annoying, since I always have to guess, which layout is active for
> the shown yes-no prompt.
>
I don't use a global input method myself, so I cannot give you a general
advice alas. In my tests, with the two above lines, everything that is
read in the minibuffer (yes-or-no-p, y-or-n-p, read-answer, ...) uses the
Dvorak layout. Without a recipe, I cannot do more.
>
> The other issue is probably somehow related to Edebug. I am learning
> elisp, so I often run Edebug just to learn how some functionality works.
> Once in a while, when some breakpoint is hit, something bad happens to
> Emacs in a way that each keymap that defines just basic characters (I
> mean without modifier bits), like Info buffer, or Edebug, or Gnus is
> turned to think that underlying layout is dvorak. So pressing "l" inside
> Info buffer runs actually 'Info-next' command, which is bound to "n",
> istead of going back in history. So to make keybindings operate normally
> again I have to press "C-\" in every buffer to reset input method. The
> other side effect of this is that read-only edebug buffer suddenly
> becomes editable and I can enter text there, though mode line still
> shows '%%'.
>
Again, in my tests this doesn't happen, so alas I cannot give you an
advice without a recipe.
next prev parent reply other threads:[~2021-05-07 15:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-06 13:47 bug#48254: 28.0.50; minibuffer does not show the prompt of a command on first invocation max.brieiev
2021-05-06 19:23 ` Gregory Heytings
2021-05-07 14:45 ` max.brieiev
2021-05-07 15:28 ` Gregory Heytings [this message]
2021-05-08 8:26 ` max.brieiev
2021-05-09 22:37 ` Gregory Heytings
2021-05-11 9:15 ` max.brieiev
2021-05-11 9:35 ` Gregory Heytings
2021-05-11 9:47 ` max.brieiev
2021-05-11 11:01 ` Gregory Heytings
2021-05-11 9:40 ` max.brieiev
2021-05-11 17:47 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d2af8183134a906cbe8@heytings.org \
--to=gregory@heytings.org \
--cc=48254@debbugs.gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).