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 #52 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 22:24:20 +0200
On 03/20/2016 09:53 PM, Michael Heerdegen wrote:

> If we want the global mode to push its stuff into the global hook
> bindings, and not into all the local hook bindings in every single
> buffer where the mode is applicable - can we achieve this with
> `define-globalized-minor-mode'?

You could use :after-hook argument.

But it doesn't seem like what we should in do cases like this: what 
would (eldoc-mode -1) do if the globalized mode has modified the global 
hook values? We can't modify those locally.

> And then, I think making `define-globalized-minor-mode' accept a BODY
> argument would be good - a globalized minor mode might want to do some
> global setup.

Again, see the mention of :after-hook in the define-minor-mode 
docstring. It works in the globalized definitions as well.




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.