From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to open a file in sh-mode Date: Thu, 14 Aug 2008 12:58:57 +0200 Message-ID: <1454386A-4592-45B7-A89E-322BB9E7F783@Web.DE> References: <38b2ab8a0808140053g6261aeafmd74692199cea07eb@mail.gmail.com> <87tzdodmu0.fsf@localhorst.mine.nu> <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218711589 4091 80.91.229.12 (14 Aug 2008 10:59:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 10:59:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Francis Moreau Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 13:00:39 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 1KTaZG-00014r-R3 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 13:00:35 +0200 Original-Received: from localhost ([127.0.0.1]:39918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTaYK-00017Y-5n for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 06:59:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTaY2-00015O-Md for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 06:59:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTaY0-00013D-Q3 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 06:59:17 -0400 Original-Received: from [199.232.76.173] (port=43372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTaY0-000134-LV for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 06:59:16 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:60505) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTaY0-0002Sl-3w for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 06:59:16 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id CDC67EB044AC; Thu, 14 Aug 2008 12:58:59 +0200 (CEST) Original-Received: from [91.35.215.136] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KTaXj-0005uj-00; Thu, 14 Aug 2008 12:58:59 +0200 In-Reply-To: <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/cUa3lm2BsivAU+g8+oDnJxokbQL4JCpR1YxJx FiZvVVb1mYdv4FXZsrdmpalElxe4nLfO0bqTdlCOaA9Qx2buG5 ZCzVVaQ2Es3MOI/nDm0g== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:56602 Archived-At: Am 14.08.2008 um 11:04 schrieb Francis Moreau: >> Put "#!/bin/sh" or "# -*- mode: sh; -*-" in the first line of the >> file. >> > > As I previously replied I can't. You could set up auto-mode-alist to use a particular mode (Shell- script mode) for a particular type of file name ... -- Greetings Pete People say that if you play Microsoft CD's backwards, you hear satanic things, but that's nothing, because if you play them forwards, they install MS Windows.