--- Begin Message ---
Subject: |
23.0.60; Enabling minor-mode disables major mode |
Date: |
Tue, 17 Feb 2009 11:45:27 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#2355: 23.0.60; Enabling minor-mode disables major mode |
Date: |
Mon, 09 May 2011 22:33:48 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.
--- End Message ---