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: harven
Subject: Re: Making callable function of a macro
Date: Thu, 25 Sep 2008 11:45:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Decebal <CLDWesterhof@gmail.com> writes:

> 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. ;-}

You may want to look at some example scripts there:
http://www.emacswiki.org/cgi-bin/wiki/CategoryBatchMode


reply via email to

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