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

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

Re: elisp: how to stop messaging in echo area for save-buffer


From: Xah Lee
Subject: Re: elisp: how to stop messaging in echo area for save-buffer
Date: Sat, 8 Aug 2009 10:01:42 -0700 (PDT)
User-agent: G2/1.0

On Aug 8, 9:54 am, "A.Politz" <address@hidden> wrote:
> > i have a elisp script that does a few hundred saving files. Each time
>
> >     (save-buffer)
>
> > is called, the *Message* buffer contains 2 lines like this:
>
> > Saving file c:/Users/xah/web/xxst/make_download_copy/
> > make_download_copy.el...
> > Wrote c:/Users/xah/web/xxst/make_download_copy/make_download_copy.el
>
> > How to disable printing this message?

> On Aug 8, 5:15 pm, Xah Lee <address@hidden> wrote:
> (let (message-log-max)
>   (save-buffer))

thanks.

though i needed to keep messages in the *Message* buffer before and
after the save flood.

my problem is that save-buffer caused so many lines (about 2 x 1000
lines) that scrolled off important messages (such as copy dir failed)
in the buffer, and i also wanted messages like “Xyz is done now.” that
happens when the elisp script finished.

am looking for a way to temp disable save-buffer writing a message to
*Message*. Thanks.

  Xah
∑ http://xahlee.org/

☄


reply via email to

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