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: Joost Kremers
Subject: Re: Making callable function of a macro
Date: 25 Sep 2008 08:48:56 GMT
User-agent: slrn/0.9.8.1 (Linux)

Decebal wrote:
> On 25 sep, 09:39, p...@informatimago.com (Pascal J. Bourguignon)
> wrote:
>> Type:
>>
>> (info "(eintr)") C-x C-e
>>
>> to get "An Introduction to Programming in Emacs Lisp".
>
> Does not work in my Emacs. But I allready printed it and am reading
> it. But I did not see anything about calling an Emacs function from a
> script. Or am I missing something?

no, that's probably not in there...

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


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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