From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wilhelm Kirschbaum Newsgroups: gmane.emacs.bugs Subject: bug#75191: [PATCH] Add expression handling to heex-ts-mode Date: Mon, 30 Dec 2024 12:53:48 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000037dee2062a7aa1cd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21185"; mail-complaints-to="usenet@ciao.gmane.io" To: 75191@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 30 11:55: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 1tSDQh-0005Lg-8B for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 11:55:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSDQR-00054f-BO; Mon, 30 Dec 2024 05:55:07 -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 1tSDQN-0004yY-JU for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 05:55:03 -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 1tSDQM-00027t-Rj for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 05:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=94wJmN5NX09+PFzXm9LV45MrWzwukr2SdcAshMsqY1Y=; b=LZvVFkwOQFyQahniK6ePQYfZ86P0ddv00uEjpYeZSdSZrgERUwB+m9/iFKd2h0s3zdoNOe5iHyG6GDxxvy5CFI4JWmx+alTHCd7G+7xzKrj8blYIub6QX18WC2x2GNa6QoLwJMb5nFGDXJ5sTnDBqzla/oWKaKQMEkMtsm3dGKo4Xx93Ph4A1g07tAb8CJtgeFPk/Vq2d5pfC8E+KYYRcJYqGiHHtR309KDLGRsn1BBEhEFj0ZDG2jfY9gn3oNobDZ7IZCjoIll4CulAvJ+TgeU5Feq3am74T2K87uJPuKKd+Qi9z6x+KuOf7eJsAWhcIwUHLq+IwwRwmYhaCUmCdQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSDQM-00023J-LE for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 05:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Wilhelm Kirschbaum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Dec 2024 10:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Bug Report Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.17355560487766 (code B ref -1); Mon, 30 Dec 2024 10:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Dec 2024 10:54:08 +0000 Original-Received: from localhost ([127.0.0.1]:57471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSDPU-00021A-Bn for submit@debbugs.gnu.org; Mon, 30 Dec 2024 05:54:08 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSDPR-000212-N3 for submit@debbugs.gnu.org; Mon, 30 Dec 2024 05:54:06 -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 1tSDPP-0003W2-Fw for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 05:54:04 -0500 Original-Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSDPN-0001hw-PY for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 05:54:03 -0500 Original-Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6d8f99cb0d9so69631906d6.0 for ; Mon, 30 Dec 2024 02:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735556039; x=1736160839; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=2wmPmzi1es11FIrWSx3+Q1h6pi0C3fWrOOaKKYko+4U=; b=frDnJ8IX2i0ihjwm1jIeMUpvcra59gJXIxd537b3Qxm0ydPkhgH7tl3VdXnaLxaZ7Y Da2DQSDewFSmw3fhVp6CJmGY71e2YVT1dULIXh8nZbChuyvnqnHGE/RaGma1V8MNaA4p Sp+C7A09gNH/t2gvopGmBsFn/UNt7hdXxKbsW638YcOy82Q13zGYcQw/X4yL3OvgELBI S2MM3sPjSJALz2nNwWBy2VVYe9ss3PjTN9+77/7i5H7vXq+C0hAO6Us/64mn1mj5+MCt xBZpq442JZQGsh4/G7saybCe/pBhtpymr7CvKTWx5j2+IylDM3cLuHVF71xOkpgGSlro JwDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735556039; x=1736160839; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2wmPmzi1es11FIrWSx3+Q1h6pi0C3fWrOOaKKYko+4U=; b=A4S2MLvNIthOQOgflEECiv1+kDRkYj1+UcGP90pfzi4DknZ6c5ApgLYDuBl4kxHFMR 0p/7PwZuVVDmkDFr9R1MLl6OVTdcKdr0Irmd7+JWPmcuuBdGxVMkYLOgmW7Fb5WHgAwO dQ3XUIZo11moqBCCXE2V2/fj+W+Noa1uoQg3+6C1wsy96Db1KhT355suRhiBiJDKvaR3 wv9nmdy2+9tcwDWdVqBUsLTI+j9iQN8jffAyr5UbX/CLngWAiC5NkbYXOpRzWLxHo1hX 3FCDtRvQdyhRF4McL1887/0NToqLCw9hTqyJQ+uDqN9jbciUsO+4hnOX95vATo/n8eIU Qh6g== X-Gm-Message-State: AOJu0Yxll0cp0d43KphpS/vKK0zOfvh8BX3AUzILX1w4sXCF5jjQ03d7 WBeSAZ9OboykHN9K+sgEqZcJcNKp2ZO0ihNValqUs4vhOWuV7HMwBifZqzyhYzTJcStPlQpbcE3 psU0JTgYU61WlevUQxywpdj0JQy2UPJBm X-Gm-Gg: ASbGncvyv1EP9ZR2mdrCnesLcdf7Ej8LZ6RYxtLfSXIwytNCZB7UevbOTLkoR1TUWHL dY7mHnWqgg4a406HBUPHHASKSeL5tocl/jY2/QWc= X-Google-Smtp-Source: AGHT+IF46Os1Frl+6R9nsrgWfAkVXuTyhYIhrVcoVuIl/9TU1KTepawxXeL7sMhYZF6KwOwkYI3M+psLUTz8++ev1Hw= X-Received: by 2002:a05:6214:e85:b0:6d8:8b9d:1502 with SMTP id 6a1803df08f44-6dd2339ff2dmr598716936d6.30.1735556039419; Mon, 30 Dec 2024 02:53:59 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2d; envelope-from=wkirschbaum@gmail.com; helo=mail-qv1-xf2d.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, HTML_MESSAGE=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:297988 Archived-At: --00000000000037dee2062a7aa1cd Content-Type: multipart/alternative; boundary="00000000000037dee1062a7aa1cb" --00000000000037dee1062a7aa1cb Content-Type: text/plain; charset="UTF-8" This patch is to handle the recent update to the heex grammar: https://github.com/phoenixframework/tree-sitter-heex/releases/tag/v0.7.0 This change appears to be backwards compatible. Kind regards, Wilhelm --00000000000037dee1062a7aa1cb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This patch is to handle the recent update to the heex= grammar: https://github.com/phoenixframework/tree-sitter-heex/re= leases/tag/v0.7.0

This change appears to be ba= ckwards compatible.

Kind regards,
<= div>Wilhelm
--00000000000037dee1062a7aa1cb-- --00000000000037dee2062a7aa1cd Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-expression-handling-to-heex-ts-mode.patch" Content-Disposition: attachment; filename="0001-Add-expression-handling-to-heex-ts-mode.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_m5ax80c10 RnJvbSA3ZTFmZDgxNGQxOWU4MjBhNmIxN2Q2MmNlNDIyOWFlMWRhYWVmN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