From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: 'emacs -batch -eval ... -f ...' outputs everyday crunching to stderr?
Date: Tue, 02 Sep 2014 04:31:45 +0200 [thread overview]
Message-ID: <878um2rbvy.fsf@debian.uxu> (raw)
I have a Makefile [1] to manage all my Elisp.
Today I set out to make it not echo all the
"Loading..." and "Wrote..." stuff, and the command
itself (lots of noise, as repeated for each source
file), so that, when compiling, I would be able to
detect warnings and errors and not just drown in all
the other output.
'make -s' was the way to not echo the command, for the
other stuff I used sed:
# only errors and warnings should be outputed
sed-filter=2>&1 | sed '/^\(Loading\|Wrote\)/d'
The strange thing is that the 2>&1 is required. It
seems, 'emacs -batch -eval ... -f ...' outputs the
"Loading..." and "Wrote..." stuff to stderr - any
ideas why?
Other comments also welcome.
I include several comments to make the Makefile
manageable.
[1] http://user.it.uu.se/~embe8573/conf/emacs-init/Makefile
--
underground experts united
next reply other threads:[~2014-09-02 2:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 2:31 Emanuel Berg [this message]
[not found] ` <mailman.8241.1409820712.1147.help-gnu-emacs@gnu.org>
2014-09-04 18:52 ` 'emacs -batch -eval ... -f ...' outputs everyday crunching to stderr? Emanuel Berg
2014-09-20 23:15 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878um2rbvy.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).