From: Pierre Lorenzon <devel@pollock-nageoire.net>
To: help-gnu-emacs@gnu.org
Subject: call-process : outputing to a file
Date: Sat, 13 Dec 2014 18:34:12 +0100 (CET) [thread overview]
Message-ID: <20141213.183412.478087176700913976.devel@pollock-nageoire.net> (raw)
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
next reply other threads:[~2014-12-13 17:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-13 17:34 Pierre Lorenzon [this message]
2014-12-13 17:47 ` call-process : outputing to a file Pierre Lorenzon
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=20141213.183412.478087176700913976.devel@pollock-nageoire.net \
--to=devel@pollock-nageoire.net \
--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).