From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: cc-mode fontification feels random Date: Fri, 11 Jun 2021 22:21:30 +0200 Message-ID: <20210611202130.j35q6k4utjivzuen@Ergus> References: <83o8cge4lg.fsf@gnu.org> <62e438b5-d27f-1d3c-69c6-11fe29a76d74@dancol.org> <83fsxsdxhu.fsf@gnu.org> <83pmwudgw3.fsf@gnu.org> <20210610151647.qtt7pqbjhdtp6coe@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33778"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Mackenzie , Eli Zaretskii , rudalics@gmx.at, dancol@dancol.org, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 11 22:22:28 2021 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 1lrnfg-0008fa-B6 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 22:22:28 +0200 Original-Received: from localhost ([::1]:39410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrnff-0007eG-DA for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Jun 2021 16:22:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrnez-0006es-OO for emacs-devel@gnu.org; Fri, 11 Jun 2021 16:21:45 -0400 Original-Received: from sonic308-2.consmr.mail.bf2.yahoo.com ([74.6.130.41]:36644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrnex-0002G7-Jp for emacs-devel@gnu.org; Fri, 11 Jun 2021 16:21:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1623442900; bh=RJFEirghKeli1TpLCCVNCPbP/bhjulDal4omwQdHGKQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=f6SALYAwsvV5QnNbGTf86Coi3DJ7VD3OyotiQ5nP12+3NO++oYlWRrtJ6PT8aZUUxESyo0uZ80U6TvQr9wbqCwsmZHbhYrhWsqQxT8xwYG4/Vbm/ncqnnF6v8/LFKvta/kFsYzHoUiyDo4+pX3jpLSWx49kMJeF7CNFZPMJOjYelFBOH6Ri5dnjRqGmBuqmLccGhCX4ECKLdUANz2E+qPoI+zzAPvEC9GefQ2/YC8odhNob/Tu4yrx7TYy+NUBxLbYA1MjMFg413J4VnciRBqGGV6mnPECxDdYNqvSzBhWMzBUjAf8ktK5OOyJDSth2vPrA6UKiSeo/Z3Hq/S6+mDw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1623442900; bh=/6iVJaADY3rcDxQgQjG7qqTxPedgWC4iIUGomlBpSXP=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=pys3qGfkSz/GJRTa5x7oA3fCVG+WkntGr5CTVl/nXwJjrh07SUmaxHtknVW8FJ4nGkA9gwmu/s0pjKC/QkcJ2qBBGY6Agi6u0NN394HovObufEf4dPonUWIEvGUJqN0n3XF1qDVx59nJLMa6A7qGfRnesvGqCoKhsXeFl6WjoUEQ6H4Mf6a0UuNbaw/kGmBYnit8lSXrQsePUcw0z1AaA+a49zXuiG+pG2RxzW6UONBFZxH0BC8RSc6GAgTWZqJ4weDNkdJYneNVFWueY8BgGsSOOqQXei37v7d4q7FtqsP4feTQdhSPvcnkL8znedcxRhIbj1/tUcBKa6vhGumlhQ== X-YMail-OSG: uxlTMksVM1lzVkF8q24gY8GBQuImlR7clzadw6cpRxLJ13b26U56nXhGletTeN8 bBAar3BoWJEkzALFDUTRuth2bBoeusZ.PfAnlqzEx3gUdXLdwCyZ4FCXPGhbMfMfIyCi_O6pkXBF XfAv.VIfLqFaRhWKiYH4ugETYYXZbuo28zLO6siNWXuVVcq6o7qB2ll3IXLfnJkFBle.0fKp.9jW JGepFqIo7deY1XYm3oOzt7SfK1vVDBcPF2Cpi3guzIy73HfG7YbKbxEZv22_UIo2wf8ojFUByR0w nTkgjPy8YPtTdmVF.WVUH7gWujWkFv096Phb_36WsKXR3Sww1j9v_0cAueWjTStKF1nghwK0uF2T UMlzIV13ZMSSYLxZzjpfHZt5WpHxnKzvOGmXSXAcSSkATYgCFIrmNF_WEXdUJtkPtmJEQ8k7m.1K dldKtvnufqZ9stL3mt6B9C962EwkEfGV6H.fZv.Zu5zRJrMpgb89VHgilmvFSDHlA7rfhyqaHiHL GmRD1rubEnkDCFwPDu_YiD.4S2jDqxOKth3NdFzwJ7TbmGFYKEOvl8uVhH71N3efXluZAMzkZThD qfA1Mz2.qLTa9d2SuLqmTM8lU8yYhAyu5n0egm4eDhjiw3._I23ApFZN_Nt0wUYnswRlefdY_XSj RyqySY3PfDPEGOzZklzAnzHflhCeiyoMgSABDcfg7joe.UytoJtIGR6uZSXmACosXGMGeDt14U7F ABqEHeFn3POr18xUS9CPYCLGCoiJ8XJXHv8mssyWi4dGXFwDHJqueQsLyi0EZqyHi3wm3uOTFXR6 IEd2kPEG4m3dMqYrZABI0.CfjxR1NEVqXia8KTcoUQ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Fri, 11 Jun 2021 20:21:40 +0000 Original-Received: by kubenode545.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bb9e93819d97c37f97f8c4958735f4a7; Fri, 11 Jun 2021 20:21:36 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.18368 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.41; envelope-from=spacibba@aol.com; helo=sonic308-2.consmr.mail.bf2.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:270728 Archived-At: On Thu, Jun 10, 2021 at 05:02:09PM -0400, Stefan Monnier wrote: >> 1) What is finally the most desirable/long path/future feature? >> I mean, finally what is preferred by the developers to support in the future? >> >> lsp or tree-sitter? > ^^ > and > > >-- Stefan > For what I know about tree-sitter it does not provide the parsers with the library. Usually they require to be distributed with the programs with one parser/language. They are veen in different github repositories. In Rust application (like helix editor) that's not an issue because cargo handles that. But for emacs I don't know how can be solved the technical and legal issues with the dependencies. Are we going to add their source code to emacs? In systems like mine, tree-sitter is a package, but the parsers are not.