GNU bug report logs -
#68246
30.0.50; Add non-TS mode as extra parent of TS modes
Previous Next
Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>
Date: Thu, 4 Jan 2024 22:12:01 UTC
Severity: wishlist
Found in version 30.0.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #295 received at 68246 <at> debbugs.gnu.org (full text, mbox):
On Mon, Jan 15, 2024 at 12:38 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> It's our only reliable instrument of getting feedback for our
> decisions.
It's an instrument among others. It's not particularly reliable.
> > An empty base mode is useful just for its hook and its behaviour in
> > dir-locals, for example.
>
> No, it is completely useless, and we shouldn't introduce such modes.
One more time. The user hook for 'foo-base-mode', which is the
normal parent of 'foo-mode', 'foo-ts-mode' and 'foo-whatever-impl-mode'
can be used to:
* setup a library of snippets for the Foo language.;
* define a suitable Flymake backend for said language
* appear in dir-locals to setup fill-column for this language
* define simpler more robust major-mode database, such as
((foo-base-mode . thingy-42)
(js-base-mode . thingy-43)
(ruby-base-mode . thingy-45))
* many more things
These are exactly the things being discussed here.
There is this crystal clear evidence of usefulness being laid
in front of you and yet you claim adamantly it is "completely
useless". With no justification for the statement. Because
of course, there is no such thing.
João
This bug report was last modified 1 year and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.