From: Juri Linkov <juri@linkov.net>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 73986@debbugs.gnu.org
Subject: bug#73986: 31.0.50; Allow suppressing message passed to set-transient-map
Date: Thu, 24 Oct 2024 20:12:20 +0300 [thread overview]
Message-ID: <86cyjps9vv.fsf@mail.linkov.net> (raw)
In-Reply-To: <874j51r3xd.fsf@gmx.net> (Stephen Berman via's message of "Thu, 24 Oct 2024 16:06:22 +0200")
> If a caller of set-transient-map passes a suitable format string, this
> is displayed as a message on activating the transient map. An example
> is text-scale-adjust, which displays the message "Use +, =, -, 0, C-+,
> C-=, C--, C-0 for further adjustment". So if after typing `C-x C-+' you
> immediately type `+ + + - - -', the text size increases three times and
> then decreases three times. But on each key press the message is
> redisplayed, which is slighty annoying (it actually looks like it stays
> in the echo area but there is a brief flicker on each key press); the
> message is helpful the first time, if you're unfamiliar with the
> command, but on repeated uses, it becomes visual noise. So I propose a
> user option to suppress the message, as in the attached patch.
Instead of adding a myriad of user options for every command
that displays a message, we decided to create a single point
of customization, so you could just set these options:
(add-to-list 'set-message-functions 'inhibit-message)
(add-to-list 'inhibit-message-regexps "for further adjustment")
next prev parent reply other threads:[~2024-10-24 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 14:06 bug#73986: 31.0.50; Allow suppressing message passed to set-transient-map Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-24 17:12 ` Juri Linkov [this message]
2024-10-24 18:12 ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86cyjps9vv.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=73986@debbugs.gnu.org \
--cc=stephen.berman@gmx.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.