* Start Emacs Lisp mode if Batch script
@ 2010-02-16 18:06 Johan Andersson
2010-02-23 20:40 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Johan Andersson @ 2010-02-16 18:06 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
Hey,
(Sorry if I'm posting this in the wrong place)
I'm using Emacs batch mode to create some scripts. At the top of the files I
have:
#!/usr/bin/emacs --script
It would be nice if Emacs would recognize this (as it does with for example
#/bin/bash) and turn on emacs-lisp-mode.
Thanks!
[-- Attachment #2: Type: text/html, Size: 405 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Start Emacs Lisp mode if Batch script
2010-02-16 18:06 Start Emacs Lisp mode if Batch script Johan Andersson
@ 2010-02-23 20:40 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-02-23 20:40 UTC (permalink / raw)
To: Johan Andersson; +Cc: emacs-devel
Johan Andersson wrote:
> #!/usr/bin/emacs --script
>
> It would be nice if Emacs would recognize this (as it does with for example
> #/bin/bash) and turn on emacs-lisp-mode.
Seems a good idea. It's just a case of adding an entry to
interpreter-mode-alist.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-23 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 18:06 Start Emacs Lisp mode if Batch script Johan Andersson
2010-02-23 20:40 ` Glenn Morris
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.