From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kj Newsgroups: gmane.emacs.help Subject: Re: How to specify minor modes via -*- ? Date: Tue, 23 Nov 2004 17:42:20 +0000 (UTC) Organization: none Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1101231978 18740 80.91.229.6 (23 Nov 2004 17:46:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 17:46:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 23 18:45:59 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 1CWejm-0003C8-00 for ; Tue, 23 Nov 2004 18:45:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWest-0001MR-AX for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Nov 2004 12:55:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1101231740 27236 166.84.1.3 (23 Nov 2004 17:42:20 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 23 Nov 2004 17:42:20 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.5 Original-Xref: shelby.stanford.edu gnu.emacs.help:126844 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:22245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22245 In 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? > 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.