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

From: "Basil L. Contovounesios" <[email-masked]>
Date: Thu, 01 Aug 2019 14:37:51 +0300

Sanel Zukan <[email-masked]> writes:

> When Emacs is run with (global-eldoc-mode -1), eldoc is not completely
> disabled because it will show function arguments inside mode-line.
>
> I believe intention behind (global-eldoc-mode -1) should be that all
> eldoc facility gets disabled. Right now, the only way to stop poping
> stuff in mode-line is this:
>
>  (setq-default eldoc-message-function 'ignore)

CCing Dmitry, who explicitly enabled eldoc-mode in read--expression as
part of bug#27202: https://debbugs.gnu.org/27202.

My gut says that bug should be fixable within eldoc.el, without having
to tweak read--expression, but I'm not familiar with eldoc.

Thanks,

-- 
Basil