* Starting with batch-mode
@ 2008-09-30 7:22 Decebal
2008-09-30 10:24 ` Bernardo Bacic
0 siblings, 1 reply; 2+ messages in thread
From: Decebal @ 2008-09-30 7:22 UTC (permalink / raw)
To: help-gnu-emacs
I am starting to work with batch-mode in Emacs.
I have a test.el (nothing fancy) with:
(defun testing ()
(princ "Dit is een test\n")
)
I call this with:
time emacs -batch -nw -l ~/test.el --eval="(testing)"
This works, but generates a lot of output on stderr. I could get rid
of this with:
time emacs -batch -nw -l ~/test.el --eval="(testing)" 2>/dev/null
But then I can not use stderr in my script. Is there a way around
this?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Starting with batch-mode
2008-09-30 7:22 Starting with batch-mode Decebal
@ 2008-09-30 10:24 ` Bernardo Bacic
0 siblings, 0 replies; 2+ messages in thread
From: Bernardo Bacic @ 2008-09-30 10:24 UTC (permalink / raw)
To: Decebal, help-gnu-emacs
it was a dark and stormy night when Decebal said,
> I am starting to work with batch-mode in Emacs.
> I have a test.el (nothing fancy) with:
> (defun testing ()
> (princ "Dit is een test\n")
> )
>
>
> I call this with:
> time emacs -batch -nw -l ~/test.el --eval="(testing)"
>
do you get errors when you run it like:
emacs -Q -batch -nw -l ~/test.el --eval="(testing)"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-30 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 7:22 Starting with batch-mode Decebal
2008-09-30 10:24 ` Bernardo Bacic
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.