X-Loop: help-debbugs@HIDDEN Subject: bug#71717: 30.0.50; php-ts-mode parser recipe fix Resent-From: Skyler Mayfield <skyler544@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Jun 2024 11:14:01 +0000 Resent-Message-ID: <handler.71717.B.171905479315895 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71717 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171905479315895 (code B ref -1); Sat, 22 Jun 2024 11:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2024 11:13:13 +0000 Received: from localhost ([127.0.0.1]:44561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sKygB-00048F-1T for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 07:13:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:43688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <skyler544@HIDDEN>) id 1sKwAP-0008GP-M2 for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 04:32:14 -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 <skyler544@HIDDEN>) id 1sKwAK-0004yp-DJ for bug-gnu-emacs@HIDDEN; Sat, 22 Jun 2024 04:32:12 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <skyler544@HIDDEN>) id 1sKwAE-0004Cu-Sj for bug-gnu-emacs@HIDDEN; Sat, 22 Jun 2024 04:32:06 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2eaae2a6dc1so46980121fa.0 for <bug-gnu-emacs@HIDDEN>; Sat, 22 Jun 2024 01:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719045114; x=1719649914; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=19S8Q0KgLLfN1cae9Jl9aq4L7wtNFbNfX5P1uEdBqDI=; b=ejTgTSSZRrCOs/SoePZc44ExpqaKtRzpK4v3ECeuAxlEuXyn7+Ny7NCnpx0vwhudmy DwOlN4l8yJegQLMV6MIEEz3FuWOFF+i1jhYc5fVA0OopVMrDj8GDaD8B2gZhsqqp33rH GmRaOCkj90uyMU5eZc089OYnz7w/5Z3knYb8LVOuEoTZb8c1nGW3tObpWsw9A9IxsyFI 1pL9tivhTj+1lABEXKyziQxS2LbEE1jfmP0udO+vaGUcf7YztW5VIY4ts8yN9QMgl1vd 9w0ZJwTBffHYS+PdZK8x5QhDM206y+pyU6nTaX0lFksFPRlqRUG+/ulHKGxDY+I+1tym Nuvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719045114; x=1719649914; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=19S8Q0KgLLfN1cae9Jl9aq4L7wtNFbNfX5P1uEdBqDI=; b=aGkNI1+9d546QjsUet7NJj7nj2tV4qLyCdSqYX1jp8WgdN2yee2c1i+95p+1Z4j/Qh cxdRs241JGVUAb7mVRxWlArpqSNrWB3uOgNuOzCBbr5Lya3DZ3PryNJaTw0UI2N9+gY6 MB6pvYZ37AzzC/Pxyj/rQl1m8Mnw9UAzOGN6204/31RlBcpim0+yISlLK913Dvd9LtjK FEzibgpEcRcTJeXe9Rg+0u/wkh+Hbu5lmEFUuBszFJlhINVaXONKV1MXtUeOlVIFzxIx hS2iT8qR8GFUMJFcq2c5h31H4o9bpu8erQ/bT36hEhWO6oHhnQd4+5Si1i31Vj0TGG2F GLuw== X-Gm-Message-State: AOJu0YwaOBQ8MBvNlpvNFL44SL5dYT1h5/WJz9EWOYTapy3QpGjYFyeE 2aqin+EkP3S9kwYMwAJdPINV/zVgh/40exFA7/jFF27UKqzXxRa/qPlhyoyJ X-Google-Smtp-Source: AGHT+IGfdRErEnvJ0D0lIQEhihJzXSOIMFBw+q+vHwXfuT9fuzUxhRx6Qa5PkQ2BpET9GK7Oxu4pYQ== X-Received: by 2002:a05:6512:3706:b0:52b:be6b:d16a with SMTP id 2adb3069b0e04-52ccaa36508mr6634507e87.31.1719045113686; Sat, 22 Jun 2024 01:31:53 -0700 (PDT) Received: from void ([41.66.98.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fcf428baasm171952766b.14.2024.06.22.01.31.52 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jun 2024 01:31:52 -0700 (PDT) From: Skyler Mayfield <skyler544@HIDDEN> Date: Sat, 22 Jun 2024 10:31:50 +0200 Message-ID: <87ed8p9y4p.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=skyler544@HIDDEN; helo=mail-lj1-x234.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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.1 (-) X-Mailman-Approved-At: Sat, 22 Jun 2024 07:13:10 -0400 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: -2.1 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Looks like the new php-ts-mode has a problem with the treesit parser recipe for php. This looks to me like the same problem as bug#71562, but affecting php instead of typescript. The bug can be reproduced as follows: 1. Move ~/.emacs.d/tree-sitter/ to somewhere else temporarily. 2. Run emacs -Q 3. In the scratch buffer, run M-x php-ts-mode 4. Observe the warning about the missing language grammar (this warning is to be expected after step 1) 5. Run the provided function for installing the php parser libraries: M-x php-ts-mode-install-parsers 6. Observe that some libraries, but not the php language parser, are successfully installed to ~/.emacs.d/tree-sitter/ 7. Observe a warning: =E2=9B=94 Warning (treesit): Error encountered when installing language grammar: (file-missing Setting current directory No such file or directory /tmp/treesit-workdirekdLGw/repo/src) The attached patch modifies the recipe used for installing the php treesitter grammar in a similar way as is necessary for the typescript grammars as described in bug#71562. The fix can be confirmed via the following: 1. Move ~/.emacs.d/tree-sitter/ to somewhere else temporarily. 2. Run emacs -Q 3. In the scratch buffer, run M-x php-ts-mode 4. Observe the warning about the missing language grammar (this warning is to be expected after step 1) 5. Evaluate the patched definition of php-ts-mode--language-source-alist in the scratch buffer. 6. Run the provided function for installing the php parser libraries: M-x php-ts-mode-install-parsers 7. Observe that all of the language parsers are successfully installed. 8. Verify the functionality by running M-x php-ts-mode in a php file; the treesitter syntax highlighting should now begin working. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-06-21 built on void Repository revision: e7123edfe7f7abc9043429dfb3f84941f83d6565 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Void Linux Configured using: 'configure --with-json --with-tree-sitter --with-x-toolkit=3Dgtk3 --with-file-notification=3Dinotify --with-modules --with-jpeg --with-tiff --with-gif --with-png --with-webp --with-xpm --with-rsvg --with-xml2 --with-gnutls --with-sound --with-harfbuzz --with-cairo --with-sqlite3' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Diff Minor modes in effect: whitespace-mode: t global-git-commit-mode: t magit-auto-revert-mode: t gcmh-mode: t server-mode: t minions-mode: t winner-mode: t repeat-mode: t savehist-mode: t save-place-mode: t electric-pair-mode: t global-auto-revert-mode: t recentf-mode: t diredfl-global-mode: t global-devil-mode: t devil-mode: t marginalia-mode: t vertico-mode: t global-corfu-mode: t corfu-mode: t editorconfig-mode: t openwith-mode: t global-treesit-auto-mode: t shell-command-x-mode: t eros-mode: t pulsar-global-mode: t pulsar-mode: t global-page-break-lines-mode: t default-text-scale-mode: t override-global-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/clock/.emacs.d/elpa/dired-hacks/dired-subtree hides /home/clock/.emac= s.d/elpa/dired-subtree-20230512.1107/dired-subtree /home/clock/.emacs.d/elpa/dired-hacks/dired-hacks-utils hides /home/clock/.= emacs.d/elpa/dired-hacks-utils-20230512.1107/dired-hacks-utils /home/clock/.emacs.d/elpa/lispy-20230314.1738/elpa hides /home/clock/.emacs= .d/elpa/ivy-20240524.1139/elpa /home/clock/.emacs.d/elpa/transient-20240619.1324/transient hides /usr/loca= l/share/emacs/30.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug mu4e mu4e-org mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-draft mu4e-actions org-capture smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message flow-fill mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context mu4e-vars mu4e-helpers mu4e-config ido whitespace magit-patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util apheleia apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log apheleia-formatter-context wdired pcmpl-gnu helpful cc-langs trace cl-print info-look f elisp-refs s consult-dir vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs magit-extras face-remap magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff git-commit log-edit add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient benchmark magit-git magit-base magit-section cursor-sensor crm ispell html-ts-mode pcmpl-unix org-autolist org-superstar markdown-mode bug-reference php-ts-mode js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode sgml-mode facemenu imenu org-indent oc-basic org-element org-persist org-id org-refile org-element-ast inline avl-tree ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi jka-compr conf-mode java-ts-mode c-ts-common dired-subtree dired-hacks-utils eat term disp-table ehelp make-mode run-command run-command-runner-eat run-command-runner-vterm run-command-runner-compile run-command-runner-term run-command-selector-completing-read run-command-selector-ivy run-command-selector-helm run-command-util run-command-core lispy hydra lv delsel lispy-inline avy etags fileloop generator xref edebug debug backtrace lispy-tags mode-local zoutline org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs noutline outline highlight-defined advice highlight-quoted hl-line display-line-numbers ws-butler hideshow vc-git diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode track-changes hl-todo consult bookmark project dired-aux all-the-icons-dired all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons buffer-env modus-operandi-theme modus-themes vertico-directory help-fns radix-tree mule-util orderless compile text-property-search gcmh server minions winner repeat savehist saveplace tramp-sh tramp trampver tramp-integration files-x tramp-message tramp-compat xdg parse-time iso8601 time-date format-spec tramp-loaddefs elec-pair autorevert filenotify recentf tree-widget wid-edit dired-x diredfl dired dired-loaddefs devil wrap-region marginalia vertico corfu editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch openwith treesit-auto treesit shell-command-x shell pcomplete comint ansi-osc ansi-color ring eros pp pulsar pulse page-break-lines default-text-scale gruvbox-dark-hard-theme gruvbox-theme gruvbox autothemer color lisp-mnt dash derived inheritenv comp comp-cstr warnings comp-run comp-common rx edmacro kmacro no-littering compat use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key cl-extra help-mode use-package-core finder-inf all-the-icons-dired-autoloads apheleia-autoloads easy-mmode autothemer-autoloads breadcrumb-autoloads buffer-env-autoloads consult-dir-autoloads consult-eglot-autoloads corfu-autoloads default-text-scale-autoloads devil-autoloads diff-hl-autoloads dired-hacks-autoloads dired-sidebar-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads diredfl-autoloads eat-autoloads editorconfig-autoloads eldoc-box-autoloads embark-consult-autoloads consult-autoloads embark-autoloads emmet-mode-autoloads eros-autoloads esup-autoloads flymake-eslint-autoloads gcmh-autoloads geiser-mit-autoloads geiser-autoloads git-timemachine-autoloads helpful-autoloads elisp-refs-autoloads highlight-defined-autoloads highlight-quoted-autoloads hl-todo-autoloads ibuffer-project-autoloads inheritenv-autoloads lispy-autoloads iedit-autoloads lua-mode-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads marginalia-autoloads markdown-mode-autoloads minions-autoloads no-littering-autoloads nov-autoloads esxml-autoloads kv-autoloads nvm-autoloads dash-functional-autoloads f-autoloads openwith-autoloads orderless-autoloads org-autolist-autoloads org-superstar-autoloads page-break-lines-autoloads prisma-mode-autoloads pulsar-autoloads restclient-autoloads run-command-autoloads shell-command-x-autoloads sly-asdf-autoloads popup-autoloads sly-autoloads swiper-autoloads ivy-autoloads transient-autoloads treemacs-all-the-icons-autoloads treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads hydra-autoloads lv-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads s-autoloads all-the-icons-autoloads treesit-auto-autoloads vertico-autoloads web-mode-autoloads wgrep-autoloads why-this-autoloads with-editor-autoloads wrap-region-autoloads info dash-autoloads ws-butler-autoloads yaml-mode-autoloads yaml-pro-autoloads yaml-autoloads zoutline-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 1087077 441049) (symbols 48 51312 0) (strings 32 233896 24179) (string-bytes 1 8643395) (vectors 16 104980) (vector-slots 8 2060691 22325= 2) (floats 8 1889 2190) (intervals 56 21118 2268) (buffers 992 63)) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=php-ts-mode.el.diff Content-Description: patch for php-ts-mode--language-source-alist diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 8bb18dab3d5..1c76e55c1d6 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el @@ -82,7 +82,7 @@ ;;; Install treesitter language parsers (defvar php-ts-mode--language-source-alist - '((php . ("https://github.com/tree-sitter/tree-sitter-php" "v0.22.5")) + '((php . ("https://github.com/tree-sitter/tree-sitter-php" "v0.22.5" "php/src")) (phpdoc . ("https://github.com/claytonrcarter/tree-sitter-phpdoc")) (html . ("https://github.com/tree-sitter/tree-sitter-html" "v0.20.3")) (javascript . ("https://github.com/tree-sitter/tree-sitter-javascript" "v0.21.2")) --=-=-=--
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: Skyler Mayfield <skyler544@HIDDEN> Subject: bug#71717: Acknowledgement (30.0.50; php-ts-mode parser recipe fix) Message-ID: <handler.71717.B.171905479315895.ack <at> debbugs.gnu.org> References: <87ed8p9y4p.fsf@HIDDEN> X-Gnu-PR-Message: ack 71717 X-Gnu-PR-Package: emacs Reply-To: 71717 <at> debbugs.gnu.org Date: Sat, 22 Jun 2024 11:14: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. 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 71717 <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 71717: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71717 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71717: 30.0.50; php-ts-mode parser recipe fix 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: Sat, 22 Jun 2024 12:39:01 +0000 Resent-Message-ID: <handler.71717.B71717.17190599212752 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71717 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Skyler Mayfield <skyler544@HIDDEN> Cc: 71717 <at> debbugs.gnu.org Received: via spool by 71717-submit <at> debbugs.gnu.org id=B71717.17190599212752 (code B ref 71717); Sat, 22 Jun 2024 12:39:01 +0000 Received: (at 71717) by debbugs.gnu.org; 22 Jun 2024 12:38:41 +0000 Received: from localhost ([127.0.0.1]:44648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sL00u-0000iJ-W2 for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 08:38:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sL00t-0000i1-50; Sat, 22 Jun 2024 08:38:39 -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 1sKzyh-000507-Hb; Sat, 22 Jun 2024 08:36:23 -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=8xeSzDmUfeGGI3TvXZng7XE7aJX2Gcnnjop6O6DZ5TQ=; b=PXbJh2mqjEwv 4eCmvDmu7bFLrtc58hZIXNF0YJZKVO/ddBsMg8mt1JUmOn+nFa/tFmNnC8anqXWQBiZYgnhFeXT0x CbmIubhtkBKS8/N/mw/bENWgFISOL9xHZdTqE7siyGD+aFIid90oRQffEWByxg/NtJxzbWdK+00XU 2hH2LUpJ+MvSnCdWqFuqhP7cr/r3zRW4HotctB+6Qf2Bq6kTTfEjEwjLoJIJraWTfNm85UkF5zUyd dfgb4ebBwBOVIlBk/BnF7gSl0NFcTY9+rbeyQsBUlo5EQt4AKY+yE+9RXfconeQuNWZQddZy1pL2F rRqSlqtYKVemW/i3loYRwg==; Date: Sat, 22 Jun 2024 15:36:20 +0300 Message-Id: <86sex5gnnf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87ed8p9y4p.fsf@HIDDEN> (message from Skyler Mayfield on Sat, 22 Jun 2024 10:31:50 +0200) References: <87ed8p9y4p.fsf@HIDDEN> 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 (---) merge 71717 71562 thanks > From: Skyler Mayfield <skyler544@HIDDEN> > Date: Sat, 22 Jun 2024 10:31:50 +0200 > > Looks like the new php-ts-mode has a problem with the treesit parser > recipe for php. This looks to me like the same problem as bug#71562, but > affecting php instead of typescript. The bug can be reproduced as > follows: Yes, it's the same bug, so I've now merged them. Note that there are other grammars with the same problem. I know about these two: . Markdown . OCaml
Received: (at control) by debbugs.gnu.org; 22 Jun 2024 12:38:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 08:38:41 2024 Received: from localhost ([127.0.0.1]:44650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sL00v-0000iL-7o for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 08:38:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sL00t-0000i1-50; Sat, 22 Jun 2024 08:38:39 -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 1sKzyh-000507-Hb; Sat, 22 Jun 2024 08:36:23 -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=8xeSzDmUfeGGI3TvXZng7XE7aJX2Gcnnjop6O6DZ5TQ=; b=PXbJh2mqjEwv 4eCmvDmu7bFLrtc58hZIXNF0YJZKVO/ddBsMg8mt1JUmOn+nFa/tFmNnC8anqXWQBiZYgnhFeXT0x CbmIubhtkBKS8/N/mw/bENWgFISOL9xHZdTqE7siyGD+aFIid90oRQffEWByxg/NtJxzbWdK+00XU 2hH2LUpJ+MvSnCdWqFuqhP7cr/r3zRW4HotctB+6Qf2Bq6kTTfEjEwjLoJIJraWTfNm85UkF5zUyd dfgb4ebBwBOVIlBk/BnF7gSl0NFcTY9+rbeyQsBUlo5EQt4AKY+yE+9RXfconeQuNWZQddZy1pL2F rRqSlqtYKVemW/i3loYRwg==; Date: Sat, 22 Jun 2024 15:36:20 +0300 Message-Id: <86sex5gnnf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Skyler Mayfield <skyler544@HIDDEN> In-Reply-To: <87ed8p9y4p.fsf@HIDDEN> (message from Skyler Mayfield on Sat, 22 Jun 2024 10:31:50 +0200) Subject: Re: bug#71717: 30.0.50; php-ts-mode parser recipe fix References: <87ed8p9y4p.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 71717 <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 (---) merge 71717 71562 thanks > From: Skyler Mayfield <skyler544@HIDDEN> > Date: Sat, 22 Jun 2024 10:31:50 +0200 > > Looks like the new php-ts-mode has a problem with the treesit parser > recipe for php. This looks to me like the same problem as bug#71562, but > affecting php instead of typescript. The bug can be reproduced as > follows: Yes, it's the same bug, so I've now merged them. Note that there are other grammars with the same problem. I know about these two: . Markdown . OCaml
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.