From: "V. L. Simpson" <vls@freeshell.org>
Subject: Re: How to specify minor modes via -*- ?
Date: 23 Nov 2004 11:52:37 -0600 [thread overview]
Message-ID: <87vfbwihay.fsf@ghidra.localhost> (raw)
In-Reply-To: mailman.1013.1101230601.27204.help-gnu-emacs@gnu.org
>>>>> "Leonardo" == Leonardo Boiko <leoboiko@conectiva.com.br> writes:
> kj wrote:
>> I can set a file's major mode by including the line -*-
>> mode: whatever -*- at the top of the file. How can I
>> specify the minor modes?
You can add another mode switch.
-*- mode: text; mode: outline-minor -*-
^ Don't forget that semi-colon.
It's probably better to use the 'Local Variable' construct at the
end of the file:
Local Variable:
mode: text
mode: outline-minor <- Put as many of these lines as you wish
End:
Comment that section if it's some kind of source code file.
Have fun,
vls
prev parent reply other threads:[~2004-11-23 17:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 16:36 How to specify minor modes via -*- ? kj
2004-11-23 17:12 ` Leonardo Boiko
[not found] ` <mailman.1013.1101230601.27204.help-gnu-emacs@gnu.org>
2004-11-23 17:42 ` kj
2004-11-23 18:03 ` Leonardo Boiko
2004-11-23 17:52 ` V. L. Simpson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vfbwihay.fsf@ghidra.localhost \
--to=vls@freeshell.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.