emacs-devel
[Top][All Lists]
Advanced

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

Re: Inhibit "Wrote foo" from write-region


From: Eli Zaretskii
Subject: Re: Inhibit "Wrote foo" from write-region
Date: Tue, 21 Jan 2014 17:57:20 +0200

> From: Sebastian Wiesner <address@hidden>
> Date: Tue, 21 Jan 2014 13:32:02 +0100
> 
> 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 directory
> and then install packages from the command line.
> 
> It generally works fine, but the *huge* amount of output produced by
> package.el is a major nuisance currently.  Even installing trivial
> packages results in a lot of "Compiling …", "Extracting…",
> etc. messages, which provide no real value to the user.
> 
> 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.
> 
> 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




reply via email to

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