GNU bug report logs - #41781
27.0.91; [PATCH] Eldoc describes the wrong function when reading an expression from the minibuffer

Previous Next

Package: emacs;

Reported by: Daniel Koning <dk <at> danielkoning.com>

Date: Wed, 10 Jun 2020 02:57:02 UTC

Severity: minor

Tags: patch

Found in version 27.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Daniel Koning <dk <at> danielkoning.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 41781 <at> debbugs.gnu.org
Subject: Re: bug#41781: 27.0.91; [PATCH] Eldoc describes the wrong function
 when reading an expression from the minibuffer
Date: Tue, 23 Jun 2020 11:42:39 -0500
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> 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.

I see your point, but I doubt most users and elisp writers would agree
that it's irrelevant what the value of `major-mode' says in plain
English. We should be able to count on drawing some conclusions from it.

Generally, the use of one major for two very different keymaps and
program states (while circumventing the problems by changing things à la
carte) strikes me as a pattern worth deprecating. But I think we agree
on that.

Daniel




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

Previous Next


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