[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp
From: |
Stefan Monnier |
Subject: |
bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp |
Date: |
Mon, 27 Sep 2021 22:06:40 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> No. I was saying that I don't see why we should
> say that "lisp-mode is only for Common Lisp".
AFAIK nobody has suggested to say "only Common Lisp".
The suggested text was:
+ Lisp mode is the major mode for editing programs written in Common
+Lisp or its ancestor dialects. Its mode command is @kbd{M-x
+lisp-mode}. Emacs uses Lisp mode automatically for files whose names
+end in @file{.l}, @file{.lsp}, or @file{.lisp}.
>> No, that's the thing, it's a Common Lisp mode, not just "any Lisp" mode.
> Then call it such, if you're sure it's useful
> only for Common Lisp.
Again, where does that "only" come from? The thing I think we should
say clearly is that it's a major mode for Common Lisp. The current
text:
- Lisp mode is the major mode for editing programs written in
-general-purpose Lisp dialects, such as Common Lisp. Its mode command
is just misleading since you'll probably be quite disappointed if you
try to use it with most other "general-purpose Lisp dialects" (such as
Clojure or Scheme). Among the non-general purpose Lisp languages,
I think it can be tolerably for AutoCAD's Lisp (tho `emacs-lisp-mode`
would probably work about as well), but probably not for DSSSL (and even
less for XSLT, tho whether it'd still qualify as Lisp is not so clear).
>> Why should the name of the major mode be relevant to this discussion?
> Why indeed. `irrelevant-mode'? `mystery-mode'?
> I'd like to call it `fortran-mode', but I guess
> that's out.
The major mode I use for ELisp is called `emacs-lisp-mode`, the major
mode I use for OCaml is `tuareg-mode`, the major mode I use for C is
`sm-c-mode`. The most popular major mode for Perl is arguably
`cperl-mode`. It's common for major modes's names to be related yet not
identical to the language they support.
Stefan
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, (continued)
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Stefan Monnier, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Drew Adams, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Stefan Monnier, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Drew Adams, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, João Távora, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Drew Adams, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp,
Stefan Monnier <=
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Drew Adams, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Stefan Monnier, 2021/09/27
- bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp, Jean Louis, 2021/09/27