From unknown Sun Jun 22 17:14:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73975 <73975@debbugs.gnu.org> To: bug#73975 <73975@debbugs.gnu.org> Subject: Status: 30.0.91; [PATCH] php-ts-mode: highlight namespace name in "use" clause. Reply-To: bug#73975 <73975@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:14:21 +0000 retitle 73975 30.0.91; [PATCH] php-ts-mode: highlight namespace name in "us= e" clause. reassign 73975 emacs submitter 73975 Vincenzo Pupillo severity 73975 normal tag 73975 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 23 15:17:22 2024 Received: (at submit) by debbugs.gnu.org; 23 Oct 2024 19:17:22 +0000 Received: from localhost ([127.0.0.1]:60854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3grC-0003S1-Ef for submit@debbugs.gnu.org; Wed, 23 Oct 2024 15:17:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:58040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3gr8-0003Rr-Es for submit@debbugs.gnu.org; Wed, 23 Oct 2024 15:17:21 -0400 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 1t3gqb-0003vm-MV for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2024 15:16:46 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3gqa-0006kv-67 for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2024 15:16:45 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a9a0f198d38so8387566b.1 for ; Wed, 23 Oct 2024 12:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729711002; x=1730315802; 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=SpPxJPi7+gwovxcTYWkhcpHKLsuzpT+m0qIVmSY5zLE=; b=QBTBjzt7is0T4uBKA/8jF9OLXSeHvjN72IdaBEbiCYRXYldc4OHD2g5GY9sPKWPriC T2G6zyeTsh2KmzG4CVmvZcy6Tk8DZHn0U/uUV65756877gZz114d4d8um0YS1ALIo6rM Tnugj/e0oJd01Kss1+bUyAf7hrsda9LACaLBylFnZ/vW9HYel5YqKa7XPaPryJWRCOtD fxJgMXkxqk9e3cbCWGfjGPi3sS49TwH8IbQO1HFDW9uh7nS0KnK+/ETR4sc/HiB3dNfn YZL0Bgpphp11hv0giMJIJ8OGPkIfK8bZcy1aW5k/ut/Qp7ENzGILegZVmgyiNwhQ/5i2 2Rxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729711002; x=1730315802; 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=SpPxJPi7+gwovxcTYWkhcpHKLsuzpT+m0qIVmSY5zLE=; b=ngEZyOtDYOyGwlribq/YJlvAHewwO9WMqKXigbIu6oRE11/KZSPe/pwFU3zkZISWax 3KsMYkI+tSFQQ46pQjmW+Vt0+lsw8UoA2HuSD5IYlXXZvowQB1J4WAqBld1+h2G+0YLK A40LN9bwHMwK0ahSu+LJ5QX6ST8+/wq+Gdo6YXmvDNh6cCIIr3SDiNnL7ySL6w4hgOKO Dv3ZTs1AgaNKa2c0aKB8YkcOo63LSfnCfsuVkXBNIqheYO46jzQaqpGEL5Rsb7+0WvEU 4UKw80j7VjqlFyx2xwzRT+zmtUMJ8fM9s1u6/e3Su1PNPLa4Ttke2fexCDYWQ/gG8OFL kqgw== X-Gm-Message-State: AOJu0YxM4v+bSyuzzAYgP6vKnLAJ8DGE8BFWpDHGglqFWe0cPow5uH/l fPXwcjR8PlhVj3Se5ssG/89/SVrBtows5A2iIuA3vFza2PTjxTjceQuqvQ== X-Google-Smtp-Source: AGHT+IGaSETXWxlijepkZs3wK4L2YvjaUna08/30k2dNyVcs8J3yhKs0/mcauCqmHJ2LaEiGcsW1RQ== X-Received: by 2002:a17:906:730b:b0:a99:e5d5:5654 with SMTP id a640c23a62f3a-a9abf84d04amr345831066b.6.1729711002108; Wed, 23 Oct 2024 12:16:42 -0700 (PDT) Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a915993afsm514381366b.191.2024.10.23.12.16.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 12:16:41 -0700 (PDT) From: Vincenzo Pupillo To: bug-gnu-emacs@gnu.org Subject: 30.0.91; [PATCH] php-ts-mode: highlight namespace name in "use" clause. Date: Wed, 23 Oct 2024 21:16:40 +0200 Message-ID: <2708547.lGaqSPkdTl@fedora> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2523648.XAFRqVoOGU" Content-Transfer-Encoding: 7Bit Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=v.pupillo@gmail.com; helo=mail-ej1-x62f.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --nextPart2523648.XAFRqVoOGU Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Ciao, this small patch fix the highlighting of the namespace name in the =E2=80= =9Cuse=E2=80=9D=20 clause. Has been tested with both the latest and earlier versions of the grammar. Thank you. Vincenzo --nextPart2523648.XAFRqVoOGU Content-Disposition: attachment; filename="0001-Highlight-namespace-name-in-use-clause.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-Highlight-namespace-name-in-use-clause.patch" >From a3f8f437603c79a6f6ac5a93ddf6a2cbd58de86f Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo Date: Wed, 23 Oct 2024 20:45:48 +0200 Subject: [PATCH] Highlight namespace name in "use" clause. * lisp/progmodes/php-ts-mode.el (php-ts-mode--font-lock-settings): New rule to highlight namespace name in "use" clause. --- lisp/progmodes/php-ts-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 1c5fdb6f617..ce8cf8aa340 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -967,6 +967,7 @@ php-ts-mode--font-lock-settings ,@(when (not (php-ts-mode--test-namespace-use-group-clause-p)) '((namespace_use_group (namespace_use_clause (name) @font-lock-type-face)))) + (namespace_use_clause (name) @font-lock-type-face) (namespace_name "\\" @font-lock-delimiter-face) (namespace_name (name) @font-lock-type-face) (use_declaration (name) @font-lock-property-use-face) -- 2.47.0 --nextPart2523648.XAFRqVoOGU-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 24 11:40:08 2024 Received: (at 73975-done) by debbugs.gnu.org; 24 Oct 2024 15:40:08 +0000 Received: from localhost ([127.0.0.1]:35932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3zwW-0001sX-8Y for submit@debbugs.gnu.org; Thu, 24 Oct 2024 11:40:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3zwR-0001rs-Ls for 73975-done@debbugs.gnu.org; Thu, 24 Oct 2024 11:40:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3zvr-0001TU-8C; Thu, 24 Oct 2024 11:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=k0qJD6m+IG5MSAMkt/e0KkHlAzFZ8kaOv7k+m3OjeV0=; b=T1MoRDkSZSTkU6rW68dd B3tEbWjwDlvFdZV9Mad+54Mt+lEFPS9JTJC031NYyHoQF2658SpnOWtghcB5u+FWLikkjjty8iQsm vFkse5AGOmVP6nqZk8rF/kL22WoeCWOAGd48D41kYB6D1BOM4KXFHpkPZ1OqCM8ScAy9qNv9WI1OW LejNz+evQKZz0CKVX3aD715SG28dTPtI0LhBonFEmbXBQs5lq8JDs0I8klX5HM0UN7SjOln1gLyRV bnBWVYnoY4ZA6KI3KI8b1V7bvId7N/z2ZCyj5NfOJklq1BZ5t0QThjpVGNAO/sZYbAWFy/67xtx+4 FTnqX3IUxr6uqQ==; Date: Thu, 24 Oct 2024 18:39:22 +0300 Message-Id: <86jzdxcxxx.fsf@gnu.org> From: Eli Zaretskii To: Vincenzo Pupillo In-Reply-To: <2708547.lGaqSPkdTl@fedora> (message from Vincenzo Pupillo on Wed, 23 Oct 2024 21:16:40 +0200) Subject: Re: bug#73975: 30.0.91; [PATCH] php-ts-mode: highlight namespace name in "use" clause. References: <2708547.lGaqSPkdTl@fedora> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73975-done Cc: 73975-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Vincenzo Pupillo > Date: Wed, 23 Oct 2024 21:16:40 +0200 > > this small patch fix the highlighting of the namespace name in the “use” > clause. > Has been tested with both the latest and earlier versions of the grammar. Thanks, installed on the emacs-30 branch, and closing the bug. From unknown Sun Jun 22 17:14:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Nov 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator