Subject: Re: bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files

From: Eason Huang <[email-masked]>
Date: Sat, 01 Apr 2023 00:22:03 +0800

Juri Linkov <[email-masked]> 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