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 14:06:50 +0200 Message-ID: <22A6E916-A9CD-4496-853F-4E455EC084FF@web.de> References: <38b2ab8a0808140053g6261aeafmd74692199cea07eb@mail.gmail.com> <87tzdodmu0.fsf@localhorst.mine.nu> <38b2ab8a0808140204s9badea6w38526cef832ceb79@mail.gmail.com> <1454386A-4592-45B7-A89E-322BB9E7F783@Web.DE> <38b2ab8a0808140402m17d776d3n7d0ee23f15cf3b2e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1218715673 24827 80.91.229.12 (14 Aug 2008 12:07:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 12:07:53 +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 14:08:45 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 1KTbd5-0007qd-RG for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 14:08:36 +0200 Original-Received: from localhost ([127.0.0.1]:49731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTbc9-000455-Gu for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 08:07:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTbbo-00041O-AD for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:07:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTbbl-0003xI-Ou for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:07:15 -0400 Original-Received: from [199.232.76.173] (port=53618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTbbl-0003x8-GA for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:07:13 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:50066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTbbk-0003Eh-T3 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:07:13 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id F383CE6AE13E; Thu, 14 Aug 2008 14:06:52 +0200 (CEST) Original-Received: from [91.35.215.136] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1KTbbQ-0001Qs-00; Thu, 14 Aug 2008 14:06:52 +0200 In-Reply-To: <38b2ab8a0808140402m17d776d3n7d0ee23f15cf3b2e@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+1Ew1KA4IqNLJG/gk8+h6vbGNzNLIOcuF9kEXb sUcW7XnVXi+CbDkstCmA8dhkiYz1JKgIrc+yJDuw1zU7wjBYet /e/unPJuXvxEyo2SZBmg== 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:56611 Archived-At: Am 14.08.2008 um 13:02 schrieb Francis Moreau: > IOW why can't I simply do ? > > $ emacs -f sh-mode FOO Could be it needs to be: emacs -f '(sh-mode)' FOO See also the documentation on the function sh-mode. -- Greetings Pete =92Twas a woman who drove me to drink, and I never had the courtesy to =20= thank her for it. =97 W.C. Fields