Subject: bug#2355: closed (Re: bug#2355: 23.0.60; Enabling minor-mode disables major mode)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 10 May 2011 02:34:02 +0000

Your bug report

#2355: 23.0.60; Enabling minor-mode disables major mode

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].

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

Subject: Re: bug#2355: 23.0.60; Enabling minor-mode disables major mode
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 09 May 2011 22:33:48 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.1

The use of "mode:" to enable minor modes is now deprecated
(precisely because it has problems like this and others).
Use "eval: (minor-mode)" instead. See bug#8613.

Subject: 23.0.60; Enabling minor-mode disables major mode
From: Leo <[email-masked]>
To: [email-masked]
Date: Tue, 17 Feb 2009 11:45:27 +0000

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In a file like this:

---------------- file: sample.tex ----------------
%% -*- mode:outline-minor; -*-

% Empty
--------------------------------------------------

Opening it and emacs will put it in fundamental mode with
outline-minor-mode and it is undesirable.

However,

---------------- file: sample.tex ----------------
% Empty

%% Local Variables:
%% mode: outline-minor
%% End:
--------------------------------------------------

Emacs will put it in LaTeX/TeX mode with outline-minor-mode.

I wonder if this is a bug.

Best,
Leo

GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-12-14 on BREPNB