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.bugs Subject: bug#75192: [PATCH] Update fontification for attribute values in heex-ts-mode Date: Thu, 2 Jan 2025 01:45:22 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Yuan Fu To: Wilhelm Kirschbaum , 75192@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 08:46:14 2025 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 1tTFuI-0000AB-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 08:46:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTFu7-0004mX-Pl; Thu, 02 Jan 2025 02:46:03 -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 1tTFu6-0004jG-Ef for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 02:46:02 -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 1tTFu6-0007lV-6g for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 02:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=rzWuLKqzLjbnk4pspS5KRlcGf6UruoUALrec+GryWJ4=; b=G5UScNEen1fT/0YEdkZqJoaBaCyb5NRuGcjceRwF/y8I2FQtCDDmR5EVpwhrxiJMQdEttg48SCUmlNIdG/nwNiI52W/nuriNTjD+ZOC0tpPkg5pC6P6Ii0n+xX8+guhas7o2xQnnxh7IGew9xNO30C5Wi7qiLLsa/5WkSKf1NjtdoB8GRcRVHrtnWYqtsx7YFrFA5Axl3TZ62FWoOOvv3D5+tVPpIxMm6zYHrHsbGpY5OAe2JPE9tC9kTUIOTFB7Yjk0Z6B8pYLMKvxL/+Jy7Zgj19gScYTpHH5WxD096b0dMz3c80QY0ocZzIMKXwSUck91k8ojlwwr+TdiR5+dmA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTFu6-00026k-0T for bug-gnu-emacs@gnu.org; Thu, 02 Jan 2025 02:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 07:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 75192-submit@debbugs.gnu.org id=B75192.17358039288062 (code B ref 75192); Thu, 02 Jan 2025 07:46:01 +0000 Original-Received: (at 75192) by debbugs.gnu.org; 2 Jan 2025 07:45:28 +0000 Original-Received: from localhost ([127.0.0.1]:42586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTFtX-00025y-Ha for submit@debbugs.gnu.org; Thu, 02 Jan 2025 02:45:27 -0500 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:61534) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tTFtV-00025q-UL for 75192@debbugs.gnu.org; Thu, 02 Jan 2025 02:45:26 -0500 Original-Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5d3f28a4fccso17200578a12.2 for <75192@debbugs.gnu.org>; Wed, 01 Jan 2025 23:45:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735803925; x=1736408725; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=rzWuLKqzLjbnk4pspS5KRlcGf6UruoUALrec+GryWJ4=; b=gI8Zuav8x66dBYb2axMRg05QPS1UGCe3v/dkCB5Xmc6Xao50k/cA0TeD2cFtLGOay+ Zda/dGpnOfs10WXpLbkkjQ4Md64ikzxAaLr8yE9kTqFwttn6zGb2EiFR7Tz0XsP8yeOK +LjYrSBgRBZZJECl9gW2Cy7hp0FSscVye9i0EMSSnSVo78Hc5fVZa6EULe+rI20ngxNw 2a1W8zs+UMNKQl4osmytt/M6Uuax33ta4PgqOfQDNY6pvv3V452YcYZ6hvhbO/7bmy1s pSiyFwyJO7/7k5rRo6KCfTonQJnOtQ3gdRjPJOkGUMNm5Xx18FFBNRthsv0luZ33Km34 NysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735803925; x=1736408725; h=cc: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=rzWuLKqzLjbnk4pspS5KRlcGf6UruoUALrec+GryWJ4=; b=IOpNdvETGvijtNR3oBWM2RMB3ZJwwkqDRGAsAXZJxGR4XOIj8+DthKT2+s6LmQI2MI ZqEEePrgysfvhh6Dlz0ode63kw5vNgNmp5pUFZRM8vLde5xb9fEUzH1jpnF8UDMshZ9R 7I/v8ib5V5iPyRGHD2lYnpSqI3pcDsYjG4e98N7M+VX0LS+l6lT0gKLEkL+/W6Tv3qxd 9wXZaMvSVsrQaji+DSwX8txk55GCuwulZGjbyv5nBB0ivPMM4vgLCV4goQTy5z86ZHyv rilJ8InnmwEzAl6v/6bsIPocF73j8MlDf7F6H2D/GydZ88u9u93DDJu+clI6+UNo40pe QX4Q== X-Forwarded-Encrypted: i=1; AJvYcCX25CuyP4ivZMmCBhrcq4MMZCKecM9h0Y/Vr0A5QvSio5/U+lCeVZtb2rpfdTaRJiQFcnGPeg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxHkrTuLW62P5eiNkoHZpHLVRwKBk5R9JyiGvjbWLOPtM/yAVWC 1GQ34Jq1urTbJKhUQFYoLifjlh7GIgyN6e4lbDBuX5/3WaSZ1qMtR14w2At3a9wTn6qLV5AlBvj kzTPmpX3+Lh1RugXdKjquiLMQuVw= X-Gm-Gg: ASbGncsRKaYRrYwT/Hyd+FinwnShVNCyxuCOqxyjY6sH1f2vjSOr+yQ5IGQZr4GDkLf TjjowVU6a0+e+g3rmX7PwZWgDe/wK96INALR8h7Yq X-Google-Smtp-Source: AGHT+IHazRiJFXywUo4Oa9F4oqdgbfKCiYocUQKtmbUqbO4UsST+M/YjmtHqK2SY/JZJOTasavdZVlEnHtnsO7upIJg= X-Received: by 2002:a05:6402:2802:b0:5d3:d7c1:31a4 with SMTP id 4fb4d7f45d1cf-5d81dd5e8famr47179156a12.7.1735803923223; Wed, 01 Jan 2025 23:45:23 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 2 Jan 2025 01:45:22 -0600 In-Reply-To: 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:298140 Archived-At: Wilhelm Kirschbaum writes: > This updates heex-ts-mode to use font-lock-string-face to be consistent > with html-ts-mode on attribute values. Should we install this change on master or emacs-30? Eli, Yuan, WDYT? > From 51dcd9cea634233439db59c977928f8d7a36edff Mon Sep 17 00:00:00 2001 > From: Wilhelm Kirschbaum > Date: Mon, 30 Dec 2024 12:56:40 +0200 > Subject: [PATCH] Update fontification for attribute values in heex-ts-mode > > Attribute values are strings as with html-ts-mode. > > * lisp/progmodes/heex-ts-mode.el (heex-ts--font-lock-settings): > Change to attribute value to @font-lock-string-face. > --- > lisp/progmodes/heex-ts-mode.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/progmodes/heex-ts-mode.el b/lisp/progmodes/heex-ts-mode.el > index 797bfd6c8ff..4be987f9d81 100644 > --- a/lisp/progmodes/heex-ts-mode.el > +++ b/lisp/progmodes/heex-ts-mode.el > @@ -113,7 +113,7 @@ heex-ts--font-lock-settings > `((special_attribute_name) @font-lock-keyword-face) > :language 'heex > :feature 'heex-string > - `([(attribute_value) (quoted_attribute_value)] @font-lock-constant-face) > + `([(attribute_value) (quoted_attribute_value)] @font-lock-string-face) > :language 'heex > :feature 'heex-component > `([ > -- > 2.45.2