GNU bug report logs - #56459
29.0.50; Edebug disables Eldoc

Previous Next

Package: emacs;

Reported by: Max Brieiev <max.brieiev <at> gmail.com>

Date: Sat, 9 Jul 2022 07:24:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 30.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56459 in the body.
You can then email your comments to 56459 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Sat, 09 Jul 2022 07:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Max Brieiev <max.brieiev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Jul 2022 07:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Max Brieiev <max.brieiev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Edebug disables Eldoc
Date: Sat, 09 Jul 2022 10:23:51 +0300
1. emacs -Q

2. Instrument any function, e.g. in the scratch buffer type:

    (defun one () (+ 1))

and press C-u C-M-x

3. Run the function, e.g. M-: (one) RET

4. After Edebug reaches stop point, type E to enter eval list buffer

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.)

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
Windowing system distributor 'The X.Org Foundation', version 11.0.12101002
System Description: Guix System

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
 SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash
 --prefix=/gnu/store/gkk3pa8yb1b2fi5qjgdr99mnyqky2d7n-emacs-next-git.master
 --enable-fast-install --with-modules --with-cairo
 --disable-build-details'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $EMACSLOADPATH: /home/max/.guix-profile/share/emacs/site-lisp:/gnu/store/gkk3pa8yb1b2fi5qjgdr99mnyqky2d7n-emacs-next-git.master/share/emacs/29.0.50/lisp
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  paredit-mode: t
  hl-line-mode: t
  global-corfu-mode: t
  corfu-mode: t
  marginalia-mode: t
  vertico-mode: t
  savehist-mode: t
  recentf-mode: t
  pixel-scroll-precision-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  hs-minor-mode: t

Load-path shadows:
/home/max/.emacs.d/elpa/transient-20220527.2213/transient hides /gnu/store/gkk3pa8yb1b2fi5qjgdr99mnyqky2d7n-emacs-next-git.master/share/emacs/29.0.50/lisp/transient

Features:
(shadow sort mail-extr emacsbug rx mule-util cursor-sensor paredit-menu
paredit hideshow hl-line message yank-media puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
smtpmail sendmail rfc2047 rfc2045 ietf-drums gnus nnheader gnus-util
time-date mail-utils range mm-util mail-prsvr modus-operandi-theme
modus-themes pcase files-x consult-vertico consult compat-28 compat
bookmark text-property-search corfu orderless marginalia edmacro kmacro
vertico cus-edit pp cl-extra savehist recentf tree-widget wid-edit
pixel-scroll cua-base cus-load use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core guix-emacs corfu-autoloads eglot-autoloads
embark-consult-autoloads consult-autoloads embark-autoloads geiser-impl
help-fns radix-tree help-mode geiser-custom geiser-base ring
geiser-autoloads gif-screencast-autoloads js2-mode-autoloads
magit-autoloads git-commit-autoloads magit-section-autoloads
dash-autoloads marginalia-autoloads paredit-menu-autoloads
paredit-autoloads vertico-autoloads with-editor-autoloads info
compat-autoloads package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
emacs)

Memory information:
((conses 16 207102 11407)
 (symbols 48 16472 0)
 (strings 32 46004 1953)
 (string-bytes 1 1534072)
 (vectors 16 22677)
 (vector-slots 8 277940 20399)
 (floats 8 128 30)
 (intervals 56 559 0)
 (buffers 992 10))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Mon, 11 Jul 2022 10:50:01 GMT) Full text and rfc822 format available.

Message #8 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Max Brieiev <max.brieiev <at> gmail.com>
Cc: 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Mon, 11 Jul 2022 12:49:12 +0200
Max Brieiev <max.brieiev <at> 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 <at> 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




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 11 Jul 2022 10:50:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Mon, 11 Jul 2022 11:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Noah Friedman <friedman <at> splode.com>
Cc: max.brieiev <at> gmail.com, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Mon, 11 Jul 2022 14:52:59 +0300
> Cc: 56459 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Mon, 11 Jul 2022 12:49:12 +0200
> 
> Max Brieiev <max.brieiev <at> 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 <at> 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?

