From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Initial fontification in sh-mode with tree-sittter Date: Fri, 28 Oct 2022 08:57:07 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39364"; mail-complaints-to="usenet@ciao.gmane.io" To: =?UTF-8?Q?Jo=C3=A3o_Paulo_Labegalini_de_Carvalho?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 28 17:57:57 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 1ooRk5-000A3J-3y for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Oct 2022 17:57:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooRjO-000338-UP; Fri, 28 Oct 2022 11:57:15 -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 1ooRjK-00031n-PZ for emacs-devel@gnu.org; Fri, 28 Oct 2022 11:57:11 -0400 Original-Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooRjJ-0000Lx-Dr for emacs-devel@gnu.org; Fri, 28 Oct 2022 11:57:10 -0400 Original-Received: by mail-oi1-x22b.google.com with SMTP id s206so6592003oie.3 for ; Fri, 28 Oct 2022 08:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=Sr7RrP4+szhpP8aaeulqebkKzhYdz9LOSZrJyPO0q9A=; b=Im17ekaNMs/+AuBrBlhVzkwzeZ9Oonhky/b4fOqjV8pZ/ZmlElpndycfgixRO3wSAB +TQT17hWfnnHUi/WHDEJx7Idac5aGCKfCFgU5zJ0//2jMaPLgU5/JDKVFGfdV77G4rbo Srk5YRrq64A2RUzURtUY84vYLfbJX5bku+MbOjGLmJIknSfT1ke35cNmvO2fbqFKK2+M +P48Rx01M5FL642j97PqFaaZujGuLLVQYn5pPHHbuc+dUz5s5/4YPYEc+bTsCYIcTmS0 MpLfDbsUwikpP0aLmc0bZQK3vPIznsHwxqh7Qfh4wawjcPLvCoOs+Wx7Oj5/uCirpBxm 9iZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Sr7RrP4+szhpP8aaeulqebkKzhYdz9LOSZrJyPO0q9A=; b=KEHSdVVhDOpgrLO82xZGT80fZ5gCCsf2GFANH6Eq4wRcOmdfneXCCOmsvPXO2BmRJJ uthOjPa6gbsq7h9f1Wdur1c5ezD/gOC5aeBeXlyuVcnsSQWvw7H9QQ0Jux4WUKRRK2yV 04cOIKt40+WHD5vDTlfxaNX7UigGTkzMUmE/yws6VKnPB5k0UnnuVKCaIkne3qh0mdcT yh1qQEwRxCFK3598V0nsXTOpoCdG5n3ayUmq3ZKtINNQAVydmeoXMZb1RKOOIUtzh0CI gxd0eDOLQMG1ElXO2mqqXu0ORjynU6jZ65EWCvE+mjWNkuqCRAabEWnu9EeMpO9ufi4P 9wRg== X-Gm-Message-State: ACrzQf1hqNE+aQ5tZ+KgG6sxMVC/T/V5aBNxB4WFzuJmAy7pG9qQ04gU 1x/UQpvXCh0QXg7g5olTeRbp6nTQvaA/LN3/oGU= X-Google-Smtp-Source: AMsMyM5peeVM8pLIKltZPzGWtJI742C9sDvNO1E9UTj79b+kpcnXot2NSbLG39wKFchLQEy2K8DDT5BX3IFz9eOH5dA= X-Received: by 2002:a05:6808:14c3:b0:359:ac8d:41e2 with SMTP id f3-20020a05680814c300b00359ac8d41e2mr7761029oiw.92.1666972628123; Fri, 28 Oct 2022 08:57:08 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Oct 2022 08:57:07 -0700 In-Reply-To: X-Hashcash: 1:20:221028:emacs-devel@gnu.org::AZsrpJmG4dbh8WPt:7wIb Received-SPF: pass client-ip=2607:f8b0:4864:20::22b; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x22b.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, 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:298681 Archived-At: Jo=C3=A3o Paulo Labegalini de Carvalho writes: > + (setq-local treesit-font-lock-feature-list > + '((basic) (moderate) (elaborate))) I see that most modes on the branch seem to be using those three symbols for now. Are we sure about `basic', `moderate', and `elaborate', or is that just a place-holder for something more fine-grained to be added later? The documentation seems to imply the latter.