help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Can priority of interpreter-mode-alist over auto-mode-alist be chang


From: Peter Dyballa
Subject: Re: Can priority of interpreter-mode-alist over auto-mode-alist be changed?
Date: Sat, 29 Mar 2008 10:48:24 +0100


Am 29.03.2008 um 05:51 schrieb Tim X:
The way the OP wants to call the script is how Tcl and other scripting
languages recommend doing it. This avoids having to hard code the tcl
path in the script


This could be achieved the way it's done with Perl scripts

        :
        eval 'exec perl -w -S $0 ${1+"$@"}'

The first line allows to use

        # -*- perl -*-

or

        # -*- tcl -*-

to evoke the proper mood in GNU Emacs ...

--
Greetings

  Pete

Upgraded, adj.:
        Didn't work the first time.







reply via email to

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