GNU bug report logs - #60860
29.0.60; set save-silently to t can not avoid messages when saving files

Previous Next

Package: emacs;

Reported by: From: Eason Huang <aqua0210 <at> foxmail.com>

Date: Mon, 16 Jan 2023 13:47:02 UTC

Severity: normal

Found in version 29.0.60

Full log


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

From: Eason Huang <aqua0210 <at> foxmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 60860 <at> debbugs.gnu.org
Subject: Re: bug#60860: 29.0.60; set save-silently to t can not avoid
 messages when saving files
Date: Sat, 01 Apr 2023 00:22:03 +0800
Juri Linkov <juri <at> linkov.net> writes:

>>> To do the same, in Emacs 29 it's possible to add all these strings
>>> like "Saving file..." to 'inhibit-message-regexps'.
>>
>> I tried to set (setq inhibit-message-regexps "^Saving"), but the message
>> in acho area still exist when saving file.
>
> Please also customize 'set-message-functions' so that its first element
> is 'inhibit-message'.  Also 'inhibit-message-regexps' should be a list.
> These settings should disable the message:
>
>   (setq inhibit-message-regexps '("^Saving"))
>   (setq set-message-functions '(inhibit-message))
>

Great, this setting works as expected:

```
(setq inhibit-message-regexps '("^Saving" "^Wrote"))
(setq set-message-functions '(inhibit-message))
```
-- 
Eason Huang





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

Previous Next


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