all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kj <socyl@987jk.com.invalid>
Subject: Re: How to specify minor modes via -*- ?
Date: Tue, 23 Nov 2004 17:42:20 +0000 (UTC)	[thread overview]
Message-ID: <cnvsps$qj4$1@reader1.panix.com> (raw)
In-Reply-To: mailman.1013.1101230601.27204.help-gnu-emacs@gnu.org

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.

  parent reply	other threads:[~2004-11-23 17:42 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 [this message]
2004-11-23 18:03     ` Leonardo Boiko
2004-11-23 17:52   ` V. L. Simpson

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='cnvsps$qj4$1@reader1.panix.com' \
    --to=socyl@987jk.com.invalid \
    /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.