[Top][All Lists]

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

messages appear on stderr in batch mode

From: Glenn Morris
Subject: messages appear on stderr in batch mode
Date: Wed, 06 Apr 2011 03:17:27 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

I never noticed before, but:

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?

reply via email to

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