help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disable messaging in echo area


From: jpkotta
Subject: Re: disable messaging in echo area
Date: Fri, 10 Dec 2010 17:38:20 -0800 (PST)
User-agent: G2/1.0

On Dec 10, 5:30 am, daniel <idn...@gmail.com> wrote:
> > No amount of fiddling with Lisp-level `message' facilities will be
> > ever able to do what you want.  I 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")))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]