GNU bug report logs -
#2355
23.0.60; Enabling minor-mode disables major mode
Previous Next
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
Message #32 received at 2355 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Wed, Feb 18, 2009 at 08:42, Leo <sdl.web <at> gmail.com> wrote:
> When they contain the pseudo-variable mode specifying a minor mode, they
> behave differently.
>
> The two behaviours are as follows.
Yes, that was perfectly clear in the bug report.
> 1. put file in fundamental mode and the minor mode (when in header)
> 2. put file in a major mode by auto mode detection and the minor mode
> (when at the end of file)
>
> This causes confusion. Do you think this is a bug?
No. It is undefined, but harmless, behavior after a user error.
> If not, I think at
> least the manual can be improved.
As I've said, I think the only way to improve the manual regarding
this issue is to make clearer that "mode:" should *not* specify a
minor mode, and that if you use it for that, you can get unexpected
behavior.
Juanma
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.