[Top][All Lists]

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

Re: Why does write-region use message_with_string?

From: Andreas Röhler
Subject: Re: Why does write-region use message_with_string?
Date: Mon, 28 Oct 2013 09:02:41 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Am 26.10.2013 11:16, schrieb Jorgen Schaefer:
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?



Sounds cleaning up this would make code-base more regular.

reply via email to

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