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

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

bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not clo


From: Platon Pronko
Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file
Date: Sun, 31 Jan 2021 11:54:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1

Hi!

No problem, but I don't think you did.  There were real bugs connected
with input methods, and I think your initial scenario highlighted one of
these bugs.

I'm glad to hear that!

It hasn't gone away for me.

This is quite strange. (minibufferp) guard was supposed to avoid running
any code whatsoever on minibuffer, so there shouldn't be any calls
to activate-input-method and associated bugs shouldn't be triggered.

Here's the code I'm talking about, just in case:

(define-minor-mode dvorak-minor-mode "Use english-dvorak input method." 
:lighter nil
  (if (and dvorak-minor-mode (not (minibufferp)))
    (activate-input-method "english-dvorak")))
(define-global-minor-mode global-dvorak-mode dvorak-minor-mode 
dvorak-minor-mode)
(global-dvorak-mode t)

Best regards,
Platon Pronko





reply via email to

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