From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: william.b.parsons@us.westinghouse.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Can priority of interpreter-mode-alist over auto-mode-alist be changed?
Date: Fri, 28 Mar 2008 18:03:04 +0100 [thread overview]
Message-ID: <47ED24C8.2070508@gmail.com> (raw)
In-Reply-To: <654hlcF2emjjuU1@mid.individual.net>
Will Parsons wrote:
> Lowell Gilbert wrote:
>> Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>>
>>> Am 27.03.2008 um 13:42 schrieb skuhagen:
>>>> #!/bin/sh
>>>> #\
>>>> exec tclsh "$0" "$@"
>>> Why can't you use
>>>
>>> #!/bin/tclsh
>>>
>>> directly?
>> In some cases, because the script has to be run on multiple machines
>> that have different paths to tclsh.
>
>> I've used "Local Variables" sections to solve that in the past.
>> I wouldn't be surprised if there is a better way these days.
>
> This seems to be a regression with Emacs 22. I, too, have tcl scripts
> which begin with the common Tcl idiom cited by the OP, and they are
> correctly recognized as tcl mode in Emacs 21 but shell mode in Emacs 22.
>
> So, I'd like to join the OP in asking how to get the original behaviour
> back?
Did you look at the documentation?
(info "(emacs) Choosing Modes")
It this clear? Can you do what you want?
next prev parent reply other threads:[~2008-03-28 17:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 12:42 Can priority of interpreter-mode-alist over auto-mode-alist be changed? skuhagen
2008-03-28 11:13 ` Peter Dyballa
[not found] ` <mailman.9538.1206702847.18990.help-gnu-emacs@gnu.org>
2008-03-28 15:20 ` Lowell Gilbert
2008-03-28 15:37 ` Will Parsons
2008-03-28 17:03 ` Lennart Borgman (gmail) [this message]
2008-03-28 18:24 ` Peter Dyballa
2008-03-28 19:22 ` Lowell Gilbert
2008-03-28 21:34 ` Will Parsons
2008-03-29 15:24 ` Kevin Rodgers
2008-03-29 4:51 ` Tim X
2008-03-29 9:48 ` Peter Dyballa
[not found] ` <mailman.9566.1206784114.18990.help-gnu-emacs@gnu.org>
2008-03-29 15:03 ` Will Parsons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47ED24C8.2070508@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=william.b.parsons@us.westinghouse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.