[svlug] emacs batch mode (was: About mc (and other linux file managers))

Joe Brenner doom at kzsu.stanford.edu
Sun Jan 20 13:17:02 PST 2002


Erik Steffl <steffl at bigfoot.com> wrote:

>   I don't use emacs but I am just wondering - isn't there a way to just
> execute emacs lisp script without being in emacs environment first?
> considering the huge amount of software available for emacs I guess not
> all software requires editor environment and theoretically could be
> simply run by putting #!/usr/bin/emacs in the first line...
> 
>   that way the emacs would basically act as any other interpreter...

Well the way you're supposed to do that is something like:

   emacs -batch -l crazed.el -f crazed_function

Off hand I don't see any convienient way of doing this with
a standardized hash-bang line.  





More information about the svlug mailing list