From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59435: 29.0.50; tree-sitter fails to fontify or indent simple function Date: Fri, 25 Nov 2022 09:45:26 +0200 Message-ID: <83r0xrv5nt.fsf@gnu.org> References: <871qpw7s9k.fsf.ref@yahoo.com> <871qpw7s9k.fsf@yahoo.com> <3A4C0323-634D-437D-9510-50E59A254619@gmail.com> <87mt8k5xm3.fsf@yahoo.com> <83wn7o2z2v.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26277"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 59435@debbugs.gnu.org, casouri@gmail.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 25 08:46:29 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oyTPo-0006eG-PL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Nov 2022 08:46:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyTPb-0005af-UV; Fri, 25 Nov 2022 02:46:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyTPQ-0005TF-2c for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 02:46:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyTPP-00068m-2Z for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 02:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyTPO-0004R0-Ji for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 02:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Nov 2022 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59435 X-GNU-PR-Package: emacs Original-Received: via spool by 59435-submit@debbugs.gnu.org id=B59435.166936233017000 (code B ref 59435); Fri, 25 Nov 2022 07:46:02 +0000 Original-Received: (at 59435) by debbugs.gnu.org; 25 Nov 2022 07:45:30 +0000 Original-Received: from localhost ([127.0.0.1]:33338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyTOs-0004Q7-EB for submit@debbugs.gnu.org; Fri, 25 Nov 2022 02:45:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyTOq-0004Pt-Qz for 59435@debbugs.gnu.org; Fri, 25 Nov 2022 02:45:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyTOi-0005uL-Ev; Fri, 25 Nov 2022 02:45:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QD/rqLPTChxYXLif86igJLcbDremUCt6H07XDhssd48=; b=BZnW4YGlT7Zf 5E7QD0Jz7jTVCQvWhHL7iGzFqBdoorDHWSgRGMpd86JXrcbRdXLTgFMQs6+fNqughdyEYLhwW21Hg wLp1a4yfLbkyPBFZ98kcAuz/LsVL71F7OcgMS90TX3x0icL2OP+wT+eHLF20Ps4JwQJaMlfC53ftI S/90sHB12h9oPProGBwMAXHE01U20XRLZ7c9mB4FXLDcbtSK6g4dv214iltCad3RcmVNif6Ll8Si/ xofzudNxqWg7qfNvr0fnLDhNfY3ETLwTcLNOrFqEpIdW2AWQzURYieNoCoMBmn4OrXrY1310h9Mjg g4IuJGf53IQEay7/3Z32Bw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyTOT-0005Is-VL; Fri, 25 Nov 2022 02:45:06 -0500 In-Reply-To: (message from Richard Stallman on Thu, 24 Nov 2022 18:38:30 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248966 Archived-At: > From: Richard Stallman > Cc: luangruo@yahoo.com, 59435@debbugs.gnu.org, casouri@gmail.com > Date: Thu, 24 Nov 2022 18:38:30 -0500 > > > It's K&R C, which is used very rarely these days, and it sounds like the > > next version of GCC will reject it, since C2x makes it invalid. > > The GNU policy is to continue supporting old forms of syntax for many > years after the latest version of a language specification has > deprecated it. Old programs are sometimes very important. We should > refuse to aid the crusades to compel people to "upgrade". My point was that such code is extremely rare nowadays (or at least is extremely rarely _edited_), and thus failure to fontify and/or indent it correctly isn't a catastrophe IMO. Unless you disagree with that opinion, what you say is a tangent for this discussion (although I agree with what you say regardless).