AFAIK nowadays 'message' displays echo-area messages in a way that
doesn't interfere with existing messages (it displays them in brackets
at the end of the existing text), so I think the original problem
should no longer exist.

Noah, can you verify that your original problem cannot be reproduced
if we remove the condition in eldoc-display-message-no-interference-p
that you added?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Mon, 01 Aug 2022 02:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: eliz <at> gnu.org
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Sun, 31 Jul 2022 18:59:49 -0700 (PDT)
Sorry I didn't see this message sooner.

I seem to recall that the eldoc messages (which would show up as you're
stepping through the debugger because point moves interactively) would
obsure the evaluation results that edebug prints for each sexp.  They both
use the echo area and they're both in the same recursive-edit level but the
echo area isn't currently active, so I'm not sure why `message' would
append below any existing message rather than replacing it.

If that's still the case, and I had to do it again I'd still prefer the
edebug messages over the eldoc ones when both are active at once.


In <83pmibzx0k.fsf <at> gnu.org> 2022-07-11 14:52:59+0300, Eli Zaretskii <eliz <at> gnu.org> writes:
>> Cc: 56459 <at> debbugs.gnu.org
>> From: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Date: Mon, 11 Jul 2022 12:49:12 +0200
>> 
>> Max Brieiev <max.brieiev <at> 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 <at> 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?
>
>AFAIK nowadays 'message' displays echo-area messages in a way that
>doesn't interfere with existing messages (it displays them in brackets
>at the end of the existing text), so I think the original problem
>should no longer exist.
>
>Noah, can you verify that your original problem cannot be reproduced
>if we remove the condition in eldoc-display-message-no-interference-p
>that you added?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Mon, 01 Aug 2022 02:53:02 GMT) Full text and rfc822 format available.

Message #19 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: eliz <at> gnu.org
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Sun, 31 Jul 2022 19:52:23 -0700 (PDT)
>Noah, can you verify that your original problem cannot be reproduced
>if we remove the condition in eldoc-display-message-no-interference-p
>that you added?

So in the current snapshot I'm running, 9dc0fdfdc1 (2022-07-02 07:04:32),
it looks like the check for edebug mode was removed already and the
behavior is still that only the edebug results are visible; that is,
eldoc's messages aren't covering up the edebug messages, but they aren't
showing up below them either and they're not even showing up in any mode
line.

So the practical upshot is, I see no change in behavior; whatever
motivated that change seems to be a non-issue now.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Mon, 01 Aug 2022 10:49:01 GMT) Full text and rfc822 format available.

Message #22 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noah Friedman <friedman <at> splode.com>
Cc: max.brieiev <at> gmail.com, eliz <at> gnu.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Mon, 01 Aug 2022 12:48:28 +0200
Noah Friedman <friedman <at> splode.com> writes:

> So in the current snapshot I'm running, 9dc0fdfdc1 (2022-07-02 07:04:32),
> it looks like the check for edebug mode was removed already

Sorry, I don't follow -- the code currently is

(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)
           ...

So the check for edebug is still there.

> and the behavior is still that only the edebug results are visible;
> that is, eldoc's messages aren't covering up the edebug messages, but
> they aren't showing up below them either and they're not even showing
> up in any mode line.
>
> So the practical upshot is, I see no change in behavior; whatever
> motivated that change seems to be a non-issue now.

If I remove that check, I don't see any problems -- stepping through the
code doesn't trigger eldoc, so there's no covering up of messages.  (But
moving the cursor after stepping triggers eldoc, but that seems fine.)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Tue, 02 Aug 2022 00:52:01 GMT) Full text and rfc822 format available.

Message #25 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: larsi <at> gnus.org
Cc: max.brieiev <at> gmail.com, eliz <at> gnu.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Mon, 01 Aug 2022 17:51:08 -0700 (PDT)
In <87sfmg1bpf.fsf <at> gnus.org> 2022-08-01 12:48:28+0200, Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>Noah Friedman <friedman <at> splode.com> writes:
>
>> So in the current snapshot I'm running, 9dc0fdfdc1 (2022-07-02 07:04:32),
>> it looks like the check for edebug mode was removed already
>
>Sorry, I don't follow -- the code currently is
>
>(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)
>           ...
>
>So the check for edebug is still there.

My mistake; I was looking in the wrong place.

>If I remove that check, I don't see any problems -- stepping through the
>code doesn't trigger eldoc, so there's no covering up of messages.  (But
>moving the cursor after stepping triggers eldoc, but that seems fine.)

That seems right to me too, so I'd vote for removing it.

This also serves as a useful reminder to me that I ought to do a better job
describing interaction problems in the first place, because I am not likely
to remember the details 22 years later!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Tue, 02 Aug 2022 09:59:01 GMT) Full text and rfc822 format available.

Message #28 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noah Friedman <friedman <at> splode.com>
Cc: max.brieiev <at> gmail.com, eliz <at> gnu.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Tue, 02 Aug 2022 11:58:17 +0200
Noah Friedman <friedman <at> splode.com> writes:

>>If I remove that check, I don't see any problems -- stepping through the
>>code doesn't trigger eldoc, so there's no covering up of messages.  (But
>>moving the cursor after stepping triggers eldoc, but that seems fine.)
>
> That seems right to me too, so I'd vote for removing it.

So I've now done that in Emacs 29.

> This also serves as a useful reminder to me that I ought to do a better job
> describing interaction problems in the first place, because I am not likely
> to remember the details 22 years later!

Yeah, it's hard to remember to put the rationale behind a change into
the change log because my brain often goes "well, it's self evident
why!" and then 20 years later, it's not...





bug marked as fixed in version 29.1, send any further explanations to 56459 <at> debbugs.gnu.org and Max Brieiev <max.brieiev <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 02 Aug 2022 09:59:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Aug 2022 11:24:08 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Dmitry Gutov <dgutov <at> yandex.ru> to control <at> debbugs.gnu.org. (Tue, 28 Feb 2023 01:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Tue, 28 Feb 2023 02:16:03 GMT) Full text and rfc822 format available.

Message #37 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Noah Friedman <friedman <at> splode.com>
Cc: max.brieiev <at> gmail.com, eliz <at> gnu.org, 56459 <at> debbugs.gnu.org
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Tue, 28 Feb 2023 04:15:41 +0200
Hi Lars and others,

On 01/08/2022 13:48, Lars Ingebrigtsen wrote:
>> and the behavior is still that only the edebug results are visible;
>> that is, eldoc's messages aren't covering up the edebug messages, but
>> they aren't showing up below them either and they're not even showing
>> up in any mode line.
>>
>> So the practical upshot is, I see no change in behavior; whatever
>> motivated that change seems to be a non-issue now.
> If I remove that check, I don't see any problems -- stepping through the
> code doesn't trigger eldoc, so there's no covering up of messages.  (But
> moving the cursor after stepping triggers eldoc, but that seems fine.)

What I'm seeing now, is stepping through Edebug often does invoke Eldoc, 
which triggers messages which do override edebug evaluations.

Which seems like a problem previously solved by that check.

Not sure if I've just started seeing this recently due to some later 
change (but neither eldoc nor edebug's history show anything relevant), 
or if I'd just actively been ignoring this for half a year.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Tue, 28 Feb 2023 13:05:02 GMT) Full text and rfc822 format available.

Message #40 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Tue, 28 Feb 2023 15:04:38 +0200
> Date: Tue, 28 Feb 2023 04:15:41 +0200
> Cc: max.brieiev <at> gmail.com, eliz <at> gnu.org, 56459 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> Hi Lars and others,
> 
> On 01/08/2022 13:48, Lars Ingebrigtsen wrote:
> >> and the behavior is still that only the edebug results are visible;
> >> that is, eldoc's messages aren't covering up the edebug messages, but
> >> they aren't showing up below them either and they're not even showing
> >> up in any mode line.
> >>
> >> So the practical upshot is, I see no change in behavior; whatever
> >> motivated that change seems to be a non-issue now.
> > If I remove that check, I don't see any problems -- stepping through the
> > code doesn't trigger eldoc, so there's no covering up of messages.  (But
> > moving the cursor after stepping triggers eldoc, but that seems fine.)
> 
> What I'm seeing now, is stepping through Edebug often does invoke Eldoc, 
> which triggers messages which do override edebug evaluations.
> 
> Which seems like a problem previously solved by that check.

Maybe.  I also sometimes see this, but just now trying Edebug on a
random function doesn't reproduce this.  Can you reproduce at will? if
so, can you show a recipe?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Tue, 28 Feb 2023 16:26:02 GMT) Full text and rfc822 format available.

Message #43 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Tue, 28 Feb 2023 18:25:07 +0200
On 28/02/2023 15:04, Eli Zaretskii wrote:
>> Date: Tue, 28 Feb 2023 04:15:41 +0200
>> Cc:max.brieiev <at> gmail.com,eliz <at> gnu.org,56459 <at> debbugs.gnu.org
>> From: Dmitry Gutov<dgutov <at> yandex.ru>
>>
>> Hi Lars and others,
>>
>> On 01/08/2022 13:48, Lars Ingebrigtsen wrote:
>>>> and the behavior is still that only the edebug results are visible;
>>>> that is, eldoc's messages aren't covering up the edebug messages, but
>>>> they aren't showing up below them either and they're not even showing
>>>> up in any mode line.
>>>>
>>>> So the practical upshot is, I see no change in behavior; whatever
>>>> motivated that change seems to be a non-issue now.
>>> If I remove that check, I don't see any problems -- stepping through the
>>> code doesn't trigger eldoc, so there's no covering up of messages.  (But
>>> moving the cursor after stepping triggers eldoc, but that seems fine.)
>> What I'm seeing now, is stepping through Edebug often does invoke Eldoc,
>> which triggers messages which do override edebug evaluations.
>>
>> Which seems like a problem previously solved by that check.
> Maybe.  I also sometimes see this, but just now trying Edebug on a
> random function doesn't reproduce this.  Can you reproduce at will? if
> so, can you show a recipe?

Sure:

1) Visit an .rb file (with ruby-mode).
2) Instrument ruby-smie-rules with edebug.
3) Switch to .rb file again and press TAB somewhere where it would call 
ruby-mode's indentation code.
4) Step through ruby-smie-rules with SPC, not too quickly.

That happens with 'emacs -Q', no extra setup needed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 15:43:02 GMT) Full text and rfc822 format available.

Message #46 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 01 Mar 2023 17:42:07 +0200
reopen 56459
thanks

> Date: Tue, 28 Feb 2023 18:25:07 +0200
> Cc: larsi <at> gnus.org, friedman <at> splode.com, max.brieiev <at> gmail.com,
>  56459 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> >> Which seems like a problem previously solved by that check.
> > Maybe.  I also sometimes see this, but just now trying Edebug on a
> > random function doesn't reproduce this.  Can you reproduce at will? if
> > so, can you show a recipe?
> 
> Sure:
> 
> 1) Visit an .rb file (with ruby-mode).
> 2) Instrument ruby-smie-rules with edebug.
> 3) Switch to .rb file again and press TAB somewhere where it would call 
> ruby-mode's indentation code.
> 4) Step through ruby-smie-rules with SPC, not too quickly.
> 
> That happens with 'emacs -Q', no extra setup needed.

You are right.  It turns out we didn't see the ElDoc messages because
in many Lisp codes stepping with Edebug leaves point in places where
ElDoc has nothing to say.  But as soon as it does, it does say, and by
doing that overwrites the evaluation results in the echo area.

So I've now reverted that change, and I'm reopening the bug.  It will
have to be fixed in some other way.




bug No longer marked as fixed in versions 29.1 and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Mar 2023 15:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 15:50:02 GMT) Full text and rfc822 format available.

Message #51 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: dgutov <at> yandex.ru
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 01 Mar 2023 17:49:52 +0200
> Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
>  friedman <at> splode.com
> Date: Wed, 01 Mar 2023 17:42:07 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> So I've now reverted that change, and I'm reopening the bug.  It will
> have to be fixed in some other way.

One possibility would be to show the ElDoc info on the mode line when
Edebug is active.  But the difficulty with that is to figure out how
to revert the mode line to the original shape when Edebug finishes.
We currently show the info on the mdoe line when the current buffer is
a minibuffer, and remove the info in minibuffer-exit-hook, but how to
do that in the Edebug case?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 16:08:01 GMT) Full text and rfc822 format available.

Message #54 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 18:06:56 +0200
On 01/03/2023 17:49, Eli Zaretskii wrote:
>> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
>>   friedman <at> splode.com
>> Date: Wed, 01 Mar 2023 17:42:07 +0200
>> From: Eli Zaretskii<eliz <at> gnu.org>
>>
>> So I've now reverted that change, and I'm reopening the bug.  It will
>> have to be fixed in some other way.
> One possibility would be to show the ElDoc info on the mode line when
> Edebug is active.  But the difficulty with that is to figure out how
> to revert the mode line to the original shape when Edebug finishes.
> We currently show the info on the mdoe line when the current buffer is
> a minibuffer, and remove the info in minibuffer-exit-hook, but how to
> do that in the Edebug case?

edebug-mode-hook?

This seems to work:

diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 3f5cf0ad0dc..01b48b0f45b 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -296,9 +296,12 @@ eldoc-minibuffer-message
 This function displays the message produced by formatting ARGS
 with FORMAT-STRING on the mode line when the current buffer is a 
minibuffer.
 Otherwise, it displays the message like `message' would."
