From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Sat, 28 Mar 2020 11:17:34 -0400 Message-ID: References: <86tv2h2vww.fsf@gmail.com> <20200322123818.GB32470@ACM> <87eetk5swm.fsf@gnu.org> <20200326193128.GC14092@ACM> <86d08y4zsx.fsf@gmail.com> <83sghs7qdz.fsf@gnu.org> <7ee94ed4-7a11-90bd-df69-c0eeacaf191c@gmail.com> <835zeo7c92.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="98780"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 28 16:26:22 2020 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 1jIDLp-000Pef-SH for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 16:26:21 +0100 Original-Received: from localhost ([::1]:54046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIDLo-00087S-TZ for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 11:26:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38872) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIDDN-0004YY-VM for emacs-devel@gnu.org; Sat, 28 Mar 2020 11:17:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIDDM-00046C-RI for emacs-devel@gnu.org; Sat, 28 Mar 2020 11:17:37 -0400 Original-Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]:46835) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIDDM-00044k-Ny; Sat, 28 Mar 2020 11:17:36 -0400 Original-Received: by mail-qv1-xf2e.google.com with SMTP id bu9so514237qvb.13; Sat, 28 Mar 2020 08:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ML+1oCq+kVjqmU9QBGfvZcRBuD8NNZlI58Jcamf+ozE=; b=GCTWzGlYtbF4HQCcmQL31AcJ3TOOdA7sjZh1sAxlqYvG+qK8PsLzuGIvSDRuCGmZk/ PEzE4bWzSTETM/R4Ai5YU9ezvmpUArqVtWM1zQymm+avR/NIvAnfFjmhbOkYTGjl+Ezu DspfBGat655LIApAV/LEzSVXG8Xfp2I2BJkkPRMFJVsAif37YmNy2jeeC6VrB3DQtOJg jHFi21lY6rdhCqzu7Y66xs/NoHwZEc4giXGYOrMwySJ16M27SwqRMzgNbUZ/RVQ/OQqz P4rPhvATd5mVciSejnO9wr85si8OTgPuGtc7/zRFfw7DzO/RMx5VIeoOpvnpcMlxqv5b 4dWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ML+1oCq+kVjqmU9QBGfvZcRBuD8NNZlI58Jcamf+ozE=; b=G0chIoyuVKA64yTmEJHxO4wrQrMwzB8SG/ihYN7u7fIEW187eHtrCg+7vGpTLfdk0n WMBhy5kk0r9M2YBvbk5mKAZcxPeBNQwbiVU1LahDE/oytlfY2UGBF5gNxFQKVrYu1nPl Pyk9vLudwNMy2kb3sIp8eOUI1m9nCtgkGkbpfdkJxsC7B27XcySuJ2Im5Rzvr0YO1l5C WvB0rKd0/8xEFH0fJUotyXu/LPNAOrwh0+x0dEPy8dtXhttXRWLfQDIc148eP6DsRK5/ bub1PbuYHCpLkZCdhjLYAYSLkhO5V/i9kXhuiHQUsZgmVuBQuD+fbv9//MnWCwgIWuwY 7slw== X-Gm-Message-State: ANhLgQ1tPiJki3nriFkFPfg0V3/H64LBtqOj7jMd/HhFXPQ68JDZnWwy 0FA4Kxe2IQ77q1wtTrremis4D5Hv X-Google-Smtp-Source: ADFU+vujh7gpshJHk8R8amUpH1v35dPuauO8n2kLUfjYMM/+oZw437ChDdH8SbJ1JxPyALVF/744Yg== X-Received: by 2002:ad4:5349:: with SMTP id v9mr4373173qvs.177.1585408655227; Sat, 28 Mar 2020 08:17:35 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:dcae:d149:538a:1f37? ([2601:184:4180:66e7:dcae:d149:538a:1f37]) by smtp.googlemail.com with ESMTPSA id x51sm6637287qtj.82.2020.03.28.08.17.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Mar 2020 08:17:34 -0700 (PDT) In-Reply-To: <835zeo7c92.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f2e 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:245882 Archived-At: On 28/03/2020 11.03, Eli Zaretskii wrote: >> From: Clément Pit-Claudel >> Date: Sat, 28 Mar 2020 10:43:00 -0400 >> >> On 28/03/2020 05.58, Eli Zaretskii wrote: >>> I think the way to increase performance of C/C++ fontification, >>> indentation, etc. is to use syntactic analysis in C (or another >>> similarly fast compiled language). Several programs/libraries are >>> available out there for this purpose, and we should encourage >>> interested individuals to work on making these used by our major modes >>> that support programming languages. The time we could do that with >>> ad-hoc regexps and the likes of syntax-ppss has gone, IMO. >> >> I've looked, but I don't really know of any such libraries. > > What about tree-sitter? Neat! It looks promising. I forgot about this one. It seems that Atom uses it, so that's a pretty strong endorsement too! Could it be used with Emacs 25's modules? Otherwise, how can users define new languages without recompiling Emacs?