unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16797: 24.3.50; `emacs-lisp-mode' does not derive from `lisp-mode'
@ 2014-02-18 18:13 Drew Adams
  2014-02-19 14:25 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-02-18 18:13 UTC (permalink / raw)
  To: 16797

This is as much a question as a bug report, but this seems a better
place to ask it than emacs-devel@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@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'





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-15  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18 18:13 bug#16797: 24.3.50; `emacs-lisp-mode' does not derive from `lisp-mode' Drew Adams
2014-02-19 14:25 ` Stefan Monnier
2020-08-12 22:11   ` Stefan Kangas
2021-07-15  5:00     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).