[Top][All Lists]

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

Re: [External] : messages to *Messages* without appearing in mini-buffer

From: Michael Heerdegen
Subject: Re: [External] : messages to *Messages* without appearing in mini-buffer?
Date: Fri, 12 Nov 2021 05:28:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <> writes:

> Ok, if you have the time to rewrite significant parts of Emacs before
> every single command call ...but most people don't.  That's why
> programmers invented variables.

I'm sorry about the irony.

Special variables exist to make it possible that one and the same code
behaves differently, depending on the context of the caller.

With `inhibit-message' you can shut up code that normally everybody
wants to display messages, but in some special use case, it would be
distracting or irrelevant.  Please have a look at the examples in the
sources and see why a function wouldn't help in a lot of these cases.

The second point is that calling `message' only for logging is quite
rare, so we only have the variable.


reply via email to

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