GNU bug report logs - #2355
23.0.60; Enabling minor-mode disables major mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 17 Feb 2009 11:55:06 UTC

Severity: minor

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo <sdl.web <at> gmail.com>
Subject: bug#2355: closed (Re: bug#2355: 23.0.60; Enabling minor-mode
 disables major mode)
Date: Tue, 10 May 2011 02:34:02 +0000
[Message part 1 (text/plain, inline)]
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 2355 <at> debbugs.gnu.org.

-- 
2355: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2355
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 2355-done <at> debbugs.gnu.org
Subject: Re: bug#2355: 23.0.60; Enabling minor-mode disables major mode
Date: Mon, 09 May 2011 22:33:48 -0400
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.

[Message part 3 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; Enabling minor-mode disables major mode
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



This bug report was last modified 14 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.