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

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

Re: Making callable function of a macro


From: Decebal
Subject: Re: Making callable function of a macro
Date: Thu, 25 Sep 2008 02:25:37 -0700 (PDT)
User-agent: G2/1.0

On 25 sep, 10:48, Joost Kremers <joostkrem...@yahoo.com> wrote:
> > What I would like is something like the following:
> >     emacs-command input output
> > Input is the file to be processed and output is the file to use for
> > the processed data. So that in a script the files automatically can be
> > generated.
>
> emacs has the --script option, which must be followed by the name of a file
> containing lisp code, which is then run. see
>
> (info "(emacs) Initial Options")
>
> for details.
>
> i'm not sure if it's possible to pass an input and an output file, though.
> at the very least, you'd need to know some elisp to get all the I/O
> correct...

That looks like what I want. I'll start learning elisp then. ;-}


reply via email to

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