From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpkotta Newsgroups: gmane.emacs.help Subject: Re: disable messaging in echo area Date: Fri, 10 Dec 2010 17:38:20 -0800 (PST) Organization: http://groups.google.com Message-ID: <9c0eeb7e-39a2-4add-9e8a-7d75aa792a8d@b25g2000vbz.googlegroups.com> References: <4CFFA5CF.7070100@gmail.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: dough.gmane.org 1292031629 15538 80.91.229.12 (11 Dec 2010 01:40:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Dec 2010 01:40:29 +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 Dec 11 02:40:26 2010 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.69) (envelope-from ) id 1PRERk-0003wi-Gp for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Dec 2010 02:40:24 +0100 Original-Received: from localhost ([127.0.0.1]:42986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRERj-0002HS-QM for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 20:40:23 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!b25g2000vbz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 64.122.85.37 Original-X-Trace: posting.google.com 1292031500 15417 127.0.0.1 (11 Dec 2010 01:38:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 11 Dec 2010 01:38:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b25g2000vbz.googlegroups.com; posting-host=64.122.85.37; posting-account=EwI0QQoAAADdqmqX_mVfawBNtwyks2YE User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.7.62 Version/11.00,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:183162 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:77416 Archived-At: On Dec 10, 5:30=A0am, daniel wrote: > > No amount of fiddling with Lisp-level `message' facilities will be > > ever able to do what you want. =A0I suggest to file a feature request > > (with "M-x report-emacs-bug RET") asking for a variable that could be > > bound to disable all messages, even those coming from the C level. > > hi > the write-region with visit argument solved the problem! > > Anyway I filled the bug report. A more general solution might be to use with-temp-message. This logs to the *Messages* buffer but doesn't put anything in the echo area: (defun write-foo () (interactive) (with-temp-message "" (write-region (point-min) (point-max) "foo")))