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


Message #32 received at 45792 <at> debbugs.gnu.org (full text, mbox):

From: Platon Pronko <platon7pronko <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: martin rudalics <rudalics <at> gmx.at>, 45792 <at> debbugs.gnu.org
Subject: Re: 28.0.50; regression in commit c7c154bb, minibuffer is not closed
 after opening a file
Date: Sun, 31 Jan 2021 15:11:11 +0300
Hi!

Tested the commit, the issue is gone - both with and without (not (minibufferp)).

However I noticed that (minibufferp) can return nil when it is called on *Minibuf-1* (I noticed this when suddenly dvorak was enabled in minibuffer even though (not (minibufferp)) guard was still in the code).

Here's some debug code I used to check minibufferp return:

(define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil
  (message (format "%s %s" (buffer-name (current-buffer)) (minibufferp)))
  (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)

And here's sample output in the *Message* buffer:

For information about GNU Emacs and the GNU system, type C-h C-a.
*scratch* nil
Loading quail/latin-post...done
 *Minibuf-0* t
*Messages* nil
 *Echo Area 0* nil
 *Echo Area 1* nil
 *load* nil
 *Minibuf-1* nil  <<-- here it thinks that Minibuf-1 is not a minibuffer
 *Minibuf-0* t

Is this supposed to happen?

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.