From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lowell Gilbert Newsgroups: gmane.emacs.help Subject: Re: Can priority of interpreter-mode-alist over auto-mode-alist be changed? Date: Fri, 28 Mar 2008 11:20:02 -0400 Message-ID: <44iqz6ooyl.fsf@be-well.ilk.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206720579 24689 80.91.229.12 (28 Mar 2008 16:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Mar 2008 16:09:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 28 17:10:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfH9F-00041B-7c for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2008 17:09:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfH8d-0002pE-PE for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Mar 2008 12:09:07 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-out.readnews.com!transit3.readnews.com!70.47.10.52.MISMATCH!newspeer1.nac.net!border2.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 28 Mar 2008 10:20:03 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) Cancel-Lock: sha1:U/qhTPPD4L4L4z5iQaOeGpoOzRA= Original-Lines: 18 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 66.92.78.145 Original-X-Trace: sv3-dqYEewu4ND/X7XLBHqa8G0vNceLfz0MdxnoYmrkisCwAAN/LSV8qN98yfCJcGqq+b816hqJ5QC1mcKP!S4XqNkuv5SuVyglGXTjDPzVXeDcZeTyEr2u5KQwRfKPOdQHEdhQ/gOUi9mRM+rz+JwmHQXRqOnKa!P4X+T+xcaA== Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37 Original-Xref: shelby.stanford.edu gnu.emacs.help:157397 X-Mailman-Approved-At: Fri, 28 Mar 2008 12:07:16 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52768 Archived-At: Peter Dyballa 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.