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


View this message in rfc822 format

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: bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files
Date: Fri, 31 Mar 2023 23:30:48 +0800
Juri Linkov <juri <at> linkov.net> writes:

>>> I tried to set save-silently to t, but the saving file message will
>>> still show on echo area, but it disappear immediately.
>>>
>>> Steps to reproduce:
>>>
>>> 1. emacs -Q to launch Emacs
>>> 2. eval (setq save-silently t)
>>> 3. C-x, C-f open any file and edit the file
>>> 4. C-x, C-s save the file
>>>    Now you will see the message showing in the echo area in a short time
>>
>> This is macOS specific, I think, due to differences in how redisplay
>> works on darwin.  I don't see this on GNU/Linux and on MS-Windows.  So
>> it looks like the implementation does what it's supposed to do, and
>> unless someone has ideas how to improve the result on macOS, I think
>> we should close this bug as wontfix.
>
> To do the same, in Emacs 29 it's possible to add all these strings
> like "Saving file..." to 'inhibit-message-regexps'.
>

Hi Juri,

Thanks for your advice.

I tried to set (setq inhibit-message-regexps "^Saving"), but the message
in acho area still exist when saving file.

@Eli, I aslo tried Emacs 28.2, (setq save-silently t) works as
expected.


-- 
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.