GNU bug report logs - #45792
28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file

Previous Next

Package: emacs;

Reported by: Platon Pronko <platon7pronko <at> gmail.com>

Date: Mon, 11 Jan 2021 16:11:01 UTC

Severity: normal

Found in version 28.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Platon Pronko <platon7pronko <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>, 45792 <at> debbugs.gnu.org
Cc: Alan Mackenzie <acm <at> muc.de>
Subject: bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file
Date: Tue, 12 Jan 2021 13:29:23 +0300
Yes, of course minibufferp is much cleaner - I just wasn't aware of its existence :)

But the problem still persists if I refactor the code to use it. Here's the code I used:

(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)

Actually even removing (not (minibufferp)) altogether has no effect on the issue.

Best regards,
Platon Pronko




This bug report was last modified 4 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.