From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tobias Bading Newsgroups: gmane.emacs.devel Subject: Re: Using incremental parsing in Emacs Date: Sat, 4 Jan 2020 06:21:03 +0100 Message-ID: <15A84506-EF46-40C7-BF7D-418CCBCFE7E6@web.de> References: Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-41EA8ADE-A1F6-441D-8CB8-ABC2331F8153 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="22759"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , HaiJun Zhang , arthur miller , phillip.lord@russet.org.uk To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 04 08:57:28 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ineJM-0005km-Gx for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2020 08:57:28 +0100 Original-Received: from localhost ([::1]:60380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ineJL-0003Ds-3Z for ged-emacs-devel@m.gmane.org; Sat, 04 Jan 2020 02:57:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44985) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inbs9-0006cc-32 for emacs-devel@gnu.org; Sat, 04 Jan 2020 00:21:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inbs7-0008Ne-Rj for emacs-devel@gnu.org; Sat, 04 Jan 2020 00:21:12 -0500 Original-Received: from mout.web.de ([212.227.15.4]:55039) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inbs7-0008Hl-DV; Sat, 04 Jan 2020 00:21:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1578115265; bh=W9mmFy911NqPc6XOgSbWfuuXjs/8BJOseAULmMqhb5A=; h=X-UI-Sender-Class:From:Subject:Date:References:Cc:In-Reply-To:To; b=gIOklFrTqdbTdnW3A5L3jS9Tp2XhQb9O/C9X2IfbzKsrSSp8GIPE/fZf4Da8BeVve GgLiN98x4GVRjLsTZ1ZIQwaQ0WuY1msvSIYPskdCQMnUDy4Pleumr9Iu9fGyMW9j+v KoNdTCpLslHkdBgE12UDicaFgKDE4WEHQWgH5SmI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from [192.168.2.108] ([84.143.150.64]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MGRMG-1irzbF0NFo-00DGT1; Sat, 04 Jan 2020 06:21:05 +0100 In-Reply-To: X-Mailer: iPad Mail (17C54) X-Provags-ID: V03:K1:1kUZp1iAqjFmpWFzjzM9YVqlIZuI5xwhfNPKJ1GpvhrLKY+qXoa Ax8XoVygtyOsd12HPmO62ppAXNHMVzjO+r+SwRv89p82ASaU7hBfG6JVxHB2HZq/4crvmxb eGrskEGLXduwQvadfP/lv23aC7hP6IkzEFPNQOsMMGLKuuyPYspNy2DUbM0+vNCfhEKvWly rY551OA3D+PDwMU+fuQ0g== X-UI-Out-Filterresults: notjunk:1;V03:K0:GCs58hZmsQM=:CQZMKUtHLQKIjnvesUdaAr kuYplneJ1TDUbOeLsxaiPDZBNDyxRPsKw3VOsIi8/nj5hkU61C+5r4lFeu7tIwuZDz6TIyWkB ZrQKBRwzjcOMZRR45hAmMc0Je9DvzIHpNMSupDGNcYsaWwuHeJUIdXCHF9gaX1U19KcxH9bOO NYzcViVNnvCr/50pvbJAdP7e7kG7k4U8gYc9KmjbDQvjKjmN9dcQINSndHTItCOgJkjRrOwPl JdyiEfZLl5TRP0uJIaYxjv9Fa8YWyAP4C9gOydhA3DwCL0dpTI1o9nvVurkS107E0DjrYzgDr Mxk2qv3VA/7IOE5dZp2AiITLa+WKQD6WDnwes3p3vVpy9iVNe7HdMvl318V6ZFI1PCaCyOnmF qOibsW2wOUJcH79bdTrR5tmdB2jSyRo2lE3yB3lyZEKGSfyMnMrGf73bWTi8N4JXatEy06gA7 +avo+DjM6DcVYD2ci7QUoCGjS8u5W+dsLy3tW6ZUSrb7NFTvbU2nV94Z0j+IW6wmZj6ETvTtM Qcfd2tPAcFkcJTrewji/ysbltZHqYnksPXrWUK8CNGYABFMbkSoyrqU+Odc5f+NZ/xCWVsEmv JUS2CO2sas5CTuYMWwC33zyjKLo8oyBKXB28RK2Tbvb0ECbVa6eHNg/vTt/NFjCx5EGWa0Lb2 qecxdCwMPiR7O410UO7qDcdDnUD7lUXmDbGuuskQM9liy9T0plrPdnJEiomulO3OQrCwFZ0cM KtJisZTT03xRPUM5nJ0MFGiHSF4Yffc8okaB/7UEzlKwN51nx2i9vkoOwMCui81Sv+pFmErF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.4 X-Mailman-Approved-At: Sat, 04 Jan 2020 02:57:02 -0500 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243908 Archived-At: --Apple-Mail-41EA8ADE-A1F6-441D-8CB8-ABC2331F8153 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 4. Jan 2020, at 04:26, HaiJun Zhang wrote: > [...] > =E5=9C=A8 2019=E5=B9=B412=E6=9C=8827=E6=97=A5 +0800 AM12:52=EF=BC=8Cyyonch= o =EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A >> [...] >> lsp protocol is not going to support full-featured highlighting but only s= emantic >> because it won't be fast enough.=20 >>=20 >> Related: https://github.com/microsoft/vscode/issues/77140 and=20 >> https://github.com/Microsoft/vscode/issues/585 I=E2=80=99m not 100% sure because I don=E2=80=99t like too colorful source c= ode and it=E2=80=99s been a while since I did the configuration, but I=E2=80= =99m using the awesome https://github.com/MaskRay/ccls and https://github.com/MaskRay/emacs-ccls (in combination with lsp-mode) on a daily basis and I=E2=80=99m quite sure those are able to fontify member= variables and what not. Mickeysoft decisions never stopped anyone... Happy hacking, Tobias= --Apple-Mail-41EA8ADE-A1F6-441D-8CB8-ABC2331F8153 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
= On 4. Jan 2020, at 04:26, HaiJun Zhang <netjune@outlook.com> wrote:[...]
=E5=9C=A8 2019=E5=B9=B412=E6=9C=8827=E6=97= =A5 +0800 AM12:52=EF=BC=8Cyyoncho <yyoncho@gmail.com>=EF=BC=8C=E5=86=99= =E9=81=93=EF=BC=9A
[...]
lsp protocol is not going to support full-featured highlighting but onl= y semantic
because it won't be fast enough. 


I=E2=80=99m not 100% sure because I don=E2=80=99t li= ke too colorful source code and it=E2=80=99s been a while since I did the co= nfiguration, but I=E2=80=99m using the awesome
<= div>https://github.com/Mas= kRay/emacs-ccls
(in combination with lsp-mode)
on a d= aily basis and I=E2=80=99m quite sure those are able to fontify member varia= bles and what not.

Mickeysoft decisions never stopp= ed anyone...

Happy hacking,
Tobias
<= /body>= --Apple-Mail-41EA8ADE-A1F6-441D-8CB8-ABC2331F8153--