[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cool and Useful LISP for the .emacs file
From: |
Kin Cho |
Subject: |
Re: Cool and Useful LISP for the .emacs file |
Date: |
08 Nov 2003 19:20:56 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Artur Hefczyc <DONTkobit@SPAMplusnet.MEpl> writes:
> Kin Cho <kin@techie.com> 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?
Well, the preferred way is to make a interactive defun and run it
with M-x. That way, you can write it, debug it, and enhance it
-- all in the comfort of the emacs environment.
-kin
- Re: Cool and Useful LISP for the .emacs file, (continued)
- Re: Cool and Useful LISP for the .emacs file, Kevin Rodgers, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Dan Anderson, 2003/11/07
- Message not available
- Re: Cool and Useful LISP for the .emacs file, Jody M. Klymak, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Jesper Harder, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Kin Cho, 2003/11/07
- Re: Cool and Useful LISP for the .emacs file, Artur Hefczyc, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, Thien-Thi Nguyen, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, David Kastrup, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, Artur Hefczyc, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, Artur Hefczyc, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file,
Kin Cho <=
- Re: Cool and Useful LISP for the .emacs file, David Masterson, 2003/11/12
- Re: Cool and Useful LISP for the .emacs file, Matthew Kennedy, 2003/11/12
- Re: Cool and Useful LISP for the .emacs file, Pascal Bourguignon, 2003/11/12
- Re: Cool and Useful LISP for the .emacs file, Artur Hefczyc, 2003/11/13
- Re: Cool and Useful LISP for the .emacs file, Tim X, 2003/11/23
- Re: Cool and Useful LISP for the .emacs file, Joe Fineman, 2003/11/08
- Re: Cool and Useful LISP for the .emacs file, Stefan Monnier, 2003/11/10
- Re: Cool and Useful LISP for the .emacs file, Thien-Thi Nguyen, 2003/11/10
- Re: Cool and Useful LISP for the .emacs file, Burton Samograd, 2003/11/10
- Re: Cool and Useful LISP for the .emacs file, Alan Mackenzie, 2003/11/11