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

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

bug#36886: 26.2; (global-eldoc-mode -1) should disable eldoc completely


From: Sanel Zukan
Subject: bug#36886: 26.2; (global-eldoc-mode -1) should disable eldoc completely
Date: Fri, 02 Aug 2019 14:36:51 +0200
User-agent: Notmuch/0.28.2 (https://notmuchmail.org)

Thanks for detail explanation Basil!

"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> Sanel Zukan <sanelz@gmail.com> writes:
>
>> Here is how to reproduce it with emacs -Q:
>>
>> 1. $ emacs -Q
>> 2. M-x (global-eldoc-mode -1)
>> ;; by not it should be disabled in mode-line, but if you do this:
>> 3. M-: (fboundp '    <-- after entering apostrophe, eldoc will show
>> 'fboundp' protoype in mode-line.
>>
>> Also after (global-eldoc-mode -1), I don't see anwyhere in eldoc.el code
>> that eldoc-message-function is changed.
>
> AFAICT eldoc-message-function doesn't need to be changed because it
> isn't called when eldoc-mode is disabled.
>
> The reason it ends up being called in your example is that M-:
> explicitly and unconditionally enables eldoc-mode in the minibuffer.
>
> Dmitry suggested making this behaviour conditional as a workaround, but
> ultimately it would probably be best to try fixing bug#27202 without
> messing with eldoc-mode in read--expression.
>
> Thanks,
>
> -- 
> Basil





reply via email to

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