[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cool and Useful LISP for the .emacs file

From: David Masterson
Subject: Re: Cool and Useful LISP for the .emacs file
Date: 11 Nov 2003 21:15:01 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

>>>>> Artur Hefczyc writes:

> Kin Cho <> writes:
>> I used to carry around a collection of shell, sed, awk, and perl
>> scripts to do various text/file/directory processing, as well as
>> doing cvs/rcs stuff, running compilation and gdb etc...  Now I do
>> (almost) all these things in elisp.

> I like this idea! I would like to use elisp as scripting language
> also. However I would like to know if it is possible to use it that
> way. I mean, lets assume I create elisp script to update my Linux box
> system with new releases of some packages.

> Is it possible to run it from command line like all other scripts,
> bash, perl etc.?

> I mean file script starting from:
> #!/usr/bin/emacs

> Or any other elisp interpreter?

Given how big Emacs is, I would think that it would be best to start
emacs in background (say, from your .login) and then use something
like gnudoit or emacsclient to send your elisp to the background
Emacs.  Done correctly, I would think that it would execute your
scripts much faster, no?

David Masterson

reply via email to

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