[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to open a file in sh-mode
From: |
Francis Moreau |
Subject: |
Re: How to open a file in sh-mode |
Date: |
Thu, 14 Aug 2008 13:02:50 +0200 |
On Thu, Aug 14, 2008 at 12:58 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> 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 ...
>
yes that would be possible, but I fail to understand why I can't start
emacs in a specific
mode from the command line.
IOW why can't I simply do ?
$ emacs -f sh-mode FOO
thanks
--
Francis
- How to open a file in sh-mode, Francis Moreau, 2008/08/14
- Re: How to open a file in sh-mode, David Hansen, 2008/08/14
- Re: How to open a file in sh-mode, Francis Moreau, 2008/08/14
- Re: How to open a file in sh-mode, Peter Dyballa, 2008/08/14
- Re: How to open a file in sh-mode,
Francis Moreau <=
- Re: How to open a file in sh-mode, Lennart Borgman (gmail), 2008/08/14
- Re: How to open a file in sh-mode, Francis Moreau, 2008/08/14
- Re: How to open a file in sh-mode, Lennart Borgman (gmail), 2008/08/14
- Re: How to open a file in sh-mode, Peter Dyballa, 2008/08/14
- Re: How to open a file in sh-mode, Francis Moreau, 2008/08/14
Re: How to open a file in sh-mode, Henrik Austad, 2008/08/14