Subject: bug#16591: closed (Re: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-))

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 30 Jan 2014 17:04:04 +0000

Your bug report

#16591: -*-mode1-*- -*mode2-*-

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
16591: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16591
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#16591: closed (Re: bug#16591: -*-mode1-*- -*mode2-*-)
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Thu, 30 Jan 2014 12:03:24 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Rüdiger Sonderfeld wrote:

>> > -*- mode:text; mode:flyspell; -*-
[...]
> It's what the documentation already says

Not exactly, since use of "mode" to enable minor-modes is deprecated.
The docs says to use "eval".

>> You can also use file-local variables to specify buffer-local minor
>> modes, by using 'eval' specifications.  For example, this first nonblank
>> 
>> line puts the buffer in Lisp mode and enables Auto-Fill mode:
>>      ; -*- mode: Lisp; eval: (auto-fill-mode 1); -*-

Subject: -*-mode1-*- -*mode2-*-
From: [email-masked]
To: [email-masked]
Date: Thu, 30 Jan 2014 08:52:21 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

On (info "(emacs) Choosing Modes")
please mention the proper way for users to write
-*-mode1-*- -*mode2-*-
if they want both.