From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "V. L. Simpson" Newsgroups: gmane.emacs.help Subject: Re: How to specify minor modes via -*- ? Date: 23 Nov 2004 11:52:37 -0600 Organization: Monster Island Message-ID: <87vfbwihay.fsf@ghidra.localhost> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101232870 21388 80.91.229.6 (23 Nov 2004 18:01:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 18:01:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 23 19:01:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CWeyJ-0004WQ-00 for ; Tue, 23 Nov 2004 19:01:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWf7Q-0005Ob-A9 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Nov 2004 13:10:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!spooler.hal-mli.net!news.hal-pc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 24 Original-NNTP-Posting-Host: 206.180.152.29.adsl.hal-pc.org Original-X-Trace: 1101232357 news.hal-pc.org 58708 206.180.152.29:2841 Original-X-Complaints-To: abuse@hal-pc.org Original-Xref: shelby.stanford.edu gnu.emacs.help:126845 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22246 >>>>> "Leonardo" == Leonardo Boiko 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