From: Eason Huang <aqua0210@foxmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: Eli Zaretskii <eliz@gnu.org>, 60860@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 [thread overview]
Message-ID: <tencent_84256CDC816FAC616F62C8F9BE6895D0210A@qq.com> (raw)
In-Reply-To: <86cz7e4bz0.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 16 Jan 2023 19:37:39 +0200")
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
next prev parent reply other threads:[~2023-03-31 15:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-16 13:46 bug#60860: 29.0.60; set save-silently to t can not avoid messages when saving files Eason Huang
2023-01-16 14:30 ` Eli Zaretskii
2023-01-16 15:29 ` Eason Huang
2023-01-16 17:37 ` Juri Linkov
2023-03-31 15:30 ` Eason Huang [this message]
2023-03-31 15:56 ` Eli Zaretskii
2023-03-31 16:12 ` Eason Huang
2023-03-31 16:03 ` Juri Linkov
2023-03-31 16:22 ` Eason Huang
2023-04-01 9:51 ` Eli Zaretskii
2023-04-01 18:30 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_84256CDC816FAC616F62C8F9BE6895D0210A@qq.com \
--to=aqua0210@foxmail.com \
--cc=60860@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.