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: CC Mode troubles and Emacs 29 Date: Tue, 10 Jan 2023 17:49:57 +0800 Message-ID: <87k01uhg6y.fsf@yahoo.com> References: <874jt0hw7p.fsf.ref@yahoo.com> <874jt0hw7p.fsf@yahoo.com> <838ribq48f.fsf@gnu.org> <87zgarhl7j.fsf@yahoo.com> <56368889cb2a5e6f39ab@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org, acm@muc.de To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 10 11:24:50 2023 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 1pFBoG-0005LF-VO for ged-emacs-devel@m.gmane-mx.org; Tue, 10 Jan 2023 11:24:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFBGt-00015w-4k; Tue, 10 Jan 2023 04:50:19 -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 1pFBGq-00014k-KZ for emacs-devel@gnu.org; Tue, 10 Jan 2023 04:50:16 -0500 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFBGn-00021P-UN for emacs-devel@gnu.org; Tue, 10 Jan 2023 04:50:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673344210; bh=o5h+ufAl6FAcAZRIy27kjNCKklPZw467d+AKczfiBz4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=AkNusZWsqZwFuc/k812T8fOPM8S7wFfSWDCizC/oKkOCgXoJ+HHQeQ3vmnW9la+TIzyjzhkN1qpx2iA5kYmYsRSuI8dtLSZvGN+/oBUi2mLY/bW92HMJfS+wbtVePZxSMNCqYh+VQZLNUD86xXKrVqDre0nFYfJ8QUTmH14kVff6kIIHqIcdhDhYNowpWJCQzwEgrfhFzAMU4bIR3EQpcx9DQKGpRVhe6F3dD8GBsL2X24UgPB2zDBNo9H1Ih8hvCVJvTkwpId+5JHopenvGjHE3ybBoZGyRqk4YWS9ABEN4c1TW8+Try8swRMjl0dkpGh8CEuxrN8JgbhLP64I3FQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673344210; bh=7TwzgMcTWqkRRLDQJTlsHzwOv1egoSSKwr+/Gu0b/G3=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=MJe5KAE2USAzAZ4tU/FqOc9d39mqqLgeMe0hNbnFSQGhJ2LkQZfz3XlFcem2yIQveJM7J5AnjgGOJr3HirTfpO2ZXlXikP3FQ32MWCr41zo+xLj47Jz1S3qaWFyH1uG23QjQS7apZIz7nhlFX9NFH15JW2XNNB8KT1Lo9YOr0JQOWse0imngw7sC8XjBMpncaeis96BhvKiiB+S7bbMuoStyOg0epa4uBVZqR10u3QWpvnQ5kQZv+nnFneB1MFYoGJW4FGu/IgD3PJZjfQx7vFycfDbkQ8W2csrVeDWvSMZ7rXKW1WunbUZkrLVnMyzGyZFQ+j3szMSHpB3t5kRc4Q== X-YMail-OSG: XP0NTqsVM1mi2Vi0kWfQSVMWwbhTUW56Ut5o4PGVm7YP6QMYHjCcfA1tx_nFJ.S dAKEf4KikoXUm9ZxzY5qUMt8CLK9eGYnJpPOuFh10K4AwJKwKEmmRKcdMyzVI3ZB.hsqQB3cllJo 47geSfAZkLbJyrbSDemOt7JeX9J89ui6Z_1PjtTKBRC.U1A7.u3JrT.7v9lgYAX_CBY_DG9BjLLC vGzrnqCYu2ZodHub2aUgIK_oMG39Htm5NHx2tKulJyByIzhRYAiydRdqH.XNeOkgULLBjz5UnEzv fkdq1P1dH3K48vFYwBFpw1hurhGfokltBCHwuXbCNtLwJoQkB2hgOoQ6AOlsf2V.NXJ5YCraoiMI 5C3la88fYegnUyvI4O4Q8a04IixnM5qQEstZ3Osj9UpbRf79X4n9qhGD0RktMrkxnRJOC5Plmvrb 86XTDcYnWc_._nzCGgZ1orO6bdvVROA0JQaQUpohapr83KBaagTIdfpP9DTwXH4xNAIm1Pb_6.sZ KXn8RwZkkwUe8LguxqP4.nIJptDN.faKhUdlz3L_M1wmqRO7Xc8NHmTfv.Yv2uE64TsXOwJBeaPS uC_QiB8Q6sJbbZmX92W707hSoREGudDMetus.xswhtgTgRSqIPFul7oc9S9eNTe.Omn5dWngRYCW VDa8djZySx1xKHvOsNAcfLOzxDPvCQU9xdAsXlkVwdEAMpqwOSsmuKVF9JDeYYyAWxsZijDwvF5O oufcJ70xoAaeRfhWR3XerM36w2gbSn4Y737qoNhypz7gkRvCc4AdTHGNe79rEtAjL3vpGSFtl1cR jEhopwFOs2ApeP7xLXgFG.stwsiqquSQgf27qm4Kru X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Tue, 10 Jan 2023 09:50:10 +0000 Original-Received: by hermes--production-sg3-b666c6484-s6ncm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 69530d441a4cc8d22ef342b9ea62063a; Tue, 10 Jan 2023 09:50:04 +0000 (UTC) In-Reply-To: <56368889cb2a5e6f39ab@heytings.org> (Gregory Heytings's message of "Tue, 10 Jan 2023 09:26:20 +0000") X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.82; envelope-from=luangruo@yahoo.com; helo=sonic306-20.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302309 Archived-At: Gregory Heytings writes: >> >> https://sourceforge.net/p/cc-mode/mailman/message/37737197/ >> > > In that thread you say: So please reply there. :) > That's not a tree-sitter problem per se, it's "only" a matter of > someone taking the time to define a tree-sitter grammar for these > variants of the C language. What is not possible is to define "one > grammar to rule them all", IOW, one grammar that would magically > recognize in which variant of the C language a given file is written. CC Mode happens to do that fine.