unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Making callable function of a macro
Date: 25 Sep 2008 08:48:56 GMT	[thread overview]
Message-ID: <slrngdmk0r.39d.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: af2122d2-22d5-4e93-b17b-6902a71148e3@r66g2000hsg.googlegroups.com

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	other threads:[~2008-09-25  8:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-25  7:07 Making callable function of a macro Decebal
2008-09-25  7:39 ` Pascal J. Bourguignon
2008-09-25  8:40   ` Decebal
2008-09-25  8:48     ` Joost Kremers [this message]
2008-09-25  9:25       ` Decebal
2008-09-25  9:45         ` harven
2008-09-25  7:54 ` Joost Kremers
2008-09-25  8:33   ` Andreas Politz
2008-09-25  8:45   ` Decebal
2008-09-25  9:24 ` harven
2008-09-30  9:04 ` Decebal

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=slrngdmk0r.39d.joostkremers@j.kremers4.news.arnhem.chello.nl \
    --to=joostkremers@yahoo.com \
    --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).