|
From: | Lennart Borgman (gmail) |
Subject: | Re: How to open a file in sh-mode |
Date: | Thu, 14 Aug 2008 13:20:38 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Francis Moreau wrote:
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
Because you are doing it in the wrong order. sh-mode will apply to the current buffer. Try
$emacs FOO -f sh-modeBut ... - do you really want to do this? It means you are using a new eamcs instance for every file.
[Prev in Thread] | Current Thread | [Next in Thread] |