From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Why tree-sitter instead of Semantic? (was Re: CC Mode with font-lock-maximum-decoration 2) Date: Sun, 14 Aug 2022 09:23:00 +0800 Message-ID: <87a687sjnv.fsf@yahoo.com> References: <83o7wuva9o.fsf@gnu.org> <83mtceupbx.fsf@gnu.org> <83lerxvfnu.fsf@gnu.org> <838rnxvdcq.fsf@gnu.org> <83r11ptksn.fsf@gnu.org> <83a68dti6w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15980"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Lynn Winebarger , Eli Zaretskii , jostein@kjonigsen.net, Alan Mackenzie , emacs-devel To: Jostein =?utf-8?Q?Kj=C3=B8nigsen?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 14 03:24:11 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oN2MM-0003wG-28 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Aug 2022 03:24:10 +0200 Original-Received: from localhost ([::1]:36346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN2ML-0004MG-66 for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Aug 2022 21:24:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN2LS-0003aQ-R2 for emacs-devel@gnu.org; Sat, 13 Aug 2022 21:23:14 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:38781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN2LR-0001aa-7x for emacs-devel@gnu.org; Sat, 13 Aug 2022 21:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660440190; bh=H/n9WrsY33AbZKxsLhLMRE07yHwH0kuK9A7wyH/qYC8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=N3fm4HKPEqadoweue66KGGWCF5ZsB8vt1OT4RN01ionXu7CztCwY5NouFgRHtHT0l1QdwgqRrLrwjV85Lm6B1WX9DoTwm99jeSsGGlO4xiSeplSS3w4tklqEd8QLu6Cu12/JC3I7razVOR/MKgVh/AaAaTiIqFWPDlUx6TxxN08+KLXL+M21o+Aa8yRBdw8/e6sKweEk7vzdf4NK+xTBxbchClDvbWZ60l9jV7KwzB+E8BvH7IJ1ruER+n58GE3zcNn04JfzTyWiH0UgRJ8hdf1Lve2ja9KR2aGRltPy8YbSZ/jD5pLK3t/YvI3WEDvmYtt6wcqG7j9RVxqhu+asUg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660440190; bh=ifrkKLaJR1S1ezYeF8fz+FG7ZdrHMABAjUZndzrIDYj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZD1C2qCjXsbMoNcK8T1NThF+NqqMH4n2FFsns9scB6J2r+/moAHnpMsgWjHl4J7n0fFCpvXz2vREKr9D0N1eqertUSkVsEWB2bqXzJpsKdyDqfuJ/vev05oMYsXdLMS2YtDOo+pLGTMeehTh1PwCtrMkUbTizf2f/Eck4oWCbFvrbXnvQVsuwGYksjhMuS665/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o.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 Aug 2022 01:23:10 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-slt79 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d6fd77199fbf2923d18211a7a8cdfd16; Sun, 14 Aug 2022 01:23:05 +0000 (UTC) In-Reply-To: ("Jostein =?utf-8?Q?Kj=C3=B8nigsen=22's?= message of "Sat, 13 Aug 2022 16:40:12 +0200") X-Mailer: WebService/1.1.20531 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.206; envelope-from=luangruo@yahoo.com; helo=sonic311-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293435 Archived-At: Jostein Kj=C3=B8nigsen writes: > But I've yet to date seen any case where Semantic or CEDET has > provided me with value as a Emacs end-user and programmer. Maybe it > works. Maybe it's useful. Maybe it does magical things. But as far as > I know, it's a mode you can enable, and then .... nothing happens. 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.