From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: elisp: how to stop messaging in echo area for save-buffer Date: Sat, 8 Aug 2009 10:01:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <32bb089d-1505-42de-bedd-5ad3dbf16a19@f33g2000vbm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249754697 16878 80.91.229.12 (8 Aug 2009 18:04:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Aug 2009 18:04:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 08 20:04:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZqHi-0001tP-1d for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 20:04:50 +0200 Original-Received: from localhost ([127.0.0.1]:39614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZqHh-0004Ss-B4 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2009 14:04:49 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i18g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1249750902 20115 127.0.0.1 (8 Aug 2009 17:01:42 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 8 Aug 2009 17:01:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000pro.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171808 X-Mailman-Approved-At: Sat, 08 Aug 2009 14:03:44 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:66990 Archived-At: On Aug 8, 9:54 am, "A.Politz" 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 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 =E2=80=9CXyz is done now.=E2= =80=9D that happens when the elisp script finished. am looking for a way to temp disable save-buffer writing a message to *Message*. Thanks. Xah =E2=88=91 http://xahlee.org/ =E2=98=84