From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Leonardo Boiko Newsgroups: gmane.emacs.help Subject: Re: How to specify minor modes via -*- ? Date: Tue, 23 Nov 2004 13:12:29 -0400 Organization: Conectiva S. A. Message-ID: <41A36F7D.5060603@conectiva.com.br> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101230054 12466 80.91.229.6 (23 Nov 2004 17:14:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2004 17:14:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 23 18:14:08 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 1CWeEx-0008Oa-00 for ; Tue, 23 Nov 2004 18:14:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWeO4-0000Fx-E8 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Nov 2004 12:23:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWeNp-0000EM-W0 for help-gnu-emacs@gnu.org; Tue, 23 Nov 2004 12:23:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CWeNk-0000Bb-PG for help-gnu-emacs@gnu.org; Tue, 23 Nov 2004 12:23:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWeNk-0000Ab-FE for help-gnu-emacs@gnu.org; Tue, 23 Nov 2004 12:23:12 -0500 Original-Received: from [200.222.15.249] (helo=juli.cncmao) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWeDG-0005Wc-D4 for help-gnu-emacs@gnu.org; Tue, 23 Nov 2004 12:12:23 -0500 Original-Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by juli.cncmao (Postfix) with ESMTP id 3F7CE10076C2 for ; Tue, 23 Nov 2004 13:12:30 -0400 (AMT) User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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:22244 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22244 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. -- Leonardo Boiko