GNU bug report logs -
#47150
28.0.50; Incorrect major-mode in minibuffer
Previous Next
Reported by: styang <at> fastmail.com
Date: Mon, 15 Mar 2021 00:58: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 #11 received at 47150 <at> debbugs.gnu.org (full text, mbox):
Hello, Sheng.
On Sun, Mar 14, 2021 at 19:57:09 -0500, styang <at> fastmail.com wrote:
> The major-mode in the minibuffer is incorrectly set to
> fundamental-mode, even when it is the first one.
Why is fundamental-mode incorrect for a minibuffer, and what should the
major mode be instead?
What problems does fundamental-mode give you in a minibuffer?
> Reproduce with the following steps:
> 1. emacs -q
> 2. Eval the following:
> (defun report-major-mode ()
> (message "mini-buffer major-mode is %s" major-mode))
> (add-hook 'minibuffer-setup-hook 'report-major-mode)
> 3. Press M-; to call eval-expression, which will report that the major-mode is fundamental-mode
> The offending commit is 636ef445af.
> In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.26, cairo version 1.17.4)
> of 2021-03-12 built on Desktop
> Repository revision: 592fabdc7f8d9c52c931843a153fdac67a302c30
> Repository branch: makepkg
> Windowing system distributor 'System Description: Arch Linux
[ .... ]
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 4 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.