From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: How to open a file in sh-mode Date: Thu, 14 Aug 2008 11:23:19 +0200 Message-ID: <87r68srlvc.fsf@tux.homenetwork> References: <38b2ab8a0808140053g6261aeafmd74692199cea07eb@mail.gmail.com> <87tzdodmu0.fsf@localhorst.mine.nu> <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218706020 20283 80.91.229.12 (14 Aug 2008 09:27:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 09:27:00 +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 11:27:52 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 1KTZ7X-0003Bg-F8 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 11:27:51 +0200 Original-Received: from localhost ([127.0.0.1]:49409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTZ6b-0001b8-0l for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 05:26:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTZ67-0001ZB-Ty for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:26:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTZ65-0001VU-JP for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:26:22 -0400 Original-Received: from [199.232.76.173] (port=53433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTZ65-0001VC-5f for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:26:21 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.174]:58307) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTZ65-0008B8-0o for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 05:26:21 -0400 Original-Received: by ug-out-1314.google.com with SMTP id l31so329095ugc.48 for ; Thu, 14 Aug 2008 02:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=7fAYswHYEygaFnx6GsDL/bk6ty7TLPHgPGKdHGgO+TI=; b=TIoBW51YG4ioHmUg+wahpikIlXD3USApFvFAEcYyshhBY8/LHu/2WE4K4js8MgkVTI gqR4k9QavwltHGyyOS0FJnAoXXFq+4zNtWW9H6/jicmJaciifHZSGb7iR5WkpT0A2GBl 63K5qRSI++mX+1/GJ5XPRtwRgJRa0Isz8Ne7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=AGqElS4JMDFxMS0+o+TcEDjvYL7ehd0RIAin/t6RBz2IiPm9MKXaAc4omYxqh03P+4 qyQ2fpBXsj+4i2N3TAdnTDLMY8BU5EEYwTcVexEtap/E+q/yt5M8HYGTCO2F/QPRnYGq DdPQYsArdV2kmgpj9kq2QwHNdalEdvYm0b/54= Original-Received: by 10.66.250.17 with SMTP id x17mr608664ugh.0.1218705979300; Thu, 14 Aug 2008 02:26:19 -0700 (PDT) Original-Received: from tux.homenetwork ( [77.197.77.211]) by mx.google.com with ESMTPS id z40sm1519172ugc.55.2008.08.14.02.26.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Aug 2008 02:26:18 -0700 (PDT) In-Reply-To: <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> (Francis Moreau's message of "Thu, 14 Aug 2008 11:04:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:56597 Archived-At: "Francis Moreau" writes: > 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 ?? starting a shell script without any headers is not very nice i think! -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France