Subject: bug#49278: 28.0.50; Lisp Mode is for Common Lisp

From: João Távora <[email-masked]>
Date: Wed, 30 Jun 2021 17:50:03 +0100

On Wed, Jun 30, 2021 at 5:47 PM Eli Zaretskii <[email-masked]> wrote:
>
> > From: Stefan Monnier <[email-masked]>
> > Cc: [email-masked],  [email-masked]
> > Date: Wed, 30 Jun 2021 12:37:24 -0400
> >
> > > If they are similar enough, there's no need for such special places in
> > > the code.
> >
> > But then the "and other similar Foos" should be added to all our major
> > modes, since that's also true for them.  E.g. how 'bout:
> >
> >     @@ -2608,7 +2608,7 @@ c-c-menu
> >
> >      ;;;###autoload
> >      (define-derived-mode c-mode prog-mode "C"
> >     -  "Major mode for editing C code.
> >     +  "Major mode for editing C code and other similar languages.
>
> I don't mind.

Come on, don't do this. A major mode is only for editing programs
of a given language or other languages that are a superset of that
language.

Major mode for language X is only good for programs written for
X or for programs written for Y that happen to be compatible with
X. The concept of "similarity" is just too vague to use here.

João