GNU bug report logs - #12849
24.2.50; Doc: `message': mention `message-log-max'

Previous Next

Package: emacs;

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.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#12849: 24.2.50; Doc: `message': mention `message-log-max'
Date: Sat, 10 Nov 2012 12:51:32 +0800
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





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.