GNU bug report logs -
#73779
30.0.91; [PATCH] php-ts-mode: Better indentation and font locking, support for the latest grammar version.
Previous Next
Reported by: Vincenzo Pupillo <v.pupillo <at> gmail.com>
Date: Sat, 12 Oct 2024 21:03:01 UTC
Severity: normal
Tags: patch
Found in version 30.0.91
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
> Cc: 73779 <at> debbugs.gnu.org
> Date: Sun, 13 Oct 2024 11:19:31 +0200
>
> > I have two questions about this:
> >
> > . will the code which uses the "asymmetric property visibility" also
> > work without problems with versions of the grammar library before
> > 0.23.3?
>
> Yes, I tested it with older versions of the grammars.
> 'php-ts-mode--test-visibility-modifier-operation-clause-p' is used to check if
> this new feature is defined or not, and behaves accordingly.
>
> > . do you consider the code changes to be tested well enough and thus
> > safe to be installed on the emacs-30 release branch?
> >
> Yes, I've been using this patch at work for about a week and haven't had any
> problems.
I was about to install this, but byte-compiling the modified file
yields the following warnings:
ELC progmodes/php-ts-mode.elc
In php-ts-mode--open-statement-group-heuristic:
progmodes/php-ts-mode.el:435:58: Warning: Unused lexical argument `parent'
progmodes/php-ts-mode.el:499:50: Warning: argument `_bol' not left unused
progmodes/php-ts-mode.el:518:56: Warning: argument `_bol' not left unused
Could you please fix these and resubmit the patch?
This bug report was last modified 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.