GNU bug report logs - #77257
inhibit-message should inhibit echo area clearing too

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Tue, 25 Mar 2025 19:00:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ship Mints <shipmints <at> gmail.com>
Cc: dancol <at> dancol.org, monnier <at> iro.umontreal.ca, 77257 <at> debbugs.gnu.org
Subject: Re: bug#77257: inhibit-message should inhibit echo area clearing too
Date: Thu, 27 Mar 2025 08:12:04 +0200
> From: Ship Mints <shipmints <at> gmail.com>
> Date: Wed, 26 Mar 2025 15:40:02 -0400
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Daniel Colascione <dancol <at> dancol.org>, 77257 <at> debbugs.gnu.org
> 
> On Wed, Mar 26, 2025 at 3:22 PM Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of
> text editors <bug-gnu-emacs <at> gnu.org> wrote:
> 
>  >> (let ((inhibit-message t)) (message "blah")) has the effect of clearing
>  >> the echo area.  I'd expect the semantic of inhibit-message to be
>  >> preventing all visible side effects of message --- not just some
>  >> of them.
>  >
>  > If we disable clearing the echo area in that case, should we also
>  > refrain from running echo-area-clear-hook?
>  >
>  > Stefan, do you see any potential problems in inhibiting clearing of
>  > the echo area when inhibit-message is bound to a non-nil value?
> 
>  I'm not sufficiently familiar with the internals of `message` to have
>  a firm opinion, but it seems to make sense to inhibit *all* the effects.
> 
> I bind (message-log-max nil) when I want message to be super quiet.

That's unrelated: it controls the logging of messages in the
*Messages* buffer, not their display.  Binding inhibit-message non-nil
doesn't affect the logging in *Messages* in any way, nor should it.




This bug report was last modified 95 days ago.

Previous Next


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