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 14:22:24 +0200 Message-ID: <38b2ab8a0808140522g1e843430wfdba0fbbe98daab3@mail.gmail.com> 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> <22A6E916-A9CD-4496-853F-4E455EC084FF@web.de> 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 1218716575 27774 80.91.229.12 (14 Aug 2008 12:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 12:22:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Peter Dyballa" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 14:23:47 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 1KTbrj-0005cZ-2w for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 14:23:43 +0200 Original-Received: from localhost ([127.0.0.1]:52629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTbqm-0001ai-EL for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 08:22:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTbqV-0001ad-Fn for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:22:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTbqT-0001aN-EX for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:22:26 -0400 Original-Received: from [199.232.76.173] (port=57059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTbqT-0001aK-BD for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:22:25 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.251]:22794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTbqT-00019x-43 for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 08:22:25 -0400 Original-Received: by rv-out-0708.google.com with SMTP id k29so402754rvb.6 for ; Thu, 14 Aug 2008 05:22:24 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=V40XAFKBb1pfMwv5RmHoOfWEYNwy0C1G9GEgGDv5Ufg=; b=d9XJoHqceRbmquF85dqiSit6TGTTcp7u6sHylvIIya/zv7OUZdQDYW682fLU2HiBT/ fFMUmUb6AvM9CSSbc0Sgf7C8x2h6iAfflAwo2XHS280QQ0XhP3Sji8yLoGlXLUVIBuuK cXNdq3AJJDj2mKIS3sRgQc+iWcSuvW+ukB0K8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=srVYtVFdZSX0N4kg0PPnMclilyosmPdd2nVfR1eFO4L1IUhFguELEQjWfiotjSHBEK D42KM9hUsokM1jKV6iaTogoZmz1I+boGs0NjfbPp5s5fFeQJErk7Lzsgy8zydp7IP8IV +D5tzbNvfWJjn/ZNJ50W/LdQothebmIje5Tek= Original-Received: by 10.140.148.3 with SMTP id v3mr597186rvd.57.1218716544105; Thu, 14 Aug 2008 05:22:24 -0700 (PDT) Original-Received: by 10.140.170.16 with HTTP; Thu, 14 Aug 2008 05:22:24 -0700 (PDT) In-Reply-To: <22A6E916-A9CD-4496-853F-4E455EC084FF@web.de> 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:56612 Archived-At: On Thu, Aug 14, 2008 at 2:06 PM, Peter Dyballa wrote: > > 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. > thanks for the tip. -- Francis