emacs-devel
[Top][All Lists]
Advanced

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

Re: messages appear on stderr in batch mode


From: Davis Herring
Subject: Re: messages appear on stderr in batch mode
Date: Wed, 6 Apr 2011 03:34:52 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-5.el5_4.10.lanl3

> emacs -Q --batch --eval '(message "hello")'
>
> prints "hello" on stderr, not stdout. This is a little annoying when
> trying to write automated build scripts etc for Emacs, since stderr is
> full of noise, and any real errors can be hard to spot.
>
> I guess there is a reason for this, since it is in the manual (and the
> man page, no less); but why?

I presume it's because `message' is used to generate prompts and warnings
which both should go there.  Perhaps one is meant to use `print' etc. for
output?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



reply via email to

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