From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jorge Javier Araya Navarro Newsgroups: gmane.emacs.devel Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs) Date: Wed, 1 Apr 2020 09:44:03 -0600 Message-ID: References: <83imik1qbq.fsf@gnu.org> <835zek1kpv.fsf@gnu.org> <83v9mkz5oo.fsf@gnu.org> <83pncsym6l.fsf@gnu.org> <4a9d6bb2-458d-89b0-5389-d1f883ef24a1@yandex.ru> <20200401135237.GA6240@ACM> <83d08rz48f.fsf@gnu.org> <5d5e4fac-2f83-455e-d3e0-51b28c27bfb5@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f37dd605a23c8f9c" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="66560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org, Stefan Monnier , Alan Mackenzie , Eli Zaretskii , akrl@sdf.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 01 17:45:35 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 1jJfYd-000HDa-Fm for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 17:45:35 +0200 Original-Received: from localhost ([::1]:33750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJfYc-0008Mh-BV for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 11:45:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51909) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJfXn-0007wR-63 for emacs-devel@gnu.org; Wed, 01 Apr 2020 11:44:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJfXm-0003Pi-31 for emacs-devel@gnu.org; Wed, 01 Apr 2020 11:44:43 -0400 Original-Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:35647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJfXl-0003M7-MU for emacs-devel@gnu.org; Wed, 01 Apr 2020 11:44:42 -0400 Original-Received: by mail-wm1-x341.google.com with SMTP id i19so250404wmb.0 for ; Wed, 01 Apr 2020 08:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=esavara-cr.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yQ6xPchNj29IjH0XW2H4ba4sED2Bf25uB2EUPCJTfag=; b=lu1q6sJ485/OzMOqRHzrSWFZr0rIT4u282jHy0wtZNiMHsz58kDPcYkw1ZlwM00Qyu 7RexPYHUbDevkJuBvUthYeqjnjYE2tHsheQmS9wCjjulRZRorla4pL5cFHE4wCYlMdD9 R55/tc03bzpSnjmdg1Ejb0d1f1yDOxCUSKNlX6Z7rJ32zOztNUulXGW/FzVJKdQ182Up Tp//OeV4qtyJFeLjk03/UvcbqWY2plCuuKHBQCDE7wYEkVK0285RAAdQM2RYbqlilZLR nuGWYXqsFSxHFm2gJb3x13Cc9hmnuY9A3b2YlS6AtUoalglc5CAwYa2pkr5WTWV0YFC4 87Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yQ6xPchNj29IjH0XW2H4ba4sED2Bf25uB2EUPCJTfag=; b=ZY4oR5cazHSrhWaIDgrp0dSLI0xl8HrGqZbgBR+o2R8MP6nPZ+mhEgysyLbiL1ApJt bT2B0VSE8S0Is3hVuSB0jJ4GNDDkbptZfKMzluXRQzix607j3tKC9/XfFPdN8enhonQg T2Fz8JkwSXiv11jnPFXJby7J3GR/uhM2GCkPEdKANIVynCnT7/z03ekMnaKwU+oBi3nb B10lpvX2bfeU3zvy1HOcIvdhYlzVx0zreHw0vSySB0Ay5shVfJxtsG/ACXi3tKI9p6ra WEx2QXt/MkYcyb4kKmmJ7SVogWgfIB0jXg9FQfeWCg2RWFkUdGKYMH11LcrRtgRYmd2X Upug== X-Gm-Message-State: AGi0PuafRmc0lin6WXLSiomaP8MadIUrEahPtBwGh/yO54HOK5n19+4I 4TBJsCZH2aoa7FTX8OISrb7oxXvJuXKoq6bPipsN/w== X-Google-Smtp-Source: APiQypKe8dDLLQ7TDQdpb5oW7EvnnYn5isYbDWl7RjfXM9ljcmI2rbC0H3xueKXUbuKNhFSoNQDVbkSkHMp2L3lGMGs= X-Received: by 2002:a1c:dd8b:: with SMTP id u133mr4710977wmg.109.1585755880384; Wed, 01 Apr 2020 08:44:40 -0700 (PDT) In-Reply-To: <5d5e4fac-2f83-455e-d3e0-51b28c27bfb5@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 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:246204 Archived-At: --000000000000f37dd605a23c8f9c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yup. El mi=C3=A9., 1 de abr. de 2020 a la(s) 09:28, Dmitry Gutov (dgutov@yandex.= ru) escribi=C3=B3: > On 01.04.2020 17:10, Eli Zaretskii wrote: > > But in any case, it should be trivially obvious that avoiding to parse > > the entire buffer will make redisplay faster. We should try doing > > that instead of giving up, even if we think the current fontification > > machinery is slow enough to make the parsing delay not so visible. > > I think it's pointless to argue against the current design of TreeSitter > here, where none of its developers can read it. > > --000000000000f37dd605a23c8f9c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yup.

El mi=C3=A9., 1 de abr. de 2020 a la(s) 09:28, Dmitry Gutov (<= a href=3D"mailto:dgutov@yandex.ru">dgutov@yandex.ru) escribi=C3=B3:
=
On 01.04.2020 17:10= , Eli Zaretskii wrote:
> But in any case, it should be trivially obvious that avoiding to parse=
> the entire buffer will make redisplay faster.=C2=A0 We should try doin= g
> that instead of giving up, even if we think the current fontification<= br> > machinery is slow enough to make the parsing delay not so visible.

I think it's pointless to argue against the current design of TreeSitte= r
here, where none of its developers can read it.

--000000000000f37dd605a23c8f9c--