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: Implementation direction for shell-script-mode with tree-sitter Date: Thu, 27 Oct 2022 08:23:12 -0600 Message-ID: References: <87mt9j1k50.fsf@yahoo.com> <87tu3q6q8m.fsf@yahoo.com> <83czadn6kw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000418f0905ec04e21f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37101"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org, casouri@gmail.com, theo@thornhill.no To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 27 16:27:29 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 1oo3qy-0009T8-Rd for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Oct 2022 16:27:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo3n5-0003h4-HH; Thu, 27 Oct 2022 10:23:27 -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 1oo3n4-0003a2-RV for emacs-devel@gnu.org; Thu, 27 Oct 2022 10:23:26 -0400 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo3n3-0000WM-9Q; Thu, 27 Oct 2022 10:23:26 -0400 Original-Received: by mail-ot1-x330.google.com with SMTP id br15-20020a056830390f00b0061c9d73b8bdso1032981otb.6; Thu, 27 Oct 2022 07:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RnwPrOfpsQ/8I7CnE6eRNdQGac6FmH80iBS4dNw/gYc=; b=UET4toND92U+ZXWRt8klZzo9Bv/eFEB0GRmJbEBtzYBMsdeynd6tCDYawzkmnpKzy8 XvXNIM1gjjejghgxxAF2NL1NVpjtAoBJ07IW7n2LcgbXoRz/1624nqAiYq5CiaJ+ee35 JreXqsWhFs4UtIwxOMA1zldHH5rutiurMz37CPyNzKDnLbcVK/f1WuNsuanjeVBlPAPp OVhN+aZSdG326LFdiR0IM0SxNq4h389WP5dtrBiCdo4y3etojKbv/I8vkS8Yp6PUEjDx +Q2ubycVoKICEcuXqiAu0Va2bzOdhr8z4a3ZMFexJhmDIr9Q8YuHb3t/lPL/vVqibtnH +cYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=RnwPrOfpsQ/8I7CnE6eRNdQGac6FmH80iBS4dNw/gYc=; b=iPvmyIHQeCKKXfKo6DWZJ1Z+wreoqrM6tW+9lstx71Uwi34gbNJXbAhMiMvWVOSfy4 8eVFQRONnPwTmKpKWu6BGKifhtKlzRrvYsXoRz2hAJp9JZi/2UqygPU9M4K5um6WljFD P4W0kTBkc/vi5gHht3WmPl/8vsQoQw/pp9UGInjfynSogZp9YG2bvDbKwVAkkwusYF6B myQiX6FBeexmSueU+7WTQl68FMl3k8hnAgxQfhqyNPaU+5dOH/29/zi2Uk/xVYVtJstX 7UB7KsGm2kuDGUAxdur4MIuQJiLPMtlCBZ16nrgabLWTOyFn/x2EkekaOmULyttg5so0 GG5A== X-Gm-Message-State: ACrzQf0SrPt/pQDt7mKyOB12IBGlTo+T/AVj+QuID5QDbYc2sEAZc77G HA7VSJJM3dBiXkFt/FxseOf+PkA3DhURy98Cf8O42duR X-Google-Smtp-Source: AMsMyM5XQqU69b3KuhFZi1qtSgOrNZZH367/J2Uii/Ls0X1LAFPts2hfpnOJq0t9oK79V+qpYuIOlxOw+3Fa9KfEnCE= X-Received: by 2002:a9d:7f83:0:b0:661:abd3:9f5b with SMTP id t3-20020a9d7f83000000b00661abd39f5bmr24456555otp.202.1666880603523; Thu, 27 Oct 2022 07:23:23 -0700 (PDT) In-Reply-To: <83czadn6kw.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=jaopaulolc@gmail.com; helo=mail-ot1-x330.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:298620 Archived-At: --000000000000418f0905ec04e21f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > From where I stand, the single most important improvement from using > tree-sitter in shell-mode buffers is to solve the problems with > fontifications in tricky cases like here-documents etc. These are a > source of constant stream of bug reports, when people expect us to do > a decent job in those cases. I hope tree-sitter could solve that once > and for all. > Eli, if you could send some of those bug reports, that would be great. I can use them as test cases for what I am working on. --=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 --000000000000418f0905ec04e21f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From where I stand, the single most important improvemen= t from using
tree-sitter in shell-mode buffers is to solve the problems with
fontifications in tricky cases like here-documents etc.=C2=A0 These are a source of constant stream of bug reports, when people expect us to do
a decent job in those cases.=C2=A0 I hope tree-sitter could solve that once=
and for all.

Eli, if you could send some of th= ose bug reports, that=C2=A0would be great. I can use them as test cases for= what I am working on.
--
Jo=C3=A3o Paulo L. de Carv= alho
Ph.D Computer Science | =C2=A0IC-UNICAMP | Campinas , SP - BrazilPostdoctoral Research Fellow | University of Alberta | Edmonton, AB - Can= ada
--000000000000418f0905ec04e21f--