GNU bug report logs - #13015
24.2; (let (message-log-max) (message ...)) does not disable logging

Previous Next

Package: emacs;

Reported by: Philipp Moeller <philipp.moeller <at> geometryfactory.com>

Date: Tue, 27 Nov 2012 22:34:01 UTC

Severity: minor

Tags: notabug

Found in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Moeller <philipp.moeller <at> geometryfactory.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2; (let (message-log-max) (message ...)) does not disable logging
Date: Tue, 27 Nov 2012 23:20:49 +0100
The manual uses the example

  (let (message-log-max) (message ...))

to show how to disable logging messages in the *Messages* buffer. This
does not work in Emacs 24.1, e.g. evaluating:

  (let (message-log-max) (message "foobar"))

will still print "foobar" in *Messages* buffer.

When I use 

  (setq message-log-max nil)
  (message "foobar")

it works as expected: no output is send to the *Messages* buffer.

In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.2)
 of 2012-11-18 on eric
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
Configured using:
 `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
 '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
 --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t




This bug report was last modified 12 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.