unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to open a file in sh-mode
@ 2008-08-14  7:53 Francis Moreau
  2008-08-14  8:16 ` Henrik Austad
  2008-08-14  8:26 ` David Hansen
  0 siblings, 2 replies; 33+ messages in thread
From: Francis Moreau @ 2008-08-14  7:53 UTC (permalink / raw)
  To: gnu-emacs-help

Hello,

I'm trying to open a file with emacs automatically set on sh-mode.
The file name can't be used to guess that emacs should be in sh-mode
when opening it.

So I tried:

$ emacs -f sh-mode foo

But that doesn't work.

Could anybody give me some advices ?

Thanks
-- 
Francis




^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2008-09-22 20:17 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.16658.1218700648.18990.help-gnu-emacs@gnu.org>
2008-08-14  8:28 ` How to open a file in sh-mode Sebastian Kaps
2008-08-14 10:29 ` Xah
2008-09-11  1:35   ` David Combs
2008-09-11 22:58     ` unicode encoding and curly quotes [was: How to open a file in sh-mode] Xah
2008-09-14 22:35       ` David Combs
2008-09-15 16:28         ` unicode encoding and curly quotes Nikolaj Schumacher
2008-09-15 19:09         ` unicode encoding and curly quotes [was: How to open a file in sh-mode] Xah
2008-09-22 20:17           ` David Combs
2008-08-14  7:53 How to open a file in sh-mode Francis Moreau
2008-08-14  8:16 ` Henrik Austad
2008-08-14  9:03   ` Francis Moreau
2008-08-14 10:03     ` Henrik Austad
2008-08-14 10:06       ` Francis Moreau
2008-08-14 11:17         ` David Hansen
2008-08-14 11:36         ` Henrik Austad
2008-08-14 11:51           ` Francis Moreau
2008-08-14 11:57             ` Lennart Borgman (gmail)
     [not found]       ` <mailman.16667.1218708430.18990.help-gnu-emacs@gnu.org>
2008-08-14 12:24         ` Giorgos Keramidas
2008-08-14 13:01           ` Francis Moreau
2008-08-14 13:27             ` Giorgos Keramidas
2008-08-14 13:48               ` Francis Moreau
2008-08-14 14:23                 ` Giorgos Keramidas
2008-08-14  8:26 ` David Hansen
2008-08-14  9:04   ` Francis Moreau
2008-08-14  9:23     ` Thierry Volpiatto
2008-08-14  9:34       ` Francis Moreau
2008-08-14 10:58     ` Peter Dyballa
2008-08-14 11:02       ` Francis Moreau
2008-08-14 11:20         ` Lennart Borgman (gmail)
2008-08-14 11:36           ` Francis Moreau
2008-08-14 11:46             ` Lennart Borgman (gmail)
2008-08-14 12:06         ` Peter Dyballa
2008-08-14 12:22           ` Francis Moreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).