From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.bugs Subject: bug#74688: 30.0.92; [PATCH] php-ts-mode: Removed unnecessary function call to treesit-font-lock-recompute-features. Date: Wed, 04 Dec 2024 15:27:30 +0100 Message-ID: <2830614.fDdHjke4Dd@3-191.divsi.unimi.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2822435.vYhyI6sBWr" Content-Transfer-Encoding: 7Bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27181"; mail-complaints-to="usenet@ciao.gmane.io" To: 74688@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 15:28:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tIqMZ-0006re-Gz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 15:28:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIqMH-0003Ya-7j; Wed, 04 Dec 2024 09:28:05 -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 1tIqMF-0003YA-MJ for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 09:28:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIqMF-000496-4Z for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 09:28:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=zyuG/aBpUr599F2YNRYzuOFQUfRsPZjtzt+EgeOZglE=; b=avma3WhqnLA7GoqCocW97alA9e0rV3MEUf3AP+iHlkrSROUb2UBX1E+Hao9a6JTZJLxtBvmcIZVvDcgBW1AtpuRa5sziaoySam/p0Lg9b43dpS+y/BSEvJXxZWeaEEC8iPZJLWjEwwV4lxHba2zjT5X3E4SJ+xC1tvNtK1C97BlWNqsCJcbGEqoJnoJVk+33/xTgTBbn5pwnN+G3JrKy5xIp/3Nfmc4qntq+1aD9dWFIURBUb53WkhWuDldpuVxJerOTOyRbmWj7kS+ZR0YRSFwb19SNFMoDPgS4RjL1D5wg7BPP6I4jefMMFLwhW3QelKnLMwopCS2fBjCqb+1TRg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIqME-0004Mh-O0 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 09:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vincenzo Pupillo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74688 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173332246016734 (code B ref -1); Wed, 04 Dec 2024 14:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2024 14:27:40 +0000 Original-Received: from localhost ([127.0.0.1]:34772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqLr-0004Lq-Rt for submit@debbugs.gnu.org; Wed, 04 Dec 2024 09:27:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:60018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIqLo-0004Ld-JF for submit@debbugs.gnu.org; Wed, 04 Dec 2024 09:27:38 -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 1tIqLo-0003Wx-Cs for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 09:27:36 -0500 Original-Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIqLn-0002Zu-0v for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 09:27:36 -0500 Original-Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5cfa1ec3b94so7692495a12.2 for ; Wed, 04 Dec 2024 06:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733322453; x=1733927253; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=zyuG/aBpUr599F2YNRYzuOFQUfRsPZjtzt+EgeOZglE=; b=gZhpozzCRkz8UUUvZKsjEOHOhLxACRe9sREYcI4MXYsgGmmmsMfhF67M/CqlYeJ4Th 6xipgnnYA7u13aSOJ0ua+ClxN30O+vt+mxl4tggOiC0Yyat4ZUhN1iVkTbZgWwXF4aps DffL+fZ8bif1lNt77HxejTZdv79hPfsAQNvHGAFQDAxsTY/GSO4ukSiLT5m0vvT6zJuo F82sY8ZxJzni3C/dROVGpN1ks/tf6fRIul6WzQ1c6tXumEWHlrv5HvUtAhJr+x1Eof8G I8Kp4qp4z6byc2t0NoGvMGwS5bctZ8xdhteR1ai4RHOVbJLdznnjNeE/JZfYFkiuaJ0y VTaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733322453; x=1733927253; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zyuG/aBpUr599F2YNRYzuOFQUfRsPZjtzt+EgeOZglE=; b=NnFBMXMZvUy9WXsQuDOBXO4rnSH/6vyTQayhe5mcJG455/iTJIz8mc9f3/1Cc3BK6J HLljL+EXuVP7L7NfXRtZALECHx/4YvR6vJWJfPrtSxg/bHR+RQJs7iHpYKIIdJVMP5R0 TMmVF4W8Q/5VZbXXbuWM8NM4v42Gx+QKP8iynEvM7LloKk/KxQgABEnDQQKHLevbc0rQ L3XQY8dsp9Z2php9UlHBcKYwNcBc+XHJvF/GSJseSiJmkzYKqMVVDJe4+CkHwMqNCM+G 85bs2Sz+L4rRfrPuvHbQbMq9IyR8RGuqbwz/lilQOn3AThQA6cb69nQrlsPHInsU7Jlp e1kg== X-Gm-Message-State: AOJu0YzIb9BHsSwJgnXo/a/Ku2rfm4IKicCgWaesl4GKqpxNEEIHRKMX gHBtupwiSjKhNfe+eo2NXhSWj9r9FysrlwX7XuyKVMekn6LzRNUaUGH/1g== X-Gm-Gg: ASbGnctMusdOFzbvcF6JqtFME1kxJYm5Fdzxg3oLpwxjsBKbxkqKqDnk2KgVlhh3XDz kD8o6r2aFBZH0ilV4ErbVqZwQxzIWXr14jcvQSOlN1knaL4Kwlfy/RBJNlEE23tWLPsp8AxrMK5 pDvP9r2IAs+gtsYU9Ik5/PThfjRXpGdMS/HX3L2UR+iCx8uHvm/E2eYo1ppQu9Ow74YHWTJXc9R zsVvY357v5D3BpekbvodCmRoDFIV+qfm2kXV+BlQpI9uB0Ym/NnnbOOYDKTuUfdAiAC/0BWbOhc 2Mc= X-Google-Smtp-Source: AGHT+IFg+0xA4b7QrhNzF9GV+bDJkT0U9RyOvRYOoCRbTTel4+29zOSTADFCC6foHqA/XXgGzrTntw== X-Received: by 2002:a05:6402:1e91:b0:5d0:a80d:bce9 with SMTP id 4fb4d7f45d1cf-5d10cb5bf71mr4425606a12.20.1733322452872; Wed, 04 Dec 2024 06:27:32 -0800 (PST) Original-Received: from 3-191.divsi.unimi.it (3-191.divsi.unimi.it. [159.149.3.191]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d0d2f0652bsm4868469a12.25.2024.12.04.06.27.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 06:27:32 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=v.pupillo@gmail.com; helo=mail-ed1-x531.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296414 Archived-At: This is a multi-part message in MIME format. --nextPart2822435.vYhyI6sBWr Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Ciao, Hi, the attached patch removes an unnecessary call to treesit-font-lock-recompute-features. Thank you. Vincenzo --nextPart2822435.vYhyI6sBWr Content-Disposition: attachment; filename="0001-Removed-unnecessary-function-call.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-Removed-unnecessary-function-call.patch" >From dc506f1cf2b181153f7fa8dc9e1fbdfb478366b8 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo Date: Wed, 4 Dec 2024 15:06:54 +0100 Subject: [PATCH] Removed unnecessary function call. * lisp/progmodes/php-ts-mode.el (php-ts-mode): Removed unnecessary function call 'treesit-font-lock-recompute-features'. --- lisp/progmodes/php-ts-mode.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 6052c79ccf3..975d6c89be5 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -1557,7 +1557,6 @@ php-ts-mode ;; should be the last one (setq-local treesit-primary-parser (treesit-parser-create 'php)) - (treesit-font-lock-recompute-features) (treesit-major-mode-setup) (add-hook 'flymake-diagnostic-functions #'php-ts-mode-flymake-php nil 'local))) -- 2.47.1 --nextPart2822435.vYhyI6sBWr--