From: Leo <sdl.web@gmail.com>
To: 12849@debbugs.gnu.org
Subject: bug#12849: 24.2.50; Doc: `message': mention `message-log-max'
Date: Sat, 10 Nov 2012 12:51:32 +0800 [thread overview]
Message-ID: <m2ehk25acr.fsf@gmail.com> (raw)
In-Reply-To: <87haoyxqk3.fsf@web.de>
On 2012-11-10 08:14 +0800, Michael Heerdegen wrote:
> I made the experience that many people don't know that logging messages
> (printed with `message') in the *Messages* buffer can be prevented with
> binding `message-log-max' to nil.
How about adding:
(defsubst message-nolog (format-string &rest args)
"Same as `message' except not writing to *Messages* buffer."
(let (message-log-max) (apply 'message format-string args)))
This could encourage elisp authors to choose what to log to *Messages*
buffer. For example, ff-quiet-mode defaults to nil and, boy, this
library can write thousands of useless lines to *Messages* buffer.
Leo
next prev parent reply other threads:[~2012-11-10 4:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-10 0:14 bug#12849: 24.2.50; Doc: `message': mention `message-log-max' Michael Heerdegen
2012-11-10 4:51 ` Leo [this message]
2012-11-10 16:51 ` Michael Heerdegen
2012-11-16 2:42 ` Glenn Morris
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ehk25acr.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=12849@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).