-  (if (minibufferp)
+  (defvar edebug-active)
+  (if (or edebug-active (minibufferp))
       (progn
-	(add-hook 'minibuffer-exit-hook
+        (add-hook (if (minibufferp)
+                      'minibuffer-exit-hook
+                    'edebug-mode-hook)
 		  (lambda () (setq eldoc-mode-line-string nil
 			      ;; https://debbugs.gnu.org/16920
 			      eldoc-last-message nil))






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 16:58:02 GMT) Full text and rfc822 format available.

Message #57 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 01 Mar 2023 18:57:23 +0200
> Date: Wed, 1 Mar 2023 18:06:56 +0200
> Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
>  friedman <at> splode.com
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> On 01/03/2023 17:49, Eli Zaretskii wrote:
> >> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
> >>   friedman <at> splode.com
> >> Date: Wed, 01 Mar 2023 17:42:07 +0200
> >> From: Eli Zaretskii<eliz <at> gnu.org>
> >>
> >> So I've now reverted that change, and I'm reopening the bug.  It will
> >> have to be fixed in some other way.
> > One possibility would be to show the ElDoc info on the mode line when
> > Edebug is active.  But the difficulty with that is to figure out how
> > to revert the mode line to the original shape when Edebug finishes.
> > We currently show the info on the mdoe line when the current buffer is
> > a minibuffer, and remove the info in minibuffer-exit-hook, but how to
> > do that in the Edebug case?
> 
> edebug-mode-hook?

That's a starting point, but I don't think it's enough, because you
could switch to another buffer without exiting Edebug.  I tried
something like that and it didn't work well enough.  But maybe my
testing was incorrect, so if you are confident that this fixes the
problem, feel free to install (perhaps on master, though).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 18:26:01 GMT) Full text and rfc822 format available.

Message #60 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Max Brieiev <max.brieiev <at> gmail.com>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 friedman <at> splode.com, 56459 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 18:25:04 +0000
[Message part 1 (text/plain, inline)]
I think there's a decent place in eldoc.el to do this check, though we
should take care not to require edebug.el in eldoc.el.

I'll look at it later, but I think if one searches for the phrase "check if
we have permission to mess with the echo area at all", or something to that
effect, one would see it.

João

On Wed, Mar 1, 2023, 16:59 Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Date: Wed, 1 Mar 2023 18:06:56 +0200
> > Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
> >  friedman <at> splode.com
> > From: Dmitry Gutov <dgutov <at> yandex.ru>
> >
> > On 01/03/2023 17:49, Eli Zaretskii wrote:
> > >> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
> > >>   friedman <at> splode.com
> > >> Date: Wed, 01 Mar 2023 17:42:07 +0200
> > >> From: Eli Zaretskii<eliz <at> gnu.org>
> > >>
> > >> So I've now reverted that change, and I'm reopening the bug.  It will
> > >> have to be fixed in some other way.
> > > One possibility would be to show the ElDoc info on the mode line when
> > > Edebug is active.  But the difficulty with that is to figure out how
> > > to revert the mode line to the original shape when Edebug finishes.
> > > We currently show the info on the mdoe line when the current buffer is
> > > a minibuffer, and remove the info in minibuffer-exit-hook, but how to
> > > do that in the Edebug case?
> >
> > edebug-mode-hook?
>
> That's a starting point, but I don't think it's enough, because you
> could switch to another buffer without exiting Edebug.  I tried
> something like that and it didn't work well enough.  But maybe my
> testing was incorrect, so if you are confident that this fixes the
> problem, feel free to install (perhaps on master, though).
>
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 18:43:01 GMT) Full text and rfc822 format available.

Message #63 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, friedman <at> splode.com,
 56459 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 01 Mar 2023 20:42:35 +0200
> From: João Távora <joaotavora <at> gmail.com>
> Date: Wed, 1 Mar 2023 18:25:04 +0000
> Cc: Dmitry Gutov <dgutov <at> yandex.ru>, Max Brieiev <max.brieiev <at> gmail.com>, 
> 	Lars Ingebrigtsen <larsi <at> gnus.org>, 56459 <at> debbugs.gnu.org, friedman <at> splode.com
> 
> I think there's a decent place in eldoc.el to do this check, though we should take care not to require
> edebug.el in eldoc.el.
> 
> I'll look at it later, but I think if one searches for the phrase "check if we have permission to mess with the
> echo area at all", or something to that effect, one would see it.

The condition which was misfiring is in
eldoc-display-message-no-interference-p, which is called by that
place.  So the problem is not _where_ to make the test, the problem is
what should the test be to avoid overwriting Edebug evaluation results
with ElDoc stuff.  I couldn't find an indication we could depend on to
distinguish stepping through Lisp from typing in the buffer popped by
'E', for example.  Every test I tried either succeeded in both cases
or failed in both cases.

Of course, I'm nowhere near being an expert on Edebug's internals, so
I might be missing something.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 19:12:01 GMT) Full text and rfc822 format available.

Message #66 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, friedman <at> splode.com,
 56459 <at> debbugs.gnu.org, dgutov <at> yandex.ru
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 19:11:12 +0000
On Wed, Mar 1, 2023 at 6:42 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: João Távora <joaotavora <at> gmail.com>
> > Date: Wed, 1 Mar 2023 18:25:04 +0000
> > Cc: Dmitry Gutov <dgutov <at> yandex.ru>, Max Brieiev <max.brieiev <at> gmail.com>,
> >       Lars Ingebrigtsen <larsi <at> gnus.org>, 56459 <at> debbugs.gnu.org, friedman <at> splode.com
> >
> > I think there's a decent place in eldoc.el to do this check, though we should take care not to require
> > edebug.el in eldoc.el.
> >
> > I'll look at it later, but I think if one searches for the phrase "check if we have permission to mess with the
> > echo area at all", or something to that effect, one would see it.
>
> The condition which was misfiring is in
> eldoc-display-message-no-interference-p, which is called by that
> place.  So the problem is not _where_ to make the test, the problem is
> what should the test be to avoid overwriting Edebug evaluation results
> with ElDoc stuff.  I couldn't find an indication we could depend on to
> distinguish stepping through Lisp from typing in the buffer popped by
> 'E', for example.  Every test I tried either succeeded in both cases
> or failed in both cases.

Sorry, I misunderstood the problem.  In fact I didn't know about Edebug's
E at all.

João



--
João Távora




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 19:20:02 GMT) Full text and rfc822 format available.

Message #69 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 21:19:05 +0200
On 01/03/2023 18:57, Eli Zaretskii wrote:
>> Date: Wed, 1 Mar 2023 18:06:56 +0200
>> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
>>   friedman <at> splode.com
>> From: Dmitry Gutov<dgutov <at> yandex.ru>
>>
>> On 01/03/2023 17:49, Eli Zaretskii wrote:
>>>> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
>>>>    friedman <at> splode.com
>>>> Date: Wed, 01 Mar 2023 17:42:07 +0200
>>>> From: Eli Zaretskii<eliz <at> gnu.org>
>>>>
>>>> So I've now reverted that change, and I'm reopening the bug.  It will
>>>> have to be fixed in some other way.
>>> One possibility would be to show the ElDoc info on the mode line when
>>> Edebug is active.  But the difficulty with that is to figure out how
>>> to revert the mode line to the original shape when Edebug finishes.
>>> We currently show the info on the mdoe line when the current buffer is
>>> a minibuffer, and remove the info in minibuffer-exit-hook, but how to
>>> do that in the Edebug case?
>> edebug-mode-hook?
> That's a starting point, but I don't think it's enough, because you
> could switch to another buffer without exiting Edebug.  I tried
> something like that and it didn't work well enough.  But maybe my
> testing was incorrect, so if you are confident that this fixes the
> problem, feel free to install (perhaps on master, though).

We could try to use more hooks, or give up and use post-command-hook.

Also switched to looking up edebug-mode instead of edebug-active because 
the latter is a global value.

diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 3f5cf0ad0dc..493ec18446f 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -296,13 +296,10 @@ eldoc-minibuffer-message
 This function displays the message produced by formatting ARGS
 with FORMAT-STRING on the mode line when the current buffer is a 
minibuffer.
 Otherwise, it displays the message like `message' would."
-  (if (minibufferp)
+  (defvar edebug-mode)
+  (if (or edebug-mode (minibufferp))
       (progn
-	(add-hook 'minibuffer-exit-hook
-		  (lambda () (setq eldoc-mode-line-string nil
-			      ;; https://debbugs.gnu.org/16920
-			      eldoc-last-message nil))
-		  nil t)
+        (add-hook 'post-command-hook #'eldoc-minibuffer--cleanup)
 	(with-current-buffer
 	    (window-buffer
 	     (or (window-in-direction 'above (minibuffer-window))
@@ -321,6 +318,14 @@ eldoc-minibuffer-message
           (force-mode-line-update)))
     (apply #'message format-string args)))

+(defun eldoc-minibuffer--cleanup ()
+  (defvar edebug-mode)
+  (unless (or edebug-mode (minibufferp))
+    (setq eldoc-mode-line-string nil
+          ;; https://debbugs.gnu.org/16920
+          eldoc-last-message nil)
+    (remove-hook 'post-command-hook #'eldoc-minibuffer--cleanup)))
+
 (make-obsolete
  'eldoc-message "use `eldoc-documentation-functions' instead." 
"eldoc-1.1.0")
 (defun eldoc-message (&optional string) (eldoc--message string))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 19:26:01 GMT) Full text and rfc822 format available.

