GNU bug report logs -
#12849
24.2.50; Doc: `message': mention `message-log-max'
Previous Next
Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>
Date: Sat, 10 Nov 2012 00:14:02 UTC
Severity: minor
Found in version 24.2.50
Fixed in version 24.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12849 in the body.
You can then email your comments to 12849 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12849
; Package
emacs
.
(Sat, 10 Nov 2012 00:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Heerdegen <michael_heerdegen <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 10 Nov 2012 00:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
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.
Indeed, it's not easy to find in the doc, and the name `message-log-max'
also doesn't sound as if this variable could have this effect.
I think we should mention this effect of binding `message-log-max' to
nil in the docstring of `message', e.g. by changing this sentence:
The message also goes into the `*Messages*' buffer.
to
The message also goes into the `*Messages*' buffer if `message-log-max'
is not nil.
Thanks,
Michael.
In GNU Emacs 24.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
of 2012-11-01 on dex, modified by Debian
(emacs-snapshot package, version 2:20121101-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description: Debian GNU/Linux testing (wheezy)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12849
; Package
emacs
.
(Sat, 10 Nov 2012 04:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12849
; Package
emacs
.
(Sat, 10 Nov 2012 16:52:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 12849 <at> debbugs.gnu.org (full text, mbox):
Leo <sdl.web <at> gmail.com> writes:
> 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.
I would appreciate something like that (besides improving the doc).
Maybe the same could be done for `with-temp-message'.
Regards,
Michael.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 16 Nov 2012 02:43:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Michael Heerdegen <michael_heerdegen <at> web.de>
:
bug acknowledged by developer.
(Fri, 16 Nov 2012 02:43:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 12849-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.3
Michael Heerdegen wrote:
> I think we should mention this effect of binding `message-log-max' to
> nil in the docstring of `message'
Thanks; done.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 14 Dec 2012 12:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.