[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60860: 29.0.60; set save-silently to t can not avoid messages when s
From: |
Eason Huang |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Juri Linkov <juri@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
- bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files,
Eason Huang <=