GNU bug report logs -
#49278
28.0.50; Lisp Mode is for Common Lisp
Previous Next
Full log
Message #89 received at 49278 <at> debbugs.gnu.org (full text, mbox):
On Wed, Jun 30, 2021 at 5:47 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> > Cc: joaotavora <at> gmail.com, 49278 <at> 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
This bug report was last modified 3 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.