GNU bug report logs -
#10650
view-mode inconsistencies wrt special mode-class
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Mon, 30 Jan 2012 09:06:01 UTC
Severity: minor
Found in version 24.0.93
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stefan Monnier wrote:
> The default global value of major-mode is not nil, so in 99% of the
> cases whether a mode is special will have zero effect.
Yes, that's what I meant by saying that it doesn't seem a useful feature
to me.
> I really would be happy to declare that a nil default value for
> `major-mode' is not supported any more. So we can simply get rid of
> this "special mode-class" mess.
Fine by me, although the core functionality is already there of course
at very little cost.
> I'm not sure exactly what's the idea with view-mode's use of special
> mode class, but IIUC it's that we don't want to enable view-mode in
> major modes that already have view-mode-like keybindings, which might
> boil down to something along the lines of "major modes which use
> suppress-keymap".
Yes, and largely by coincidence IMO many of those modes happen to
have special mode-class.
This bug report was last modified 13 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.