From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Decebal Newsgroups: gmane.emacs.help Subject: Re: How to Date: Sun, 11 Oct 2009 09:20:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4f26ac40-e181-4d54-a8e3-82f5cf54f9db@g23g2000yqh.googlegroups.com> <64894c5b-c7df-46c4-b896-03bea7eb226f@m11g2000yqf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255279252 19368 80.91.229.12 (11 Oct 2009 16:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 16:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 11 18:40:46 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 1Mx1TR-0002wh-Pe for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 18:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:53774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx1TQ-0004h4-TA for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 12:40:44 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!o10g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 84.53.123.169 Original-X-Trace: posting.google.com 1255278031 23388 127.0.0.1 (11 Oct 2009 16:20:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 11 Oct 2009 16:20:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o10g2000yqa.googlegroups.com; posting-host=84.53.123.169; posting-account=K-cdeAoAAAD_0d505kUtHXJaT5LFIu-3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173758 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:68842 Archived-At: On Oct 11, 10:11=A0am, Andreas R=F6hler wrote: > Decebal wrote: > > On Oct 10, 10:57 pm, Decebal wrote: > >>>> =A0 =A0 Wrote /home/cecil/temp/inputEmacs > >> I still have to find something for this. > > > That is not possible I am afraid. In the C-source there is a call to > > message_with_string. > > AFAIS it's that piece of code in files.el > > =A0 =A0 message_with_string ((INTEGERP (append) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ? "Updated %s" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : ! NILP (append) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ? "Added to %s" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 : "Wrote %s"), > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0visit_file, 1); > > Looks like a twofold "if", where the second "else" > should not be executed in your case. > > Should be possible to add an option "--quiet" to batch > mode, thus suppressing these messages. 'emacs --quiet' is possible, but 'emacs --quiet -batch' or 'emacs - batch --quiet' gives: Unknown option `--quiet' > If it's that urgend for you, deleting the second "else" > and recompile might be an option to for the moment. I'll prefer the redirect to /dev/null. Otherwise the code only runs on my system.