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: Davin Pearson
Subject: Re: Temporarily turning message logging off
Date: 24 May 2007 23:30:38 -0700
User-agent: G2/1.0

On May 24, 10:47 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Katsumi Yamaoka <yama...@jpl.org>
> > Date: Thu, 24 May 2007 17:25:36 +0900
>
> > >>>>> In <mailman.1132.1179993370.32220.help-gnu-em...@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.

Sorry for the misunderstanding.

I actually want to turn the messages themselves off AS WELL as the
message logging.




reply via email to

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