From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.devel Subject: Re: Why does write-region use message_with_string? Date: Sat, 26 Oct 2013 11:16:04 +0200 Message-ID: <20131026111604.3ef232f2@forcix.kollektiv-hamburg.de> References: <20131026012733.5f35a2a5@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382778981 18034 80.91.229.3 (26 Oct 2013 09:16:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2013 09:16:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 26 11:16:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VZzyp-0003wA-Lo for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 11:16:23 +0200 Original-Received: from localhost ([::1]:33991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzyp-0007oN-56 for ged-emacs-devel@m.gmane.org; Sat, 26 Oct 2013 05:16:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzyh-0007oF-5e for emacs-devel@gnu.org; Sat, 26 Oct 2013 05:16:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZzyb-0004C1-9r for emacs-devel@gnu.org; Sat, 26 Oct 2013 05:16:15 -0400 Original-Received: from istinn.electusmatari.com ([83.169.37.145]:34553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzyb-0004Bo-2o for emacs-devel@gnu.org; Sat, 26 Oct 2013 05:16:09 -0400 Original-Received: by istinn.electusmatari.com (Postfix, from userid 995) id D01A2D100032; Sat, 26 Oct 2013 11:16:07 +0200 (CEST) Original-Received: from forcix.kollektiv-hamburg.de (x2f0b668.dyn.telefonica.de [2.240.182.104]) by istinn.electusmatari.com (Postfix) with ESMTPSA id 2E7A9D10002C; Sat, 26 Oct 2013 11:16:06 +0200 (CEST) In-Reply-To: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.21; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.37.145 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164555 Archived-At: On Fri, 25 Oct 2013 21:42:46 -0400 Stefan Monnier 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