GNU bug report logs - #22564
Fundamental mode isn't fundamental enough.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 5 Feb 2016 12:54:02 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Alan Mackenzie <acm <at> muc.de>, Drew Adams <drew.adams <at> oracle.com>
Cc: 22564 <at> debbugs.gnu.org
Subject: bug#22564: Fundamental mode isn't fundamental enough.
Date: Sat, 6 Feb 2016 15:57:02 +0000 (UTC)
> >> +1.  Fundamental mode should be Notepad-like as much as possible IMHO.
> >> (Incidentally, I almost never use Fundamental mode, exactly because of
> >> that.)
> 
> > Fundamental mode is not really supposed to be used by users
> > interactively, AFAIK.  It should not even have the functionality
> > of Notepad.  It is used as an empty inheritance point for other
> > modes.  It is the "bottom" of modes. ;-)
> 
> I think fundamental mode existed long before derived modes did.  To say
> it shouldn't be used directly by users is a bit strange, IMAO.  I use it
> fairly often, e.g. when I'm testing, and I want to clear out buffer local
> variables from some buffer, or to re-initialise font locking, or
> something like that.

In that case, I'd still suggest that Fundamental mode should be truly
trivial, with no particular expectation that it be used interactively,
and with it not chosen as the default mode for any buffers in `emacs -Q'.

But I'd also suggest that we create an intermediate mode that is _almost_
trivial, that inherits from Fundamental mode, and that provides whatever
is considered a bare minimum for interactive use.  If that bare minimimum
includes electric indentation, so be it.  But I do think we should not
be adding to Fundamental mode.  (Just one opinion.)




This bug report was last modified 3 years and 93 days ago.

Previous Next


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