all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sat, 01 Apr 2023 00:22:03 +0800	[thread overview]
Message-ID: <tencent_141B3CE0256B319B4472B82F31256F48A108@qq.com> (raw)
In-Reply-To: <86a5zsgbwf.fsf@mail.linkov.net> (Juri Linkov's message of "Fri,  31 Mar 2023 19:03:16 +0300")

Juri Linkov <juri@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






  reply	other threads:[~2023-03-31 16:22 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
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 [this message]
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_141B3CE0256B319B4472B82F31256F48A108@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.