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

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

bug#56459: 29.0.50; Edebug disables Eldoc


From: Lars Ingebrigtsen
Subject: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Mon, 11 Jul 2022 12:49:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Max Brieiev <max.brieiev@gmail.com> writes:

> 5. Observe that while you are typing any expression, eldoc does not
>    display any hints in the echo area. (Same issue exists in any other
>    elisp buffer with eldoc mode enabled, while Edebug is active.)

This is due to this code:

;; Check various conditions about the current environment that might make
;; it undesirable to print eldoc messages right this instant.
(defun eldoc-display-message-no-interference-p ()
  "Return nil if displaying a message would cause interference."
  (not (or executing-kbd-macro
           (bound-and-true-p edebug-active)

This was added by:

commit 03a9c6d06a177fd9026779bcb952f906a7743690
Author:     Noah Friedman <friedman@splode.com>
AuthorDate: Mon Jul 24 00:38:34 2000 +0000

    (eldoc-display-message-no-interference-p): Don't interfere with edebug.

But it doesn't say in what way it interferes with edebug -- and removing
that line, I don't really see any interference?  But eldoc messages
things slightly different now than two decades ago...

Anybody know what this code is trying to do?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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