From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: How to open a file in sh-mode Date: Thu, 14 Aug 2008 11:04:36 +0200 Message-ID: <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> References: <38b2ab8a0808140053g6261aeafmd74692199cea07eb@mail.gmail.com> <87tzdodmu0.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218705023 17485 80.91.229.12 (14 Aug 2008 09:10:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 09:10:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 11:11:15 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 1KTYrS-0006Zn-Fm for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 11:11:14 +0200 Original-Received: from localhost ([127.0.0.1]:47815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTYqV-0003yC-RR for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 05:10:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTYl9-0001jx-BS for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:04:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTYl5-0001j2-Ek for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:04:42 -0400 Original-Received: from [199.232.76.173] (port=55882 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTYl4-0001ix-U4 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:04:38 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.247]:60874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTYl4-0001In-B3 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:04:38 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so321594rvb.6 for ; Thu, 14 Aug 2008 02:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8K/dcQnmdxmUj7pZh6CAFGV4PmsQAHg+x5ptnxOry9c=; b=XPO0uxN0IESvK2mJFDf1GL44DFx36pli5rpNMaj4QIiClvVwgsR/Af7LH05oolcnZu YQeaS4pUtQCdj5+1mhnO3QfVu3EzG1EUVJBWYCNcZIAk4EtZeraxC9eQ3TDoROmT/CvM lq6vcpXmXh7vhxOpynyW9hlw5xml6k9FWuDzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Agp60ckYiVlh/aEEudvyksKH6ePWhM4JFBJmVjWjHLOYcA4igu8DckEgUzUMV9HjZA RN8RSDUvmlFfwjqiagggNLePxTECuNyz1ZpSdVcngXuKJoWwcjd+q3nh4eO/JQ16dTOB y2CvDt3Ucae3B6DZDKz2nIJmJPLP0dVA6OmMI= Original-Received: by 10.141.41.12 with SMTP id t12mr464773rvj.282.1218704676508; Thu, 14 Aug 2008 02:04:36 -0700 (PDT) Original-Received: by 10.140.170.16 with HTTP; Thu, 14 Aug 2008 02:04:36 -0700 (PDT) In-Reply-To: <87tzdodmu0.fsf@localhorst.mine.nu> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:56596 Archived-At: On Thu, Aug 14, 2008 at 10:26 AM, David Hansen wrote: > On Thu, 14 Aug 2008 09:53:39 +0200 Francis Moreau wrote: > >> Could anybody give me some advices ? > > Put "#!/bin/sh" or "# -*- mode: sh; -*-" in the first line of the file. > As I previously replied I can't. Please see my answer to Henrik. But IMHO that's an ugly workaround anyways Thanks -- Francis