From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Newsgroups: gmane.emacs.help Subject: Re: Remove minibuffer message after appending to file Date: Tue, 6 Oct 2009 13:23:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <57c48752-76f4-438c-9325-0bb25cf6eae4@k41g2000vbt.googlegroups.com> References: <95b0bbb5-f63b-4428-8b5c-55e159998aa1@r36g2000vbn.googlegroups.com> <7cd450en67.fsf@pbourguignon.lefevre.anevia.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 1254884510 25813 80.91.229.12 (7 Oct 2009 03:01:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 03:01:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 05:01:41 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 1MvMma-0007qx-7f for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 05:01:40 +0200 Original-Received: from localhost ([127.0.0.1]:60015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvMmZ-0002tm-TH for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Oct 2009 23:01:39 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!k41g2000vbt.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 80.135.27.35 Original-X-Trace: posting.google.com 1254860598 29555 127.0.0.1 (6 Oct 2009 20:23:18 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Oct 2009 20:23:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k41g2000vbt.googlegroups.com; posting-host=80.135.27.35; posting-account=THFcTAkAAAAGrX5vZb0efnsEMAYWxKaT User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173615 X-Mailman-Approved-At: Tue, 06 Oct 2009 22:59:19 -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:68714 Archived-At: On Oct 6, 2:12=A0pm, p...@informatimago.com (Pascal J. Bourguignon) wrote: > Sebastien writes: > > Is it possible to remove the text > > > "Added to " > > > which appears in the minibuffer after appending text to a file via > > > (append-to-file min max filename) > > or > > (write-region min max filename t) =A0? > > Yes, call (message "") > > (progn > =A0 (or (append-to-file min max filename) > =A0 =A0 =A0 (write-region min max filename t)) > =A0 (message "")) > > -- > __Pascal Bourguignon__ With (message "") , the "Added to ..." text is overwritten and therefore not visible. It would be great if the text is not written at all (with emacs -Q startup, the text still appears)...