X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: jm@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: v.pupillo@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Fri, 14 Mar 2025 17:19:02 +0000 Resent-Message-ID: <handler.77017.B.174197270110777 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 77017 <at> debbugs.gnu.org Cc: Vincenzo Pupillo <v.pupillo@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: Vincenzo Pupillo <v.pupillo@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174197270110777 (code B ref -1); Fri, 14 Mar 2025 17:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2025 17:18:21 +0000 Received: from localhost ([127.0.0.1]:35906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tt8ft-0002nk-Am for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39146) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1tt8fq-0002n4-Em for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:18 -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 <jm@HIDDEN>) id 1tt8fa-0008S7-N8 for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:03 -0400 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1tt8fY-0006G1-MI for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:02 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id F0E1E114013B for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Fri, 14 Mar 2025 13:17:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1741972678; x=1742059078; bh=hDdRPqu/rM nKOlvS/FXRIAYFx0Bq9j3YZ9E4m4a0L58=; b=q1JQQrpYbWqKi3hUWNSnd0dcR5 jajDqBgDBuI7HEMSRVd/SRB4PiGMATmPeZ+e/43YL2W1ca4EuifTUrHMqd5PLa/u h3u9p6lJC6Mo8FTvE1a5LX2h7Hm2em/mi4edy7XBgO5SEcS5dsPFlgsS8ABm5fFt BjZjy/3WBfHmZiWVOLpUiojGIslECU60KxTSjKwZz+xlUECeZFob79fpCfEiquvK OpMMVu4/aHZwDYLmODRyXdXwzrk9NoX8Bk4NZSyeat3uawamBYDJlbMSoxIHVaJl CeArhdrdNOhja/Na5hCLIMcbfE2e/N90ZjooK/hkU+RSaAV8p4dF6ZHk05/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1741972678; x=1742059078; bh=hDdRPqu/rMnKOlvS/FXRIAYFx0Bq9j3YZ9E 4m4a0L58=; b=7K4kvT+LgxoobhTQjb11RfSEBahl5LYYZn61eDFT96Kb+FG1989 LVkf/aH/Wd3qOd03ByL6ZKfgDObFhHN5rr/LQHCQH5R0VGR6F8PbxqCFtTC0EZkY JqIjk4zLDwxev8jdry7XW9xcYEnAIdNQnmvF5OC9mhjnALS/OIwaSmhXLhJ1Aa4+ 26MZmS2wMOL0N6lY6FydGUYK0MgZufUa6h9v1/O/j2GrvNdr/KsFcjOte7e6RH79 J79jJP6PzWl0vhnLJ5fA9YGAflmuBeL6TUPr51xhZFWO/E9bqvS08sd+LExpaxOo i1fGvnN3viWOM1SyzE3UrMJIgeKEpOWWC3w== X-ME-Sender: <xms:xmTUZ4KoamDudV1ah_TDD3OIIDfK_dor2aklc62RunATLA7oBULJHA> <xme:xmTUZ4KnnDy7wo4u_0cFtQTGxiPRiY_7xVMkJb4gDjC3OftwVRYUY07_FupklIxVx pXjLBO2DofCijGqJV4> X-ME-Received: <xmr:xmTUZ4t2aqyQM1ZxMR3OAQPwqCso3Hth4HdM6WnWs6Fbs1LiXLWUJA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufedugeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvf fufffkgggtgfesthhqredttddtjeenucfhrhhomhepjhhmsehpuhgsrdhpihhnkhenucgg tffrrghtthgvrhhnpeejfffhfedtudelgedtjeejleejlefgteevhfeuhfetvdelgfdvff fhvdekvefhieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmth hpohhuthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: <xmx:xmTUZ1bH3CZfjQxjViQhhk5Nhax_ARuS3KvGRdrrTOsxtGZi8B8kgQ> <xmx:xmTUZ_bno3pRBCY8i_8ZI2PujC7E8IGLqPo0kqg4VdbwD9x9jGzTtg> <xmx:xmTUZxBk3yVyn9GJeU3wI7j-Fdd_KirnUow4AeL_KRSobNeYpy8P5A> <xmx:xmTUZ1aMYWUEKiUmD9MQfEfFDl49VrYYEBFcag_yjRak6ZkcqoPtXg> <xmx:xmTUZ2wnCXe68rKbbIEPgPV-5wX3Yfk7rw5jnSvXTAPnp7d3O3xGuGs9> Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) From: jm@HIDDEN Date: Fri, 14 Mar 2025 12:17:50 -0500 Message-ID: <87bju3tttt.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.154; envelope-from=jm@HIDDEN; helo=fhigh-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) If you don=E2=80=99t have the tree-sitter html grammar installed then you get a warning while building due to the =E2=80=98(require 'html-ts-mode)=E2= =80=99 line. cd src/emacs make ... Warning (treesit): Cannot activate tree-sitter, because language grammar for html is unavailable (not-found): /home/jm/.emacs.d/tree-sitter/libtree-sitter-html: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory libtree-sitter-html: cannot open shared object file: No such file or directory libtree-sitter-html.0: cannot open shared object file: No such file or directory libtree-sitter-html.0.0: cannot open shared object file: No such file or directory libtree-sitter-html.so: cannot open shared object file: No such file or directory libtree-sitter-html.so.0: cannot open shared object file: No such file or directory libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: jm@HIDDEN Subject: bug#77017: Acknowledgement (31.0.50; Build warning from mhtml-ts-mode) Message-ID: <handler.77017.B.174197270110777.ack <at> debbugs.gnu.org> References: <87bju3tttt.fsf@HIDDEN> X-Gnu-PR-Message: ack 77017 X-Gnu-PR-Package: emacs Reply-To: 77017 <at> debbugs.gnu.org Date: Fri, 14 Mar 2025 17:19:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Vincenzo Pupillo <v.pupillo@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 77017 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 77017: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77017 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 20 Mar 2025 13:09:02 +0000 Resent-Message-ID: <handler.77017.B77017.174247610820321 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jm@HIDDEN, v.pupillo@HIDDEN Cc: 77017 <at> debbugs.gnu.org Received: via spool by 77017-submit <at> debbugs.gnu.org id=B77017.174247610820321 (code B ref 77017); Thu, 20 Mar 2025 13:09:02 +0000 Received: (at 77017) by debbugs.gnu.org; 20 Mar 2025 13:08:28 +0000 Received: from localhost ([127.0.0.1]:56099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvFdL-0005Hg-J6 for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 09:08:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59152) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvFdI-0005HO-KT for 77017 <at> debbugs.gnu.org; Thu, 20 Mar 2025 09:08:25 -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 <eliz@HIDDEN>) id 1tvFdB-0004VE-R4; Thu, 20 Mar 2025 09:08:19 -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=Az9ci6x/xSdxUnzjSvTYmu5Yjo84jHQxuQMNwFkljgQ=; b=aqc7TGx7j6J2N/WUa4qY xDMh7eRstPZjoGca4dKdR9MctCnIjzTVZdHvcKn7n6+Ns6mlX4PrqJGTZK2vgFEsnrjqBFFtldcpv KkSWCsCwxf2qB7eeutbhIBnmdF7/TS7xPc78eDTA/w/cfEOeyxpfq9qKAZvWS4NugkXOEDyaJ9TlK 1q1yEcGEastrUpvzo3UTzg9j+gkVeGk2LjpJch+Vyy1HBOwRzFyuhm1q5SuZbzcP0VJBbjDxMRZs0 Pi3VnGQdZ1HYm7jw5BcL+8dE1uf8rcJkP0/fNeqUIAOlQxCeQGlgAINF7799syazeabp0feOzl848 IqFILbReKtSdNg==; Date: Thu, 20 Mar 2025 15:07:57 +0200 Message-Id: <86msdfn93m.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87bju3tttt.fsf@HIDDEN> (jm@HIDDEN) References: <87bju3tttt.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Vincenzo, could you please look into this? > Cc: Vincenzo Pupillo <v.pupillo@HIDDEN> > From: jm@HIDDEN > Date: Fri, 14 Mar 2025 12:17:50 -0500 > > If you don’t have the tree-sitter html grammar installed then you > get a warning while building due to the ‘(require 'html-ts-mode)’ > line. > > cd src/emacs > make > ... > Warning (treesit): Cannot activate tree-sitter, because language > grammar for html is unavailable (not-found): > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html: cannot open > shared object file: No such file or directory > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0: cannot open > shared object file: No such file or directory > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0.0: cannot > open shared object file: No such file or directory > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so: cannot > open shared object file: No such file or directory > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0: cannot > open shared object file: No such file or directory > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0.0: cannot > open shared object file: No such file or directory > libtree-sitter-html: cannot open shared object file: No such > file or directory libtree-sitter-html.0: cannot open shared > object file: No such file or directory libtree-sitter-html.0.0: > cannot open shared object file: No such file or directory > libtree-sitter-html.so: cannot open shared object file: No such > file or directory libtree-sitter-html.so.0: cannot open shared > object file: No such file or directory > libtree-sitter-html.so.0.0: cannot open shared object file: No > such file or directory > > > > >
X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: Vincenzo Pupillo <v.pupillo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Mar 2025 11:47:02 +0000 Resent-Message-ID: <handler.77017.B77017.174264396220776 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jm@HIDDEN, Eli Zaretskii <eliz@HIDDEN> Cc: 77017 <at> debbugs.gnu.org Received: via spool by 77017-submit <at> debbugs.gnu.org id=B77017.174264396220776 (code B ref 77017); Sat, 22 Mar 2025 11:47:02 +0000 Received: (at 77017) by debbugs.gnu.org; 22 Mar 2025 11:46:02 +0000 Received: from localhost ([127.0.0.1]:41254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvxIf-0005NX-Ac for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:46:02 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:45330) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <v.pupillo@HIDDEN>) id 1tvxIc-00056u-PY for 77017 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:45:59 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-ac2bb7ca40bso630731066b.3 for <77017 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 04:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742643952; x=1743248752; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vt05gYUJkZXmS15PagHLsH4tEWxfH+wXxK44vhfHSqM=; b=ASbdl7fEhDPiSvs5XGVGB240YmdcChQuAM3NFSI5tL1YKWeBeUhcF3/xPJwgSwslfL BmO3Qc0ZwdJ8rnL29vct2m5fkaGmgsnta1htEooDJ86O4FRSGONiQhS24TJYfWAG8F1I 6IGo21jGyYj8NfaiYsHADp1LMchJVR/mPi9Xuvt5LiO88ZVdiZTT7Ksq5BNnQXwXJpZl av3Cp6Xo9e0sXbRWcfARoj+4J+faY3FdO1LLGm7jc0Le0+XG0o1K5n3CcVQQ9jbTmrp3 zPpq0iFsTs59i3FHFz1vdSkvST2nu+KhJheYlxpbkh9/uCgioY1b3SUuhoXDUIXpVC3s 1wNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742643952; x=1743248752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vt05gYUJkZXmS15PagHLsH4tEWxfH+wXxK44vhfHSqM=; b=hJx3nPYxen5K/QbcIdAlPy6/JQzLTbzvUYsO8zcToj/6+WLh7+TXDEUQ++HxCZ1NGy dF43FCiHVEQRsJhIxDcinNFQ9KAsPZWC1BK/zjEQ67vk3ggnu4GD5DfYUgPz/NQrBdTb KpU3Id9t3drove+Vff+1ZBaBF5mOp3ozmKw6zg7r1a7p/xLsRwIdolfguL7bzMpCRW0O 4ful+TreA/LYY1lB9xfJC6Uj9AmcPb2xoHQ5ZTW0zq1mT/f70M3P1xRr2fGURo58BXJW c1YRpLZpIvRlVy4n/yrmb0Vzz9ewlFhvTYTGivw+v+/7DGjuli6R6QTBdR3YOLHOsaLB JDkA== X-Gm-Message-State: AOJu0YwyG3f90iPX3G4g1YWbZtA/K0nfgptHtvolyFVTK/2rQu8n/Mem HwTD/sMiNJE802uoGdYnkanDF3FiEW5iLOq2RiUXloogoV9rwMgL X-Gm-Gg: ASbGncv83qkC2GqIc2ITaWCCD7YxkZYg0MdaxUtUH09JvyF4hqBYRo5MaGfTHmWj516 vh2UZ5bIpvssj5VoxllELPOTPVOsaIvCukPIpGs5BLHLOlWCqdE94nLvHZFHwXux6CO5oi9lGnn Tm/P3tqTLKJXEPdRHZONo+LfyxrjBVc/BTI8jytjwl4T0FqWBX9sytr9n1xjV7kYY7RmPa4XIy9 fhNc6bC7qsFql2sCbpPNaSv8PABcT2zFCRQZgbBCKolc3AZ2UslB0zyuVZ2OyDJpfaXWo577LvX QuHX14Dvfnmzl3fZsoKwvKdX4ptEhc4YbD/wR0pskmPrssbinRgZ4rDO0x+J1nS+wchW+gaK635 nVg0BvaBEQfYLNuTQZpk= X-Google-Smtp-Source: AGHT+IFoE9v8VYH0vSg0eWFMh+Wte68lJM20x7pNxGclO43JUIgcxNmCmgcMoARSdTyIqNT1QHA3WQ== X-Received: by 2002:a17:907:a58b:b0:ac4:3d0:8bc9 with SMTP id a640c23a62f3a-ac403d08c9dmr373308966b.27.1742643952175; Sat, 22 Mar 2025 04:45:52 -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-ac3ef93e20dsm323432266b.80.2025.03.22.04.45.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 04:45:51 -0700 (PDT) From: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Sat, 22 Mar 2025 12:45:50 +0100 Message-ID: <2756839.vuYhMxLoTh@fedora> In-Reply-To: <86msdfn93m.fsf@HIDDEN> References: <87bju3tttt.fsf@HIDDEN> <86msdfn93m.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart4962091.OV4Wx5bFTl" Content-Transfer-Encoding: 7Bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --nextPart4962091.OV4Wx5bFTl Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Sorry Eli, I missed this email. The attached patch fixes the warnings. Thanks. Vincenzo In data gioved=C3=AC 20 marzo 2025 14:07:57 Ora standard dell=E2=80=99Europ= a centrale, Eli=20 Zaretskii ha scritto: > Vincenzo, could you please look into this? >=20 > > Cc: Vincenzo Pupillo <v.pupillo@HIDDEN> > > From: jm@HIDDEN > > Date: Fri, 14 Mar 2025 12:17:50 -0500 > >=20 > > If you don=E2=80=99t have the tree-sitter html grammar installed then y= ou > > get a warning while building due to the =E2=80=98(require 'html-ts-mode= )=E2=80=99 > > line. > >=20 > > cd src/emacs > > make > > ... > > Warning (treesit): Cannot activate tree-sitter, because language > > grammar for html is unavailable (not-found): > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html: cannot open > > shared object file: No such file or directory > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0: cannot open > > shared object file: No such file or directory > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0.0: cannot > > open shared object file: No such file or directory > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so: cannot > > open shared object file: No such file or directory > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0: cannot > > open shared object file: No such file or directory > > /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0.0: cannot > > open shared object file: No such file or directory > > libtree-sitter-html: cannot open shared object file: No such > > file or directory libtree-sitter-html.0: cannot open shared > > object file: No such file or directory libtree-sitter-html.0.0: > > cannot open shared object file: No such file or directory > > libtree-sitter-html.so: cannot open shared object file: No such > > file or directory libtree-sitter-html.so.0: cannot open shared > > object file: No such file or directory > > libtree-sitter-html.so.0.0: cannot open shared object file: No > > such file or directory --nextPart4962091.OV4Wx5bFTl Content-Disposition: attachment; filename="0001-Fix-compiler-warnings-in-mhtml-ts-mode.el-bug-77017.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-Fix-compiler-warnings-in-mhtml-ts-mode.el-bug-77017.patch" From 248805e23779777ddf42febc5984894038ceaa98 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Sat, 22 Mar 2025 12:30:30 +0100 Subject: [PATCH] Fix compiler warnings in mhtml-ts-mode.el (bug#77017). * lisp/textmodes/mhtml-ts-mode.el Added variable and function declarations to prevent compiler warnings. (mhtml-ts-mode): Require 'html-ts-mode' after checking that the html parser is available. --- lisp/textmodes/mhtml-ts-mode.el | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/lisp/textmodes/mhtml-ts-mode.el b/lisp/textmodes/mhtml-ts-mode.el index 5c4f90cd193..22c0455a4ee 100644 --- a/lisp/textmodes/mhtml-ts-mode.el +++ b/lisp/textmodes/mhtml-ts-mode.el @@ -50,13 +50,23 @@ ;;; Code: (require 'treesit) -(require 'html-ts-mode) (require 'css-mode) ;; for embed css into html (require 'js) ;; for embed javascript into html (eval-when-compile (require 'rx)) +;; Prevent compile warnings. +(defvar html-ts-mode-indent-offset) +(defvar html-ts-mode--treesit-font-lock-feature-list) +(defvar html-ts-mode--font-lock-settings) +(defvar html-ts-mode--treesit-things-settings) +(defvar html-ts-mode--treesit-defun-type-regexp) +(defvar html-ts-mode--indent-rules) +(defvar html-ts-mode--treesit-simple-imenu-settings) +(declare-function html-ts-mode--outline-predicate "html-ts-mode.el") +(declare-function html-ts-mode--defun-name "html-ts-mode.el") + ;; This tells the byte-compiler where the functions are defined. ;; Is only needed when a file needs to be able to byte-compile ;; in a Emacs not built with tree-sitter library. @@ -447,12 +457,14 @@ mhtml-ts-mode "Major mode for editing HTML with embedded JavaScript and CSS. Powered by tree-sitter." (if (not (and - (treesit-ready-p 'html) - (treesit-ready-p 'javascript) - (treesit-ready-p 'css))) + (treesit-ready-p 'html t) + (treesit-ready-p 'javascript t) + (treesit-ready-p 'css t))) (error "Tree-sitter parsers for HTML isn't available. You can install the parsers with M-x `mhtml-ts-mode-install-parsers'") + (require 'html-ts-mode) + ;; When an language is embedded, you should initialize some variable ;; just like it's done in the original mode. -- 2.49.0 --nextPart4962091.OV4Wx5bFTl--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eli Zaretskii <eliz@HIDDEN> Subject: bug#77017: closed (31.0.50; Build warning from mhtml-ts-mode) CC: tracker <at> debbugs.gnu.org Message-ID: <handler.77017.D77017.174324921726425.ackdone <at> debbugs.gnu.org> References: <86jz886ok4.fsf@HIDDEN> <87bju3tttt.fsf@HIDDEN> X-Gnu-PR-Message: closed 77017 X-Gnu-PR-Package: emacs Date: Sat, 29 Mar 2025 11:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1743249242-26469-0" This is a multi-part message in MIME format... ------------=_1743249242-26469-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 29 Mar 2025 14:53:15 +0300 with message-id <86jz886ok4.fsf@HIDDEN> and subject line Re: bug#77017: 31.0.50; Build warning from mhtml-ts-mode has caused the debbugs.gnu.org bug report #77017, regarding 31.0.50; Build warning from mhtml-ts-mode to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@HIDDEN) --=20 77017: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77017 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1743249242-26469-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Mar 2025 17:18:21 +0000 Received: from localhost ([127.0.0.1]:35906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tt8ft-0002nk-Am for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39146) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1tt8fq-0002n4-Em for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:18 -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 <jm@HIDDEN>) id 1tt8fa-0008S7-N8 for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:03 -0400 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1tt8fY-0006G1-MI for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:02 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id F0E1E114013B for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Fri, 14 Mar 2025 13:17:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1741972678; x=1742059078; bh=hDdRPqu/rM nKOlvS/FXRIAYFx0Bq9j3YZ9E4m4a0L58=; b=q1JQQrpYbWqKi3hUWNSnd0dcR5 jajDqBgDBuI7HEMSRVd/SRB4PiGMATmPeZ+e/43YL2W1ca4EuifTUrHMqd5PLa/u h3u9p6lJC6Mo8FTvE1a5LX2h7Hm2em/mi4edy7XBgO5SEcS5dsPFlgsS8ABm5fFt BjZjy/3WBfHmZiWVOLpUiojGIslECU60KxTSjKwZz+xlUECeZFob79fpCfEiquvK OpMMVu4/aHZwDYLmODRyXdXwzrk9NoX8Bk4NZSyeat3uawamBYDJlbMSoxIHVaJl CeArhdrdNOhja/Na5hCLIMcbfE2e/N90ZjooK/hkU+RSaAV8p4dF6ZHk05/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1741972678; x=1742059078; bh=hDdRPqu/rMnKOlvS/FXRIAYFx0Bq9j3YZ9E 4m4a0L58=; b=7K4kvT+LgxoobhTQjb11RfSEBahl5LYYZn61eDFT96Kb+FG1989 LVkf/aH/Wd3qOd03ByL6ZKfgDObFhHN5rr/LQHCQH5R0VGR6F8PbxqCFtTC0EZkY JqIjk4zLDwxev8jdry7XW9xcYEnAIdNQnmvF5OC9mhjnALS/OIwaSmhXLhJ1Aa4+ 26MZmS2wMOL0N6lY6FydGUYK0MgZufUa6h9v1/O/j2GrvNdr/KsFcjOte7e6RH79 J79jJP6PzWl0vhnLJ5fA9YGAflmuBeL6TUPr51xhZFWO/E9bqvS08sd+LExpaxOo i1fGvnN3viWOM1SyzE3UrMJIgeKEpOWWC3w== X-ME-Sender: <xms:xmTUZ4KoamDudV1ah_TDD3OIIDfK_dor2aklc62RunATLA7oBULJHA> <xme:xmTUZ4KnnDy7wo4u_0cFtQTGxiPRiY_7xVMkJb4gDjC3OftwVRYUY07_FupklIxVx pXjLBO2DofCijGqJV4> X-ME-Received: <xmr:xmTUZ4t2aqyQM1ZxMR3OAQPwqCso3Hth4HdM6WnWs6Fbs1LiXLWUJA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufedugeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvf fufffkgggtgfesthhqredttddtjeenucfhrhhomhepjhhmsehpuhgsrdhpihhnkhenucgg tffrrghtthgvrhhnpeejfffhfedtudelgedtjeejleejlefgteevhfeuhfetvdelgfdvff fhvdekvefhieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmth hpohhuthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: <xmx:xmTUZ1bH3CZfjQxjViQhhk5Nhax_ARuS3KvGRdrrTOsxtGZi8B8kgQ> <xmx:xmTUZ_bno3pRBCY8i_8ZI2PujC7E8IGLqPo0kqg4VdbwD9x9jGzTtg> <xmx:xmTUZxBk3yVyn9GJeU3wI7j-Fdd_KirnUow4AeL_KRSobNeYpy8P5A> <xmx:xmTUZ1aMYWUEKiUmD9MQfEfFDl49VrYYEBFcag_yjRak6ZkcqoPtXg> <xmx:xmTUZ2wnCXe68rKbbIEPgPV-5wX3Yfk7rw5jnSvXTAPnp7d3O3xGuGs9> Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) From: jm@HIDDEN To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; Build warning from mhtml-ts-mode X-Debbugs-Cc: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Fri, 14 Mar 2025 12:17:50 -0500 Message-ID: <87bju3tttt.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.154; envelope-from=jm@HIDDEN; helo=fhigh-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) If you don=E2=80=99t have the tree-sitter html grammar installed then you get a warning while building due to the =E2=80=98(require 'html-ts-mode)=E2= =80=99 line. cd src/emacs make ... Warning (treesit): Cannot activate tree-sitter, because language grammar for html is unavailable (not-found): /home/jm/.emacs.d/tree-sitter/libtree-sitter-html: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory libtree-sitter-html: cannot open shared object file: No such file or directory libtree-sitter-html.0: cannot open shared object file: No such file or directory libtree-sitter-html.0.0: cannot open shared object file: No such file or directory libtree-sitter-html.so: cannot open shared object file: No such file or directory libtree-sitter-html.so.0: cannot open shared object file: No such file or directory libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory ------------=_1743249242-26469-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77017-done) by debbugs.gnu.org; 29 Mar 2025 11:53:37 +0000 Received: from localhost ([127.0.0.1]:57344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tyUkr-0006s8-8z for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:53:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54998) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tyUko-0006ru-14 for 77017-done <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:53:34 -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 <eliz@HIDDEN>) id 1tyUki-0007fO-2p; Sat, 29 Mar 2025 07:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YyoLmVgNBMPcLv/D4bh4IOkZiAESI2gruKwpIY5Qiog=; b=H7ULeUFUdaij OGBvT2wvtoliuw98cP/2eyJKAJmJuYSWsOof68p5dIn6yAbByL19Ckn30TvPLaWtUb8GzVxf22+sw SCQNhMtsw5zLcxHibx17w5onXvW51+4kFbsHGDmVV6/GRWctsr4fDrAGiB/4vKwDAIDFdsP069Wmi /jse5rLBv+36hRnKzmLeKfzOT4pwcoq7YKeLDj/k19I7xmI2i+ZbhhozCcyd+dsbITKZgt/JZQXL8 tEWTxjvrRPpIEWZZlsXXT0Vie0L5XTogOyM6suqtmCZqK/MOJb6guqs0P8W3NxFJTNFilVwqGMz3T 54/ZXbgzYK114rEssxWVsg==; Date: Sat, 29 Mar 2025 14:53:15 +0300 Message-Id: <86jz886ok4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Vincenzo Pupillo <v.pupillo@HIDDEN> In-Reply-To: <2756839.vuYhMxLoTh@fedora> (message from Vincenzo Pupillo on Sat, 22 Mar 2025 12:45:50 +0100) Subject: Re: bug#77017: 31.0.50; Build warning from mhtml-ts-mode References: <87bju3tttt.fsf@HIDDEN> <86msdfn93m.fsf@HIDDEN> <2756839.vuYhMxLoTh@fedora> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77017-done Cc: jm@HIDDEN, 77017-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Vincenzo Pupillo <v.pupillo@HIDDEN> > Cc: 77017 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 12:45:50 +0100 > > Sorry Eli, I missed this email. > The attached patch fixes the warnings. Thanks, installed on master, and closing the bug. ------------=_1743249242-26469-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: jm@HIDDEN Subject: bug#77017: closed (Re: bug#77017: 31.0.50; Build warning from mhtml-ts-mode) Message-ID: <handler.77017.D77017.174324921726425.notifdone <at> debbugs.gnu.org> References: <86jz886ok4.fsf@HIDDEN> <87bju3tttt.fsf@HIDDEN> X-Gnu-PR-Message: they-closed 77017 X-Gnu-PR-Package: emacs Reply-To: 77017 <at> debbugs.gnu.org Date: Sat, 29 Mar 2025 11:54:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1743249243-26469-1" This is a multi-part message in MIME format... ------------=_1743249243-26469-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77017: 31.0.50; Build warning from mhtml-ts-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77017 <at> debbugs.gnu.org. --=20 77017: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77017 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems ------------=_1743249243-26469-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77017-done) by debbugs.gnu.org; 29 Mar 2025 11:53:37 +0000 Received: from localhost ([127.0.0.1]:57344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tyUkr-0006s8-8z for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:53:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54998) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tyUko-0006ru-14 for 77017-done <at> debbugs.gnu.org; Sat, 29 Mar 2025 07:53:34 -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 <eliz@HIDDEN>) id 1tyUki-0007fO-2p; Sat, 29 Mar 2025 07:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YyoLmVgNBMPcLv/D4bh4IOkZiAESI2gruKwpIY5Qiog=; b=H7ULeUFUdaij OGBvT2wvtoliuw98cP/2eyJKAJmJuYSWsOof68p5dIn6yAbByL19Ckn30TvPLaWtUb8GzVxf22+sw SCQNhMtsw5zLcxHibx17w5onXvW51+4kFbsHGDmVV6/GRWctsr4fDrAGiB/4vKwDAIDFdsP069Wmi /jse5rLBv+36hRnKzmLeKfzOT4pwcoq7YKeLDj/k19I7xmI2i+ZbhhozCcyd+dsbITKZgt/JZQXL8 tEWTxjvrRPpIEWZZlsXXT0Vie0L5XTogOyM6suqtmCZqK/MOJb6guqs0P8W3NxFJTNFilVwqGMz3T 54/ZXbgzYK114rEssxWVsg==; Date: Sat, 29 Mar 2025 14:53:15 +0300 Message-Id: <86jz886ok4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Vincenzo Pupillo <v.pupillo@HIDDEN> In-Reply-To: <2756839.vuYhMxLoTh@fedora> (message from Vincenzo Pupillo on Sat, 22 Mar 2025 12:45:50 +0100) Subject: Re: bug#77017: 31.0.50; Build warning from mhtml-ts-mode References: <87bju3tttt.fsf@HIDDEN> <86msdfn93m.fsf@HIDDEN> <2756839.vuYhMxLoTh@fedora> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77017-done Cc: jm@HIDDEN, 77017-done <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Vincenzo Pupillo <v.pupillo@HIDDEN> > Cc: 77017 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 12:45:50 +0100 > > Sorry Eli, I missed this email. > The attached patch fixes the warnings. Thanks, installed on master, and closing the bug. ------------=_1743249243-26469-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Mar 2025 17:18:21 +0000 Received: from localhost ([127.0.0.1]:35906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tt8ft-0002nk-Am for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39146) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jm@HIDDEN>) id 1tt8fq-0002n4-Em for submit <at> debbugs.gnu.org; Fri, 14 Mar 2025 13:18:18 -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 <jm@HIDDEN>) id 1tt8fa-0008S7-N8 for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:03 -0400 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jm@HIDDEN>) id 1tt8fY-0006G1-MI for bug-gnu-emacs@HIDDEN; Fri, 14 Mar 2025 13:18:02 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id F0E1E114013B for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Fri, 14 Mar 2025 13:17:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1741972678; x=1742059078; bh=hDdRPqu/rM nKOlvS/FXRIAYFx0Bq9j3YZ9E4m4a0L58=; b=q1JQQrpYbWqKi3hUWNSnd0dcR5 jajDqBgDBuI7HEMSRVd/SRB4PiGMATmPeZ+e/43YL2W1ca4EuifTUrHMqd5PLa/u h3u9p6lJC6Mo8FTvE1a5LX2h7Hm2em/mi4edy7XBgO5SEcS5dsPFlgsS8ABm5fFt BjZjy/3WBfHmZiWVOLpUiojGIslECU60KxTSjKwZz+xlUECeZFob79fpCfEiquvK OpMMVu4/aHZwDYLmODRyXdXwzrk9NoX8Bk4NZSyeat3uawamBYDJlbMSoxIHVaJl CeArhdrdNOhja/Na5hCLIMcbfE2e/N90ZjooK/hkU+RSaAV8p4dF6ZHk05/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1741972678; x=1742059078; bh=hDdRPqu/rMnKOlvS/FXRIAYFx0Bq9j3YZ9E 4m4a0L58=; b=7K4kvT+LgxoobhTQjb11RfSEBahl5LYYZn61eDFT96Kb+FG1989 LVkf/aH/Wd3qOd03ByL6ZKfgDObFhHN5rr/LQHCQH5R0VGR6F8PbxqCFtTC0EZkY JqIjk4zLDwxev8jdry7XW9xcYEnAIdNQnmvF5OC9mhjnALS/OIwaSmhXLhJ1Aa4+ 26MZmS2wMOL0N6lY6FydGUYK0MgZufUa6h9v1/O/j2GrvNdr/KsFcjOte7e6RH79 J79jJP6PzWl0vhnLJ5fA9YGAflmuBeL6TUPr51xhZFWO/E9bqvS08sd+LExpaxOo i1fGvnN3viWOM1SyzE3UrMJIgeKEpOWWC3w== X-ME-Sender: <xms:xmTUZ4KoamDudV1ah_TDD3OIIDfK_dor2aklc62RunATLA7oBULJHA> <xme:xmTUZ4KnnDy7wo4u_0cFtQTGxiPRiY_7xVMkJb4gDjC3OftwVRYUY07_FupklIxVx pXjLBO2DofCijGqJV4> X-ME-Received: <xmr:xmTUZ4t2aqyQM1ZxMR3OAQPwqCso3Hth4HdM6WnWs6Fbs1LiXLWUJA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufedugeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvf fufffkgggtgfesthhqredttddtjeenucfhrhhomhepjhhmsehpuhgsrdhpihhnkhenucgg tffrrghtthgvrhhnpeejfffhfedtudelgedtjeejleejlefgteevhfeuhfetvdelgfdvff fhvdekvefhieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtthhopedupdhmohguvgepshhmth hpohhuthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: <xmx:xmTUZ1bH3CZfjQxjViQhhk5Nhax_ARuS3KvGRdrrTOsxtGZi8B8kgQ> <xmx:xmTUZ_bno3pRBCY8i_8ZI2PujC7E8IGLqPo0kqg4VdbwD9x9jGzTtg> <xmx:xmTUZxBk3yVyn9GJeU3wI7j-Fdd_KirnUow4AeL_KRSobNeYpy8P5A> <xmx:xmTUZ1aMYWUEKiUmD9MQfEfFDl49VrYYEBFcag_yjRak6ZkcqoPtXg> <xmx:xmTUZ2wnCXe68rKbbIEPgPV-5wX3Yfk7rw5jnSvXTAPnp7d3O3xGuGs9> Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Fri, 14 Mar 2025 13:17:58 -0400 (EDT) From: jm@HIDDEN To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; Build warning from mhtml-ts-mode X-Debbugs-Cc: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Fri, 14 Mar 2025 12:17:50 -0500 Message-ID: <87bju3tttt.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.154; envelope-from=jm@HIDDEN; helo=fhigh-a3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) If you don=E2=80=99t have the tree-sitter html grammar installed then you get a warning while building due to the =E2=80=98(require 'html-ts-mode)=E2= =80=99 line. cd src/emacs make ... Warning (treesit): Cannot activate tree-sitter, because language grammar for html is unavailable (not-found): /home/jm/.emacs.d/tree-sitter/libtree-sitter-html: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.0.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0: cannot open shared object file: No such file or directory /home/jm/.emacs.d/tree-sitter/libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory libtree-sitter-html: cannot open shared object file: No such file or directory libtree-sitter-html.0: cannot open shared object file: No such file or directory libtree-sitter-html.0.0: cannot open shared object file: No such file or directory libtree-sitter-html.so: cannot open shared object file: No such file or directory libtree-sitter-html.so.0: cannot open shared object file: No such file or directory libtree-sitter-html.so.0.0: cannot open shared object file: No such file or directory ------------=_1743249243-26469-1--
X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 30 Mar 2025 06:45:02 +0000 Resent-Message-ID: <handler.77017.B77017.17433170609839 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincenzo Pupillo <v.pupillo@HIDDEN> Cc: 77017 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, jm@HIDDEN Received: via spool by 77017-submit <at> debbugs.gnu.org id=B77017.17433170609839 (code B ref 77017); Sun, 30 Mar 2025 06:45:02 +0000 Received: (at 77017) by debbugs.gnu.org; 30 Mar 2025 06:44:20 +0000 Received: from localhost ([127.0.0.1]:34345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tymP6-0002Yd-4k for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 02:44:20 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:59691) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1tymP1-0002YG-Le for 77017 <at> debbugs.gnu.org; Sun, 30 Mar 2025 02:44:16 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 7D29B43349; Sun, 30 Mar 2025 06:44:05 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <2756839.vuYhMxLoTh@fedora> Organization: LINKOV.NET References: <87bju3tttt.fsf@HIDDEN> <86msdfn93m.fsf@HIDDEN> <2756839.vuYhMxLoTh@fedora> Date: Sun, 30 Mar 2025 09:41:12 +0300 Message-ID: <87h63bhvg7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddujeeifeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopeejjedtudejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepjhhmsehpuhgsrdhpihhnkhdprhgtphhtthhopehvrdhpuhhpihhllhhosehgmhgrihhlrdgtohhm X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > --- a/lisp/textmodes/mhtml-ts-mode.el > +++ b/lisp/textmodes/mhtml-ts-mode.el > @@ -50,13 +50,23 @@ > ;;; Code: > > (require 'treesit) > -(require 'html-ts-mode) > (require 'css-mode) ;; for embed css into html > (require 'js) ;; for embed javascript into html This change broke loading of mhtml-ts-mode: 0. emacs -Q 1. visit an html file 2. M-x mhtml-ts-mode Debugger entered--Lisp error: (void-variable html-ts-mode--treesit-font-lock-feature-list) (defvar mhtml-ts-mode--treesit-font-lock-feature-list ...) command-execute(mhtml-ts-mode record) execute-extended-command(nil "mhtml-ts-mode" nil) funcall-interactively(execute-extended-command nil "mhtml-ts-mode" nil) command-execute(execute-extended-command)
X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: Vincenzo Pupillo <v.pupillo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 04 Apr 2025 12:30:02 +0000 Resent-Message-ID: <handler.77017.B77017.174376979710204 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: 77017 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, jm@HIDDEN Received: via spool by 77017-submit <at> debbugs.gnu.org id=B77017.174376979710204 (code B ref 77017); Fri, 04 Apr 2025 12:30:02 +0000 Received: (at 77017) by debbugs.gnu.org; 4 Apr 2025 12:29:57 +0000 Received: from localhost ([127.0.0.1]:37373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0gBJ-0002eS-5n for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 08:29:57 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]:51624) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <v.pupillo@HIDDEN>) id 1u0gBG-0002eD-9o for 77017 <at> debbugs.gnu.org; Fri, 04 Apr 2025 08:29:55 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-abbd96bef64so369140466b.3 for <77017 <at> debbugs.gnu.org>; Fri, 04 Apr 2025 05:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743769787; x=1744374587; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LvIsRbs7MjzWx5FvWDLUASthBcaW+QymtXK2Ez8JzNg=; b=gsNyld3dYWTL4xygk2U9HBjyFgoXCwCB8DSG6Ckq0Oev0Ps/hJKmr2tQF0+FhPKZ3L JvcbCH9MI/S4CwnwOwTZNlVnr2lRbesZa5Tp/+DR6YynD5+R6XzfUOCf+MJHs2xGU0g/ e4WDWVBYXRFE06HD5PmFWbZZhMuFZ0S9+Eo36x8nmmH3awrj8qZWV23JMib7Pq8Y8cEU fT+D95Wl0D+LjWFuKdq8W4ucsXRdHgPs8pw1FM4PQpW5G+37LbpgMLkHrUAz4qxVl3ZH 9AhmJZrxxOPwG6haoXQwtmJf/t+T1hckvedPIwR+LEpVjYil+D5CQ3YHaPjaYWH1KB0i 1wAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743769787; x=1744374587; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LvIsRbs7MjzWx5FvWDLUASthBcaW+QymtXK2Ez8JzNg=; b=k9XBnYd+0qazx3fDet74QxSZRr+4sttSjv2G7hOlydTMGlHwaF7ESsmujZgalO8w8W aKUymunbwc3MOGUcgF4g9TfIn37jnkxFL2MbDAgkKaSh0u17LjMmpRX4o9ruwB4mrFml aUatoOiwJvOAewfFUVEv+MSVQe0apJqRHz5omyXfUTe1PVMxkivl0xCFRUwkOgio58Ta HWzmd9tYfgoxH+JI8SE9l5WWM2oX7pZwwSVKarll+1ZqLdqmqN6JJBIcA87KtQT4Th8q rDHsyJezkn8ztyeTNeh9JMJEr2diaRIj/MCtuT6Ct8KpVifOhwtyqAG89aMr8TLr8/+I c+tg== X-Forwarded-Encrypted: i=1; AJvYcCWxU4a/FHgFW6pR+nvbz6YvazpLsCNnGth+CemFcrz2vaYoGI8E44KcAlHakSZd4LEmtR8ujw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz3fG3AVSXLgWse9TA4g7OIR+LFwmiUMEmL/p4zrMi1fYR73Y+X jprJW6gnmoa4YvNsyZ9GGC1b4wrCATXKYtyI3qmXWg5NPiRtdGr+ X-Gm-Gg: ASbGncsoYcvxqY1Z5Tw5B8RVRV6gPyGlP6GysyVdHn+Oh41ee/El65LUfvQC6P52k2B cWzibiHM7pbbVBWMLchcNdBc5z5ccWVSST72a2Z9UG8qx4g4Z7XkaZOyPmLaf+DkNS3ArEaJcMV bP0LHO7DcglGpa/b/DB7vlIvc83KEbRsr/DWN0Up4ulbiiyqjgKFWbZn+f8FPnpJ0oz0rp4b9Am 3KaCzO7uiDGX4HEGD8mg26dl+jv5Qcc98Wf66D9jFLdQovPR/xXzIiYTODtutBXEwH5tW0kffB9 k9KPvmGpEKSBs7Su8ONZVHrwOKL32xwSMSYctsvUR98dTja0H4Y1Z38Ph8PoD1EW9qLIwhtZ0m9 0+bWZdApR X-Google-Smtp-Source: AGHT+IHv8rFvN5YfDZwZKWDfx346Ev0JGNsfaoxOex8snIfwGC3R7THvZrcutb48lNsbOCtx5Wu9CQ== X-Received: by 2002:a17:907:9443:b0:ac7:391b:e689 with SMTP id a640c23a62f3a-ac7d1bb808fmr230544466b.59.1743769786713; Fri, 04 Apr 2025 05:29:46 -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-ac7bfe5c5e9sm248869866b.5.2025.04.04.05.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Apr 2025 05:29:46 -0700 (PDT) From: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Fri, 04 Apr 2025 14:29:45 +0200 Message-ID: <26850621.1r3eYUQgxm@fedora> In-Reply-To: <87h63bhvg7.fsf@HIDDEN> References: <87bju3tttt.fsf@HIDDEN> <2756839.vuYhMxLoTh@fedora> <87h63bhvg7.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2314812.vFx2qVVIhK" Content-Transfer-Encoding: 7Bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --nextPart2314812.vFx2qVVIhK Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" I'm sorry. The attached patch should fix the problem. I'm not sure about th= e=20 commit message, since I also modified html-ts-mode. I recompiled emacs without the grammars and the warning problem shows up fo= r=20 other major modes as well. Vincenzo In data domenica 30 marzo 2025 08:41:12 Ora legale dell=E2=80=99Europa cent= rale, Juri=20 Linkov ha scritto: > > --- a/lisp/textmodes/mhtml-ts-mode.el > > +++ b/lisp/textmodes/mhtml-ts-mode.el > > @@ -50,13 +50,23 @@ > >=20 > > ;;; Code: > > =20 > > (require 'treesit) > >=20 > > -(require 'html-ts-mode) > >=20 > > (require 'css-mode) ;; for embed css into html > > (require 'js) ;; for embed javascript into html >=20 > This change broke loading of mhtml-ts-mode: >=20 > 0. emacs -Q > 1. visit an html file > 2. M-x mhtml-ts-mode >=20 > Debugger entered--Lisp error: (void-variable > html-ts-mode--treesit-font-lock-feature-list) (defvar > mhtml-ts-mode--treesit-font-lock-feature-list ...) > command-execute(mhtml-ts-mode record) > execute-extended-command(nil "mhtml-ts-mode" nil) > funcall-interactively(execute-extended-command nil "mhtml-ts-mode" nil) > command-execute(execute-extended-command) --nextPart2314812.vFx2qVVIhK Content-Disposition: attachment; filename="0001-Fix-last-change-bug-77017.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="0001-Fix-last-change-bug-77017.patch" From 6fe6791f8a928d163198558aa12cb20ef2051276 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo <v.pupillo@HIDDEN> Date: Fri, 4 Apr 2025 13:52:28 +0200 Subject: [PATCH] ; Fix last change (bug#77017) * lisp/textmodes/html-ts-mode.el (html-ts-mode): Avoid the warning if the html language library is not installed. Avoids warning if html language library is not installed when trying to associate mode with filename patterns. * lisp/textmodes/html-ts-mode.el: Revert the last changes. Avoids warning if any of the html, javascript, css language libraries are not installed when attempting to associate mode with filename templates. --- lisp/textmodes/html-ts-mode.el | 4 ++-- lisp/textmodes/mhtml-ts-mode.el | 16 ++-------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/lisp/textmodes/html-ts-mode.el b/lisp/textmodes/html-ts-mode.el index 5df489db3e7..30d1f080b96 100644 --- a/lisp/textmodes/html-ts-mode.el +++ b/lisp/textmodes/html-ts-mode.el @@ -144,7 +144,7 @@ html-ts-mode "Major mode for editing Html, powered by tree-sitter." :group 'html - (unless (treesit-ready-p 'html) + (unless (treesit-ready-p 'html t) (error "Tree-sitter for HTML isn't available")) (setq treesit-primary-parser (treesit-parser-create 'html)) @@ -180,7 +180,7 @@ html-ts-mode (derived-mode-add-parents 'html-ts-mode '(html-mode)) -(if (treesit-ready-p 'html) +(if (treesit-ready-p 'html t) (add-to-list 'auto-mode-alist '("\\.html\\'" . html-ts-mode))) (provide 'html-ts-mode) diff --git a/lisp/textmodes/mhtml-ts-mode.el b/lisp/textmodes/mhtml-ts-mode.el index 22c0455a4ee..25af6a0a1e0 100644 --- a/lisp/textmodes/mhtml-ts-mode.el +++ b/lisp/textmodes/mhtml-ts-mode.el @@ -52,21 +52,11 @@ (require 'treesit) (require 'css-mode) ;; for embed css into html (require 'js) ;; for embed javascript into html +(require 'html-ts-mode) (eval-when-compile (require 'rx)) -;; Prevent compile warnings. -(defvar html-ts-mode-indent-offset) -(defvar html-ts-mode--treesit-font-lock-feature-list) -(defvar html-ts-mode--font-lock-settings) -(defvar html-ts-mode--treesit-things-settings) -(defvar html-ts-mode--treesit-defun-type-regexp) -(defvar html-ts-mode--indent-rules) -(defvar html-ts-mode--treesit-simple-imenu-settings) -(declare-function html-ts-mode--outline-predicate "html-ts-mode.el") -(declare-function html-ts-mode--defun-name "html-ts-mode.el") - ;; This tells the byte-compiler where the functions are defined. ;; Is only needed when a file needs to be able to byte-compile ;; in a Emacs not built with tree-sitter library. @@ -463,8 +453,6 @@ mhtml-ts-mode (error "Tree-sitter parsers for HTML isn't available. You can install the parsers with M-x `mhtml-ts-mode-install-parsers'") - (require 'html-ts-mode) - ;; When an language is embedded, you should initialize some variable ;; just like it's done in the original mode. @@ -601,7 +589,7 @@ mhtml-ts-mode ;; Add some extra parents. (derived-mode-add-parents 'mhtml-ts-mode '(css-mode js-mode)) -(when (and (treesit-ready-p 'html) (treesit-ready-p 'javascript) (treesit-ready-p 'css)) +(when (and (treesit-ready-p 'html t) (treesit-ready-p 'javascript t) (treesit-ready-p 'css t)) (add-to-list 'auto-mode-alist '("\\.[sx]?html?\\(\\.[a-zA-Z_]+\\)?\\'" . mhtml-ts-mode))) -- 2.49.0 --nextPart2314812.vFx2qVVIhK--
X-Loop: help-debbugs@HIDDEN Subject: bug#77017: 31.0.50; Build warning from mhtml-ts-mode Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 04 Apr 2025 16:22:02 +0000 Resent-Message-ID: <handler.77017.B77017.17437836771826 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vincenzo Pupillo <v.pupillo@HIDDEN> Cc: 77017 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, jm@HIDDEN Received: via spool by 77017-submit <at> debbugs.gnu.org id=B77017.17437836771826 (code B ref 77017); Fri, 04 Apr 2025 16:22:02 +0000 Received: (at 77017) by debbugs.gnu.org; 4 Apr 2025 16:21:17 +0000 Received: from localhost ([127.0.0.1]:39722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u0jnB-0000TN-De for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:21:17 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:53231) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1u0jmw-0000Ru-3z for 77017 <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:21:02 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 94F304432F; Fri, 4 Apr 2025 16:20:52 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> In-Reply-To: <26850621.1r3eYUQgxm@fedora> Organization: LINKOV.NET References: <87bju3tttt.fsf@HIDDEN> <2756839.vuYhMxLoTh@fedora> <87h63bhvg7.fsf@HIDDEN> <26850621.1r3eYUQgxm@fedora> Date: Fri, 04 Apr 2025 19:19:29 +0300 Message-ID: <87jz7zyk4u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduleduledtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepgedprhgtphhtthhopeejjedtudejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepjhhmsehpuhgsrdhpihhnkhdprhgtphhtthhopehvrdhpuhhpihhllhhosehgmhgrihhlrdgtohhm X-GND-Sasl: juri@HIDDEN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > I'm sorry. The attached patch should fix the problem. I'm not sure about the > commit message, since I also modified html-ts-mode. Thanks, now pushed. > I recompiled emacs without the grammars and the warning problem shows up for > other major modes as well. Indeed, the same problem exists for all other ts-modes. So later we need to invent a new way to load them.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.