Subject: bug#59833: 29.0.60; json-ts-mode fontifies everything as string

From: Randy Taylor <[email-masked]>
Date: Mon, 05 Dec 2022 20:19:00 +0000

On Monday, December 5th, 2022 at 15:14, Theodor Thornhill <[email-masked]> wrote:
> 
> 
> On 5 December 2022 20:57:55 CET, Yuan Fu [email-masked] wrote:
> 
> > > On Dec 5, 2022, at 7:37 AM, Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors [email-masked] wrote:
> > > 
> > > On 5 December 2022 16:35:12 CET, Randy Taylor [email-masked] wrote:
> > > 
> > > > On Monday, December 5th, 2022 at 10:03, Theodor Thornhill [email-masked] wrote:
> > > > 
> > > > > Yeah js-json-mode is a lot simpler, and is imo too simple. The json-mode
> > > > > is not infact default in emacs, but there are two, one in melpa and one
> > > > > in elpa, IIRC.
> > > > > 
> > > > > Anyway, last patch for now - are you both satisfied with this one?
> > > > > 
> > > > > Theo
> > > > 
> > > > It's perfect! Sorry for all the trouble :D.
> > > 
> > > No problem :)
> > > 
> > > Yuan, will you commit this one?
> > 
> > Yeah. IIUC :override t is not necessary for pair, right? If so, I’ll apply the patch and remove the :override, is that OK?
> > 
> > Yuan
> 
> 
> Please test it first, but sure! We want it to not be string face at least :)
> 
> Theo

It's necessary, since string comes first and pair needs to override it (just tested).