bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: João Távora
Subject: bug#49278: 28.0.50; Lisp Mode is for Common Lisp
Date: Wed, 30 Jun 2021 17:50:03 +0100

On Wed, Jun 30, 2021 at 5:47 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > Cc: joaotavora@gmail.com,  49278@debbugs.gnu.org
> > 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]