From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_Paulo_Labegalini_de_Carvalho?= Newsgroups: gmane.emacs.devel Subject: Re: Initial fontification in sh-mode with tree-sittter Date: Thu, 27 Oct 2022 17:09:01 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000be34e205ec0c3aa5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28313"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 28 01:10:21 2022 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 1ooC0y-00079k-Pz for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Oct 2022 01:10:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooC01-0007D0-Oz; Thu, 27 Oct 2022 19:09:21 -0400 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 1ooBzz-0007Cr-WA for emacs-devel@gnu.org; Thu, 27 Oct 2022 19:09:20 -0400 Original-Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooBzu-0003hK-Lf for emacs-devel@gnu.org; Thu, 27 Oct 2022 19:09:19 -0400 Original-Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-13bef14ea06so4414081fac.3 for ; Thu, 27 Oct 2022 16:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8nvTA+/EFatU5XaWZ0wIaQrWoMy9tWnHKqi7z+/lwsE=; b=K/6lwMczEyFf+rQWjktUhRH1iMflkW6i7IusoVj/MGxJJIZuv96mIclYgGWslQXjfl g2PuWVGRbMiIFuPXqpe+bCGZg5P255u4p/rUrAlfsA9wRb+178BDqcXmwgt4COVwjiSg fDOyxMiNAEehv6r4F0MrnYZlVVDX5PX/nwl6jbCsNQm0dJwkcqvTluB4Q3XkzzdxQK1b u5WnDN44T1sTxU9rh9mStpZA5uwlfHq9gXRy1pT7Ra6BD06eak0T4lOy1fixePLsamO7 TTjjF12kJcwToubKKbmAwcbKYDe1usTsKZoAb54kQr9rMu4KLGLPO+A1lyQyZfxFA7ZA +28A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8nvTA+/EFatU5XaWZ0wIaQrWoMy9tWnHKqi7z+/lwsE=; b=d6a+G9gb7DZVXWkthBBjyTzaOT4sp1oh73ZNqXWqdPM1FEzS8kfzk9mScZDPsYSRTp pXBg2ZFm5fCQ/XH020MTF2O9Xix1fC9HjrOTWyeziZ2L9wgCRIAyP/JCbjc+jX1Tj9KM dMuMfdTUDEAB8r+PMb+gqW9tu4GXFDBSf6BdcG97Y+emyMMtPKPshEyoDvrANX50e4vu d5Qb+YBnTlLsmwfgouYYlyZxWnd3ayP7BPpN/dYA6VEyCS4GoqErgiMNwHJLK4ZNcRdh 3uPlGLZPa+yTE38IOGEQ0N/8ZdfKZI/D9BM7P374yEiBmpgb0E2SKrJvFjBw+4sJQyyr Dqyw== X-Gm-Message-State: ACrzQf2Z9xVVCRf0OTUB+Q5eLuyxGiGmAOoreQJX/hOI8WDFoQu/YAP0 K7+qYcMI+F/oVFQlwCuMgYTKFbsJCxb15KHr9ZypaMgh X-Google-Smtp-Source: AMsMyM7hbprHuAIWQ4P18RvaWZdHhjk5TZEdqt3cQkGA/Zr1esWtfgAvtH7KXkHhfMDbifwH9CMzMsU7533L+E1AKcw= X-Received: by 2002:a05:6870:ac0d:b0:13b:b9e7:e6d0 with SMTP id kw13-20020a056870ac0d00b0013bb9e7e6d0mr6805930oab.17.1666912152858; Thu, 27 Oct 2022 16:09:12 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=jaopaulolc@gmail.com; helo=mail-oa1-x34.google.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, HTML_MESSAGE=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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298645 Archived-At: --000000000000be34e205ec0c3aa5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > A similar behavior happens if tree-sitter is not enabled, if the heredoc > is empty then all subsequent commands are fontified as heredoc. However, = as > soon as anything is added to the heredoc, then everything goes back to th= e > correct fontification. > Please ignore the above comment. The "no refresh" bug only happens with tree-sitter enabled. --=20 Jo=C3=A3o Paulo L. de Carvalho Ph.D Computer Science | IC-UNICAMP | Campinas , SP - Brazil Postdoctoral Research Fellow | University of Alberta | Edmonton, AB - Canad= a joao.carvalho@ic.unicamp.br joao.carvalho@ualberta.ca --000000000000be34e205ec0c3aa5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
A similar behavior happens if tree-sitt= er is not enabled, if the heredoc is empty then all subsequent commands are= fontified as heredoc. However, as soon as anything is added to the heredoc= , then everything goes back to the correct fontification.=C2=A0

Please ignore the above comment. The "n= o refresh" bug only happens with tree-sitter enabled.=C2=A0

--
Jo=C3=A3o Paulo L. de Carvalho
Ph.= D Computer Science | =C2=A0IC-UNICAMP | Campinas , SP - Brazil
Postdocto= ral Research Fellow | University of Alberta | Edmonton, AB - Canada
<= /div>
--000000000000be34e205ec0c3aa5--