emacs-devel
[Top][All Lists]
Advanced

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

Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock


From: Eli Zaretskii
Subject: Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2)
Date: Tue, 16 Aug 2022 14:41:54 +0300

> From: Lynn Winebarger <owinebar@gmail.com>
> Date: Tue, 16 Aug 2022 05:06:58 -0400
> Cc: Jostein Kjønigsen <jostein@secure.kjonigsen.net>, 
>       Eli Zaretskii <eliz@gnu.org>, jostein@kjonigsen.net, Alan Mackenzie 
> <acm@muc.de>, 
>       emacs-devel <emacs-devel@gnu.org>, Yuan Fu <casouri@gmail.com>
> 
> On Sat, Aug 13, 2022 at 9:23 PM Po Lu <luangruo@yahoo.com> wrote:
> >
> > Jostein Kjønigsen <jostein@secure.kjonigsen.net> writes:
> >
> > That's not true.  If you enable Semantic and EDE, and add system
> > includes (with semantic-add-system-include), and wait for the initial
> > parse to finish after visiting a file in a project, it becomes
> > immediately useful for editing C code.  It's actually what I use for my
> > day job.
> 
> I think what Jostein means is - how would you know you need to take
> all those steps?

As usual: by reading the fine documentation.  Amazingly enough,
Semantic does have an Info manual, which comes with Emacs, and those
steps are documented there.

More generally: Semantic's problems, issues, and disadvantages aside,
let's not pretend that Emacs maintainers are incompetent.  When the
decision was made to add parts of Semantic to Emacs core, back in
Emacs 23 days, a lot of effort went into its proper integration,
including making its documentation available.  So if someone asks
him/herself how do I use this stuff, I expect that someone to make the
minimal effort of reading the available documentation and trying to
follow it.  If that doesn't work, then yes, by all means do complain.



reply via email to

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