[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: --script and --quick
From: |
Michael Heerdegen |
Subject: |
Re: --script and --quick |
Date: |
Wed, 27 May 2015 14:34:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
saint@eng.it writes:
> *This* is the interpreter (a wrapper for Emacs). Use it for all your
> scripts.
Ah, I see. Would this have any advantages compared to a --quick-script
option in Emacs when that existed?
>> -------------------------8<--------------------------
> #!/home/saint/bin/esh
> (find-file "paperoga")
> (insert (concat "hello" "world"))
> (save-buffer)
> -------------------------8<--------------------------
>
> This is a script.
Not bad. Even lexical binding can be used this way (by adding
;; -*- lexical-binding: t -*-
as second line), and also the argv variable holds the arguments as
expected.
Thanks,
Michael.
- --script and --quick, Michael Heerdegen, 2015/05/26
- Re: --script and --quick, Óscar Fuentes, 2015/05/26
- Re: --script and --quick, Michael Heerdegen, 2015/05/26
- Re: --script and --quick, Bob Proulx, 2015/05/26
- Re: --script and --quick, Yuri Khan, 2015/05/26
- Re: --script and --quick, Gian Uberto Lauri, 2015/05/27
- Re: --script and --quick, Michael Heerdegen, 2015/05/27
- Re: --script and --quick, saint, 2015/05/27
- Re: --script and --quick,
Michael Heerdegen <=
- Re: --script and --quick, Gian Uberto Lauri, 2015/05/27
- Re: --script and --quick, Michael Heerdegen, 2015/05/27
- Re: --script and --quick, Michael Heerdegen, 2015/05/28
- Message not available
- Re: --script and --quick, Chris F.A. Johnson, 2015/05/27
- Re: --script and --quick, Gian Uberto Lauri, 2015/05/27
- Re: --script and --quick, Michael Heerdegen, 2015/05/28