From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Inhibit "Wrote foo" from write-region Date: Tue, 21 Jan 2014 17:57:20 +0200 Message-ID: <83d2jlgwf3.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1390319844 13877 80.91.229.3 (21 Jan 2014 15:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2014 15:57:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sebastian Wiesner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 21 16:57:27 2014 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 1W5dhe-0007RQ-CD for ged-emacs-devel@m.gmane.org; Tue, 21 Jan 2014 16:57:26 +0100 Original-Received: from localhost ([::1]:59169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5dhd-0005Q4-IY for ged-emacs-devel@m.gmane.org; Tue, 21 Jan 2014 10:57:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5dhV-0005Pr-FE for emacs-devel@gnu.org; Tue, 21 Jan 2014 10:57:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5dhP-0006so-Jf for emacs-devel@gnu.org; Tue, 21 Jan 2014 10:57:17 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5dhP-0006sa-BK for emacs-devel@gnu.org; Tue, 21 Jan 2014 10:57:11 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MZR00800DMHLE00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 21 Jan 2014 17:57:09 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZR007D1DN9Y990@a-mtaout20.012.net.il>; Tue, 21 Jan 2014 17:57:09 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:168834 Archived-At: > From: Sebastian Wiesner > Date: Tue, 21 Jan 2014 13:32:02 +0100 >=20 > I'm writing a tool for non-interactive package installation. Think= of > it as apt-get for ELPA packages, e.g. you can point it do a directo= ry > and then install packages from the command line. >=20 > It generally works fine, but the *huge* amount of output produced b= y > package.el is a major nuisance currently. Even installing trivial > packages results in a lot of "Compiling =E2=80=A6", "Extracting= =E2=80=A6", > etc. messages, which provide no real value to the user. >=20 > Following the old Unix philosophy of "no news is good news" That might not be a good philosophy in interactive programs when some actions might take a long time. > Unfortunately, "write-region" does not seem to provide a way to > generally inhibit this message. I looked at the C source: It calls > "message_with_string", which in turn directly "fprintf"s to stderr = in a > non-interactive session. >=20 > Do I miss something? If not, how could I silence "write-region"? Already discussed in not-so-far past, see http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00784.html