Subject: Re: bug#41745: 28.0.50; problem with json file and which-function on pretest an master

From: "Basil L. Contovounesios" <[email-masked]>
Date: Sun, 07 Jun 2020 16:17:43 +0100

Dmitry Gutov <[email-masked]> writes:

> On 07.06.2020 15:23, Basil L. Contovounesios wrote:
>> I'm confused; are these the entire contents of the file
>> sale_line_grammar.json that is mentioned in the backtrace?  Is this some
>> sort of templating syntax that is replaced with valid JSON later on?
>
> That is indeed a bit surprising to see in a JSON file. But if it worked
> before...

That's not saying enough, because it could be that some external code
does not support Emacs 27+ properly.

>> If
>> so, this issue is more about js-mode or whichever other major mode you
>> may be using, rather than JSON.
>
> Emacs associates js-mode with .json files. json-mode is in ELPA only.

I know, but details about which modes are in use are missing from the
bug report.

-- 
Basil