help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to specify minor modes via -*- ?


From: kj
Subject: Re: How to specify minor modes via -*- ?
Date: Tue, 23 Nov 2004 17:42:20 +0000 (UTC)
User-agent: nn/6.6.5

In <mailman.1013.1101230601.27204.help-gnu-emacs@gnu.org> 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?

> From C-h i:

> > You can use the `mode' "variable" to set minor modes as well as
> > major modes; in fact, you can use it more than once, first to set the
> > major mode and then to set minor modes which are specific to
> > particular buffers.  But most minor modes should not be specified in
> > the file in any fashion, because they represent user preferences.

Great.  Thanks.  But how did you find it in C-h i?  I searched for
"mode", but got nowhere (too many irrelevant hits).

kj

-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]