emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does write-region use message_with_string?


From: Jorgen Schaefer
Subject: Re: Why does write-region use message_with_string?
Date: Sat, 26 Oct 2013 11:16:04 +0200

On Fri, 25 Oct 2013 21:42:46 -0400
Stefan Monnier <address@hidden> wrote:

> > In fileio.c:4995, this function calls message_with_string directly,
> > circumventing lisp completely.
> 
> It can probably be changed to call `message'.  But I'd be surprised if
> there aren't other places where you will bump into similar problems.

My use case is not an all-or-nothing one - I just want less noise when
running emacs -batch, so every unwanted line less helps, even if there
are still some.

But Eli has a point. If this is used when Emacs is crashing, I'd rather
not make it less reliable. But it already checks if a variable is set
for auto-saving. Would it then be an idea to make this a lisp variable
so it can be set from lisp, not only from C?

Jorgen



reply via email to

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