help-gnu-emacs
[Top][All Lists]
Advanced

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

call-process : outputing to a file


From: Pierre Lorenzon
Subject: call-process : outputing to a file
Date: Sat, 13 Dec 2014 18:34:12 +0100 (CET)

Hi,

I use emacs 25.0.50.

I don't undersand call-process documentation in particular at
third argument nature. Documentation says that output might go
to a file but I can't understand how.

(call-process myproc nil myfile nil)

consider myfile as a string and sends output to a buffer name
with that string. That is not the result I wish.

(call-process myproc nil (:file myfile) nil) Says that make an
error saying that :file is not a function : I could have guess
that myself but in the documentation syntax is given as follows
: (:file FILE-NAME) : what might that mean !


(call-process myproc nil :file myfile nil) causes also an error
: wrong type arguments stringp nil.


Does anyone have an idea or should I investigate the code to
understand something ?

Regards 



reply via email to

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