GNU bug report logs - #36886
26.2; (global-eldoc-mode -1) should disable eldoc completely

Previous Next

Package: emacs;

Reported by: Sanel Zukan <sanelz <at> gmail.com>

Date: Thu, 1 Aug 2019 10:31:02 UTC

Severity: normal

Tags: fixed

Found in version 26.2

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Štěpán Němec <stepnem <at> gmail.com>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: sanelz <at> gmail.com, 36886 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> gmail.com>
Subject: bug#36886: 26.2; (global-eldoc-mode -1) should disable eldoc completely
Date: Sun, 04 Aug 2019 11:00:19 +0200
On Sun, 04 Aug 2019 10:51:08 +0300
Basil L. Contovounesios wrote:

>> +  (if global-eldoc-mode
>> +      (add-hook 'eval-expression-minibuffer-setup-hook #'eldoc-mode)
>> +    (remove-hook 'eval-expression-minibuffer-setup-hook #'eldoc-mode)))
>
> This looks fine to me (the only alternative I can think of is creating a
> new major mode specifically for read--expression) [...]

...which actually sounds like it could be a real improvement in other
respects, too: many users seem to be trying to make M-: more convenient
(better completion, possibly syntax highlighting, paredit etc.); this
looks like a good way to make that easier or even unnecessary by default
(deriving from emacs-lisp-mode).

-- 
Štěpán




This bug report was last modified 5 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.