Message #72 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 01 Mar 2023 21:25:46 +0200
> Date: Wed, 1 Mar 2023 21:19:05 +0200
> Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
>  friedman <at> splode.com
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> > That's a starting point, but I don't think it's enough, because you
> > could switch to another buffer without exiting Edebug.  I tried
> > something like that and it didn't work well enough.  But maybe my
> > testing was incorrect, so if you are confident that this fixes the
> > problem, feel free to install (perhaps on master, though).
> 
> We could try to use more hooks, or give up and use post-command-hook.
> 
> Also switched to looking up edebug-mode instead of edebug-active because 
> the latter is a global value.

SGTM, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 19:41:01 GMT) Full text and rfc822 format available.

Message #75 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 21:39:57 +0200
On 01/03/2023 21:25, Eli Zaretskii wrote:
> SGTM, thanks.

Only master, right?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 19:59:02 GMT) Full text and rfc822 format available.

Message #78 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org,
 56459 <at> debbugs.gnu.org, friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 19:58:25 +0000
> +  (defvar edebug-mode)
> +  (unless (or edebug-mode (minibufferp))

Doesn't it need sth like bound-and-true-p?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Wed, 01 Mar 2023 21:37:02 GMT) Full text and rfc822 format available.

Message #81 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: João Távora <joaotavora <at> gmail.com>
Cc: max.brieiev <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, larsi <at> gnus.org,
 56459 <at> debbugs.gnu.org, friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Wed, 1 Mar 2023 23:36:48 +0200
On 01/03/2023 21:58, João Távora wrote:
>> +  (defvar edebug-mode)
>> +  (unless (or edebug-mode (minibufferp))
> Doesn't it need sth like bound-and-true-p?

Fair question, I suppose it does.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56459; Package emacs. (Thu, 02 Mar 2023 06:09:02 GMT) Full text and rfc822 format available.

Message #84 received at 56459 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Thu, 02 Mar 2023 08:08:40 +0200
> Date: Wed, 1 Mar 2023 21:39:57 +0200
> Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459 <at> debbugs.gnu.org,
>  friedman <at> splode.com
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> On 01/03/2023 21:25, Eli Zaretskii wrote:
> > SGTM, thanks.
> 
> Only master, right?

Yes, please.




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Sat, 04 Mar 2023 00:44:02 GMT) Full text and rfc822 format available.

Notification sent to Max Brieiev <max.brieiev <at> gmail.com>:
bug acknowledged by developer. (Sat, 04 Mar 2023 00:44:02 GMT) Full text and rfc822 format available.

Message #89 received at 56459-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: max.brieiev <at> gmail.com, larsi <at> gnus.org, 56459-done <at> debbugs.gnu.org,
 friedman <at> splode.com
Subject: Re: bug#56459: 29.0.50; Edebug disables Eldoc
Date: Sat, 4 Mar 2023 02:43:28 +0200
Version: 30.1

On 02/03/2023 08:08, Eli Zaretskii wrote:
>> Date: Wed, 1 Mar 2023 21:39:57 +0200
>> Cc:max.brieiev <at> gmail.com,larsi <at> gnus.org,56459 <at> debbugs.gnu.org,
>>   friedman <at> splode.com
>> From: Dmitry Gutov<dgutov <at> yandex.ru>
>>
>> On 01/03/2023 21:25, Eli Zaretskii wrote:
>>> SGTM, thanks.
>> Only master, right?
> Yes, please.

Pushed, and closing again. :-)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Apr 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 26 days ago.

Previous Next


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