bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48254: 28.0.50; minibuffer does not show the prompt of a command on


From: Gregory Heytings
Subject: bug#48254: 28.0.50; minibuffer does not show the prompt of a command on first invocation
Date: Sun, 09 May 2021 22:37:32 +0000


I'm not sure I understand what you want. Where do you want the Dvorak input method to be active, and where do you want it to be disabled?

As I said earlier, if you don't want to enable english-dvorak in the minibuffer, all you have to do is to remove the line:

(add-hook 'minibuffer-setup-hook (lambda () (set-input-method 
"english-dvorak")))

Then you'll have a consistent behavior: the Dvorak input method will be active in buffers you edit, and for everything else (key bindings, minibuffer interaction, help buffers, ...) it will be disabled.

If what you want is to activate the Dvorak input method only for some specific commands that use the minibuffer, you can use

(defun enable-english-dvorak ()
  (if (memq this-command '(find-file execute-extended-command switch-to-buffer))
      (set-input-method "english-dvorak")))
(add-hook 'minibuffer-setup-hook #'enable-english-dvorak)

and adapt the command list to suit your needs.

Does that solve the problem you have?





reply via email to

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