From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#71380: 30.0.50; Submitting php-ts-mode, new major mode for php Date: Fri, 07 Jun 2024 09:39:04 -0400 Message-ID: References: <3686989.dWV9SEqChM@3-191.divsi.unimi.it> <9710545.eNJFYEL58v@3-191.divsi.unimi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71380@debbugs.gnu.org To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 07 15:40:22 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 1sFZpN-0006Co-Ev for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jun 2024 15:40:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFZoq-000813-IN; Fri, 07 Jun 2024 09:39:48 -0400 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 1sFZop-00080P-DM for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 09:39:47 -0400 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 1sFZop-0005Sh-5R for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 09:39:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFZp4-0007Fw-4j for bug-gnu-emacs@gnu.org; Fri, 07 Jun 2024 09:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jun 2024 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71380 X-GNU-PR-Package: emacs Original-Received: via spool by 71380-submit@debbugs.gnu.org id=B71380.171776756927798 (code B ref 71380); Fri, 07 Jun 2024 13:40:02 +0000 Original-Received: (at 71380) by debbugs.gnu.org; 7 Jun 2024 13:39:29 +0000 Original-Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFZoW-0007EH-O8 for submit@debbugs.gnu.org; Fri, 07 Jun 2024 09:39:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFZoT-0007Dr-Kg for 71380@debbugs.gnu.org; Fri, 07 Jun 2024 09:39:26 -0400 Original-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 1sFZo9-0005Ph-4G; Fri, 07 Jun 2024 09:39:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=3sbir9Uf9JXNViUP2w1iOOTM7b4pcaJS575nmeYtukI=; b=MQai9nn91XCpD5EBKb21 CpqHd9/Wh7CwGuN7Q33Qf7LkuBpFabCmtGtHa/6NAFQq8ugvfJ8pcoTIlfQeWRJN6DpFkYfjXn5Gb 9wah27g4vfjW2jMQhatORdx8dpabeNYqt8MIZWzTZJ5zo9A/v8kNhivSXBazCZA5HlfgMmgaDv3SG vPjNLvVY3yi7Kwy8NNT0qiDDPbDCiJFxq6b+sDSQepJ+sb0IYzHGtzr3CrJqcT4gkl9bEqyyK4naG TZiWlIrOJW/ajlcSUdcW8gLuvutJUSxGjvMU8W3bmb8p2KBE6fPRsG9p/GFVONyy/rtKcfk+ifday jZLYVTNMAnL4Wg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sFZo8-00085B-Qf; Fri, 07 Jun 2024 09:39:04 -0400 In-Reply-To: <9710545.eNJFYEL58v@3-191.divsi.unimi.it> (Vincenzo Pupillo's message of "Fri, 07 Jun 2024 10:36:48 +0200") 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:286770 Archived-At: Vincenzo Pupillo writes: > Ciao Andrea,=20 > I think the warning is due to html-ts-mode. It checks whether or not the = parser exists, but even if it does not exist it tries to create it: > ... > > (unless (treesit-ready-p 'html) > (error =E2=80=9CTree-sitter for HTML isn't available=E2=80=9D)) > > (treesit-parser-create 'html) What is not clear to me is why we should run this while compiling php-ts-mo= de. > .... > > I fixed it by replacing =E2=80=9Cunless=E2=80=9D with =E2=80=9Cif=E2=80= =9D ... > Do I open another bug for this patch? But in that case one could activate html-ts-mode even with no parser? =F0= =9F=A4=94 > Ok for the ";; Maintainer".=20 > Go ahead and bother me! :D :D Thanks Andrea