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

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

bug#19853: Acknowledgement (25.0.50; ElDoc is displayed whether eldoc-mo


From: Dmitry Gutov
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0

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.





reply via email to

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