GNU bug report logs - #16797
24.3.50; `emacs-lisp-mode' does not derive from `lisp-mode'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 18 Feb 2014 18:14:01 UTC

Severity: wishlist

Found in version 24.3.50

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: 16797 <at> debbugs.gnu.org
Subject: bug#16797: 24.3.50; `emacs-lisp-mode' does not derive from `lisp-mode'
Date: Tue, 18 Feb 2014 10:13:10 -0800 (PST)
This is as much a question as a bug report, but this seems a better
place to ask it than emacs-devel <at> gnu.org:

Why is `emacs-lisp-mode' derived from `prog-mode' and not `lisp-mode'?

To test whether, e.g., the current buffer is one where you could
evaluate a Lisp sexp in it, you would need to test whether the current
mode is derived from one or the other of these two Lisp modes.

Seems like `lisp-mode' should in some sense "encompass"
`emacs-lisp-mode', and perhaps any other Lisp modes as well.

Feel free to close this, if it does not in fact report a bug.
But in that case I would like to know what the reason is.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-11 on ODIEONE
Bzr revision: 116410 lekktu <at> gmail.com-20140211204823-l9l2s6tktfitq266
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'




This bug report was last modified 4 years and 4 days ago.

Previous Next


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