From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Define treesit-font-lock-level as buffer local Date: Tue, 17 Dec 2024 13:37:57 -0800 Message-ID: References: <4929184.OV4Wx5bFTl@3-191.divsi.unimi.it> <2528408.XAFRqVoOGU@fedora> <5719751.rdbgypaU67@3-191.divsi.unimi.it> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) 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="22603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Vincenzo Pupillo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 17 22:39:02 2024 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 1tNfHR-0005kJ-AN for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Dec 2024 22:39:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNfGg-00045O-Im; Tue, 17 Dec 2024 16:38:14 -0500 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 1tNfGf-00044n-DD for emacs-devel@gnu.org; Tue, 17 Dec 2024 16:38:13 -0500 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNfGd-0005yD-Pm; Tue, 17 Dec 2024 16:38:13 -0500 Original-Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-728f337a921so6031834b3a.3; Tue, 17 Dec 2024 13:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734471490; x=1735076290; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=weRk8EErcodaJR8DA1VztCxQxc93FvOD6/RMLK02NvA=; b=RFnQq+ibDhHP1m69vXFoK6CSrOl0PjcQZsuv+3XWObI1tTbJVpmFVFrnZ/Q4Zt44mN Hr9T/lYB/DtQ/PDpztnxzWNfsm318M2hayvHDs+FAM4oRd2gnwYIcHIkQ3EkCzCMqRHw rB/vDYchJrpboPy+e09dyuibJb/R5hnl5UOKh4jMAgBrXvnvr6SRxbvKWjVwHsjeZrPx PNUtoufcIwB0PaR2jL42N9dWXG6V3opeyARSF4PZ52iZCfBdHzk60YQ+qQwR+ezPD/Ue R5UgBRM6YcQgehMuh5EYU0xRIpM2775/ijiLonUW/qDm2aE8i4KrRPQAwcVAifMMPmlM r47g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734471490; x=1735076290; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=weRk8EErcodaJR8DA1VztCxQxc93FvOD6/RMLK02NvA=; b=g8EhG9UJbTE1fPMH5lmZ8bb6/QerUSBF7FX+iyMCSNkhm9dZbueQ3HSuP0XabcRiSI whCZyEpfQ/zO46QWH6M4xoEuYKeB0PuuS9cTyi7YsYFD3Z7ddpAW5nNV7gUBFYcxzJ9W AgdqDoTYpwD4eVBuWGr/czK7ijpn67QbZs4UMtRHtBOjDt0SMHtWyjrgEy+QKvpP23Ca CCiSztHYpGDFwdnc8rQ926mFDSBf7m/bpDnVyrvSLuAXSmAFI8iBujmgev75Rgj0uk1I srs+/CATEn3p4E1BPIIE22wNJ2VukJ4QHVL08j0iuvXpiIfvcQDz0t/jDkgpL7wYfb4F /gkA== X-Forwarded-Encrypted: i=1; AJvYcCXtKLr/Eyajk4wv2v9xIAGkNJCkANMu1XorUvtE941EJa/fkJg9Zgd0iO3ChKNWoXadn/Ou93hnXlGpaA==@gnu.org X-Gm-Message-State: AOJu0YyrE/edIylvptd2z8qVSGwKQ/bmzbsPVGOnQrYKEj2rwVT0Xb2s OZ0A4YACv3VWn2lDFymPNP45FG1TCRkUfnrU0w1hjfD65pr2UGDU X-Gm-Gg: ASbGncuwHS1B9rJfnZKILtDVOZKLcpZpwNvVV2IJHHr7M9W3q66slnCctJ1WFWBSRU9 on8dqxuyedF/3/z9+BwY2xzjJzbAWso+fmTKq7bq/24IOZHbqtAIUG3d1JOC8PLtR82xTMWfIJ7 1IZJZ13x//OdqYN6CBdCG2PRgi9dObsRLVaibHY+dNXhgsMxByM3Dz43XlaMt9SGJU1xzwB1U7/ 3h72wk2nfi7aeKXKJt7ridImV+pmQ/AGN2/Hm3NT5A0Bph5Yb5ITB+SIvCHdCJTfWQ12wydanue s1rs X-Google-Smtp-Source: AGHT+IEnTwLCBRFDpiosCZl9fE6WE0LwaYrvBrAdAIxHPgggdWIQ/M1jJyzX6ayYIM3yhyEmyYJBhg== X-Received: by 2002:a05:6a00:1943:b0:725:f359:4656 with SMTP id d2e1a72fcca58-72a8d2c99c0mr776888b3a.18.1734471489592; Tue, 17 Dec 2024 13:38:09 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:3c51:7b60:93f1:5af7]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72918ad5695sm7135281b3a.46.2024.12.17.13.38.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Dec 2024 13:38:08 -0800 (PST) In-Reply-To: <5719751.rdbgypaU67@3-191.divsi.unimi.it> X-Mailer: Apple Mail (2.3776.700.51) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=casouri@gmail.com; helo=mail-pf1-x429.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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326618 Archived-At: > On Dec 17, 2024, at 3:31=E2=80=AFAM, Vincenzo Pupillo = wrote: >=20 > Ciao Yuan, > I found a bug in python-ts-mode, it does not handle = treesit-font-lock-level=20 > even as a list. The attached patch fixes this bug. >=20 > Thank you. >=20 > Vincenzo Thank you! I merged your patch. Yuan