unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 16797@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)	[thread overview]
Message-ID: <b538683a-2d2d-4854-8b52-5ecef5bd59d6@default> (raw)

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'





             reply	other threads:[~2014-02-18 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 18:13 Drew Adams [this message]
2014-02-19 14:25 ` bug#16797: 24.3.50; `emacs-lisp-mode' does not derive from `lisp-mode' Stefan Monnier
2020-08-12 22:11   ` Stefan Kangas
2021-07-15  5:00     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b538683a-2d2d-4854-8b52-5ecef5bd59d6@default \
    --to=drew.adams@oracle.com \
    --cc=16797@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).