GNU bug report logs - #58788
29.0.50; [PATCH] Respect inhibit-message

Previous Next

Package: emacs;

Reported by: dick.r.chiang <at> gmail.com

Date: Wed, 26 Oct 2022 05:08:02 UTC

Severity: wishlist

Tags: notabug, patch

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: dick.r.chiang <at> gmail.com
Cc: 58788 <at> debbugs.gnu.org
Subject: bug#58788: 29.0.50; [PATCH] Respect inhibit-message
Date: Thu, 27 Oct 2022 19:50:50 +0300
> From: dick.r.chiang <at> gmail.com
> Date: Tue, 25 Oct 2022 17:03:53 -0400
> 
> It's borderline criminal that the echo area gets cleared
> when inhibit-message is true.

No documentation promised that the previous message will not be
cleared when inhibit-message is set.  We just avoid displaying new
messages.

We could extend the mechanism to allow it to prevent the clearing as
well, but that would probably mean inhibit-message will have to be a
tristate, because by now it's too late to change what its non-nil
value produces.  So we'd need to introduce a special value (not nil
and not t) which will have this effect.

> * doc/lispref/display.texi (Displaying Messages): Revert 164a7eb.
> * lisp/minibuffer.el (clear-minibuffer-message): Revert 164a7eb.
> * src/xdisp.c (message3): Remove errant clear_message() from 2004.

I don't understand what that has to do with the dont-clear-message
thingy.  That is about something else: it prevents clearing the
message when there's an input event, like if the user types some key.
I see no reason why we should remove that feature.

> +(ert-deftest xdisp-tests--respect-inhibit-message ()
> +  "It's borderline criminal that inhibit-message still clears echo area."

Please keep your contempt for other people out of the patches, if you
want them applied.




This bug report was last modified 2 years and 192 days ago.

Previous Next


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