GNU bug report logs - #19853
25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Fri, 13 Feb 2015 11:57:01 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 26.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 19853 <at> debbugs.gnu.org
Subject: bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mode is enabled or not)
Date: Sun, 20 Mar 2016 21:27:09 +0200
On 03/20/2016 09:20 PM, Michael Heerdegen wrote:

> Turning on the globalized local hook would not have an immediate effect
> on the affected buffers I think.

Not sure what you mean. Globalized local hook?

If globalized mode was off, and you turn it on, it turns on the local 
mode in all relevant buffers, right away.

Just try it with e.g. global-font-lock-mode.

> Yes, in your recipe in the bug description.  My question was what you
> meant with that.

Displaying, or not displaying, function signatures in the echo area.

>> - The behavior is surprising if you're used to globalized minor modes.
>
> What behavior do you mean, apart from the next point?

Compare with font-lock-mode and global-font-lock-mode.

> That's a valid point, the current implementation doesn't cover this
> case.  I think
>
>   (setq-local global-eldoc-mode nil)
>
> should work, but it looks weird, and it should not be necessary to
> modify a variable after we already have two modes.

Yes, it looks silly, and might even break some expectations of the minor 
mode machinery.




This bug report was last modified 8 years and 50 days ago.

Previous Next


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