From: "Andreas Röhler" <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Subject: Re: Why does write-region use message_with_string?
Date: Mon, 28 Oct 2013 09:02:41 +0100 [thread overview]
Message-ID: <526E1A21.5040803@online.de> (raw)
In-Reply-To: <20131026111604.3ef232f2@forcix.kollektiv-hamburg.de>
Am 26.10.2013 11:16, schrieb Jorgen Schaefer:
> On Fri, 25 Oct 2013 21:42:46 -0400
> Stefan Monnier <monnier@iro.umontreal.ca> 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
>
>
+1
Sounds cleaning up this would make code-base more regular.
next prev parent reply other threads:[~2013-10-28 8:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 23:27 Why does write-region use message_with_string? Jorgen Schaefer
2013-10-26 1:42 ` Stefan Monnier
2013-10-26 6:41 ` Eli Zaretskii
2013-10-26 9:16 ` Jorgen Schaefer
2013-10-28 8:02 ` Andreas Röhler [this message]
2013-10-27 22:07 ` T.V. Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526E1A21.5040803@online.de \
--to=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).