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


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

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

> I think it's simpler that way: `global-eldoc-mode' adds its stuff to the
> global hook bindings.  Thus toggling the global mode has an instant
> effect on all buffers.  The globalized local eldoc mode would only have
> an effect in new buffers or after changing the major mode.

That's not true: turning off a globalized mode turns off the related 
minor mode in all buffers. So, instant effect as well.

The current implementation, however, is not "simpler": both modes set up 
hooks. For some reasons, they also do that in slightly different ways.

> What exactly is this bug report about (this question, or the statement
> in the subject, for which you didn't provide a recipe)?

I did provide a recipe, in the bug description.




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.