GNU bug report logs - #58978
Wrong association of tree-sitter-major-mode-language-alist to json-mode

Previous Next

Package: emacs;

Reported by: Johann Höchtl <johann.hoechtl <at> gmail.com>

Date: Thu, 3 Nov 2022 06:48:02 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58978 in the body.
You can then email your comments to 58978 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58978; Package emacs. (Thu, 03 Nov 2022 06:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johann Höchtl <johann.hoechtl <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 03 Nov 2022 06:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Johann Höchtl <johann.hoechtl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Wrong association of tree-sitter-major-mode-language-alist to
 json-mode
Date: Wed, 2 Nov 2022 17:07:41 +0100
[Message part 1 (text/plain, inline)]
As of Emacs 29, json-mode is spelled 'js-json-mode'
yet tree-sitter-major-mode-language-alist to json-mode has this
associations:

 (json-mode . json)
 (jsonc-mode . json)

There is no json-mode is Emacs 29, unless an external dependency is
installed.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58978; Package emacs. (Thu, 03 Nov 2022 08:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 58978 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Johann Höchtl <johann.hoechtl <at> gmail.com>, Yuan Fu
 <casouri <at> gmail.com>
Cc: 58978 <at> debbugs.gnu.org
Subject: Re: bug#58978: Wrong association of
 tree-sitter-major-mode-language-alist to json-mode
Date: Thu, 03 Nov 2022 10:26:29 +0200
> From: Johann Höchtl <johann.hoechtl <at> gmail.com>
> Date: Wed, 2 Nov 2022 17:07:41 +0100
> 
> As of Emacs 29, json-mode is spelled 'js-json-mode' yet tree-sitter-major-mode-language-alist to json-mode
> has this associations:
> 
>  (json-mode . json)
>  (jsonc-mode . json)
> 
> There is no json-mode is Emacs 29, unless an external dependency is installed.

Adding Yuan Fu to the CC list.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58978; Package emacs. (Tue, 22 Nov 2022 07:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 58978 <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: johann.hoechtl <at> gmail.com, 58978 <at> debbugs.gnu.org
Subject: Re: bug#58978: Wrong association of 
 tree-sitter-major-mode-language-alist to json-mode
Date: Mon, 21 Nov 2022 23:41:06 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Johann Höchtl <johann.hoechtl <at> gmail.com>
>> Date: Wed, 2 Nov 2022 17:07:41 +0100
>> 
>> As of Emacs 29, json-mode is spelled 'js-json-mode' yet
>> tree-sitter-major-mode-language-alist to json-mode
>> has this associations:
>> 
>>  (json-mode . json)
>>  (jsonc-mode . json)
>> 
>> There is no json-mode is Emacs 29, unless an external dependency is
>> installed.
>
> Adding Yuan Fu to the CC list.

Hey sorry, I just saw this. tree-sitter-major-mode-language-alist seems
to be a variable defined by emacs-tree-sitter, which is not us. I’d open
an issue on their github repo.

Yuan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58978; Package emacs. (Thu, 24 Nov 2022 19:41:02 GMT) Full text and rfc822 format available.

Message #14 received at 58978 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Yuan Fu <casouri <at> gmail.com>
Cc: johann.hoechtl <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>,
 58978 <at> debbugs.gnu.org
Subject: Re: bug#58978: Wrong association of
 tree-sitter-major-mode-language-alist to json-mode
Date: Thu, 24 Nov 2022 11:40:12 -0800
tags 58978 + notabug
close 58978
thanks

Yuan Fu <casouri <at> gmail.com> writes:

> Hey sorry, I just saw this. tree-sitter-major-mode-language-alist seems
> to be a variable defined by emacs-tree-sitter, which is not us. I’d open
> an issue on their github repo.

This seems to not be a bug in Emacs, so I'm closing the bug report.




Added tag(s) notabug. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 24 Nov 2022 19:41:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 58978 <at> debbugs.gnu.org and Johann Höchtl <johann.hoechtl <at> gmail.com> Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 24 Nov 2022 19:41:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Dec 2022 12:24:21 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.