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

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

bug#41781: 27.0.91; [PATCH] Eldoc describes the wrong function when read


From: Stefan Monnier
Subject: bug#41781: 27.0.91; [PATCH] Eldoc describes the wrong function when reading an expression from the minibuffer
Date: Tue, 23 Jun 2020 10:09:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> Then you'd create an `emacs-lisp-minibuffer-mode` by deriving from
>> some "normal" `minibuffer-local-mode`.
> Do you suppose it might be sensible to rename
> `minibuffer-inactive-mode' to `minibuffer-local-mode' right away (or
> `minibuffer-mode', `minibuffer-base-mode', or some such)?

No, the `minibuffer-inactive-mode` is the mode used when *not* in the 
minibuffer.
Its main purpose is to install a special keymap (which can basically
only be really used when you have a separate minibuffer frame).

> Right now, unless overridden by eshell or another package like it, the
> minibuffer is always in `minibuffer-inactive-mode',

I don't think that's true in the sense of "you get the behavior of
minibuffer-inactive-mode" (most importantly you don't get its keymap).
It may be true in the sense of "that's what `major-mode` says", but
that's rather irrelevant.


        Stefan






reply via email to

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