[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: batch mode
From: |
Sebastian Tennant |
Subject: |
Re: batch mode |
Date: |
Mon, 03 Mar 2008 11:36:59 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Quoth Pascal Bourguignon <pjb@informatimago.com>:
> Sebastian Tennant <sebyte@smolny.plus.com> writes:
>
>> Hi all,
>>
>> By default Emacs in batch mode sends 'message's to stderr.
>>
>> Is it possible to put a directive in the file loaded with the '-l'
>> switch, that tells Emacs to send 'message's to stdout instead?
>
> Why use message if message doesn't do what you want? Use print!
> (and princ, terpri, etc).
It's not my code, and there are a lot of messages in there!
Peter, of course 2>&1 works in a shell, but my guile script calls emacs
directly to avoid the overhead of the shell.
It turns out, guile has good port redirection routines and I'm able to
route stderr programmatically within the script.
Thanks to you both.
Sebastian
- batch mode, Sebastian Tennant, 2008/03/02
- Re: batch mode, Pascal Bourguignon, 2008/03/02
- Re: batch mode,
Sebastian Tennant <=
- Message not available
- Re: batch mode, Brendan Halpin, 2008/03/12
- Suppressing load messages (was: batch mode), Joel J. Adamson, 2008/03/12
- Message not available
- Re: Suppressing load messages, Brendan Halpin, 2008/03/12
- Re: Suppressing load messages, Lennart Borgman (gmail), 2008/03/12
- Re: Suppressing load messages, Joel J. Adamson, 2008/03/12
- Message not available
- Re: Suppressing load messages, Brendan Halpin, 2008/03/12
- Re: Suppressing load messages, Lennart Borgman (gmail), 2008/03/12
- Re: Suppressing load messages, Joel J. Adamson, 2008/03/12
- Message not available
- Re: Suppressing load messages, Brendan Halpin, 2008/03/12
- Re: Suppressing load messages, Joel J. Adamson, 2008/03/13