help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporarily turning message logging off


From: Eli Zaretskii
Subject: Re: Temporarily turning message logging off
Date: Thu, 24 May 2007 13:47:42 +0300

> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Date: Thu, 24 May 2007 17:25:36 +0900
> 
> >>>>> In <mailman.1132.1179993370.32220.help-gnu-emacs@gnu.org>
> >>>>> Eli Zaretskii wrote:
> 
> > Isn't it easier and less invasive to temporarily bind message-log-max
> > to nil?
> 
> That's the best if Davin only wants the *Messages* buffer not to
> be filled.  If not, it might be insufficient.  For example:
> 
> emacs -batch -eval '(let (message-log-max) (write-region "foo" nil 
> "testing"))'
> Wrote /tmp/testing

He said "What do I have to do to turn message _logging_ off?"
(emphasis added).  He didn't say he wanted to turn the _messages_
themselves off.  If he wanted the latter, then indeed my suggestion
will not help, but in that case, fsetting `message' itself, or
defadvising it, is probably the way to go.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]