all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincenzo Pupillo <v.pupillo@gmail.com>
To: Yuan Fu <casouri@gmail.com>
Cc: 72796-done@debbugs.gnu.org
Subject: bug#72796: 30.0.50; [PATCH] php-ts-mode: Improved font locking
Date: Mon, 26 Aug 2024 12:16:23 +0200	[thread overview]
Message-ID: <CA+pSb5uVj_fsDRcNOtdQc2sMUJeTLAmtPNKOcFG=NBRUH4JJ1A@mail.gmail.com> (raw)
In-Reply-To: <9FFE9897-83A8-4760-8BFA-F1EDC4195D02@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

Thanks Yuan.
I also tested the patch with the previous version of Grammar (v0.22.5) and
found no problems. Did you experience any problems?
Since php-ts-mode is not available in emacs-29 and emacs-30 has not been
released, perhaps it is better to support grammars from the release date.
Or is it better to support from the date of the first merge?  I have no
idea which is the best policy.
Thanks.
Vincenzo

Il giorno lun 26 ago 2024 alle ore 09:52 Yuan Fu <casouri@gmail.com> ha
scritto:

>
>
> > On Aug 24, 2024, at 2:41 PM, Vincenzo Pupillo <v.pupillo@gmail.com>
> wrote:
> >
> > Hi,
> > This patch improves font locking, particularly for constants and some
> > operators. It also extends compatibility to the latest version of the
> PHP
> > parser.
> > The patch can also be applied to version 31.0.50 .
> >
> > Thanks
> > Vincenzo
> Thanks Vince! I merged your patch to emacs-30. BTW, in the future it’s
> probably better to make the code work for both old and new grammar versions
> (whenever you can), that way people who installed the old grammar from
> who-knows-where can still use the mode. (I’m working on some tool to make
> it simpler to define alternative font-lock rules that works on multiple
> grammar versions.)
>
> Yuan

[-- Attachment #2: Type: text/html, Size: 1705 bytes --]

  reply	other threads:[~2024-08-26 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-24 21:41 bug#72796: 30.0.50; [PATCH] php-ts-mode: Improved font locking Vincenzo Pupillo
2024-08-26  7:52 ` Yuan Fu
2024-08-26 10:16   ` Vincenzo Pupillo [this message]
2024-08-26 11:32     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+pSb5uVj_fsDRcNOtdQc2sMUJeTLAmtPNKOcFG=NBRUH4JJ1A@mail.gmail.com' \
    --to=v.pupillo@gmail.com \
    --cc=72796-done@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.