all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Decebal <CLDWesterhof@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Making callable function of a macro
Date: Thu, 25 Sep 2008 02:25:37 -0700 (PDT)	[thread overview]
Message-ID: <ab3d24bd-22dc-4413-91bd-9be2332e57e2@s50g2000hsb.googlegroups.com> (raw)
In-Reply-To: slrngdmk0r.39d.joostkremers@j.kremers4.news.arnhem.chello.nl

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	other threads:[~2008-09-25  9:25 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
2008-09-25  9:25       ` Decebal [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab3d24bd-22dc-4413-91bd-9be2332e57e2@s50g2000hsb.googlegroups.com \
    --to=cldwesterhof@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.