From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Newsgroups: gmane.emacs.help Subject: Remove minibuffer message after appending to file Date: Mon, 5 Oct 2009 23:34:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <95b0bbb5-f63b-4428-8b5c-55e159998aa1@r36g2000vbn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1254841777 18786 80.91.229.12 (6 Oct 2009 15:09:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Oct 2009 15:09:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 06 17:09:28 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 1MvBfK-0004Ud-1q for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Oct 2009 17:09:26 +0200 Original-Received: from localhost ([127.0.0.1]:34496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvBfJ-000853-O2 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Oct 2009 11:09:25 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!r36g2000vbn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 80.135.27.35 Original-X-Trace: posting.google.com 1254810857 13091 127.0.0.1 (6 Oct 2009 06:34:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Oct 2009 06:34:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r36g2000vbn.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:173598 X-Mailman-Approved-At: Tue, 06 Oct 2009 11:06:57 -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:68706 Archived-At: 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) ? The souce code generating the message is in "fileio.c" in the function Fwrite_region . if (!auto_saving) message_with_string ((INTEGERP (append) ? "Updated %s" : ! NILP (append) ? "Added to %s" : "Wrote %s"), visit_file, 1); It would be nice to have a technique to bypass the message_with_string function. Regards, Sebastien