Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67559 - [emacs] Adding support for native JSON parsing
Attached to Project:
Arch Linux
Opened by Ivan Deschenaux (idx) - Wednesday, 12 August 2020, 09:26 GMT
Last edited by Jürgen Hötzel (juergen) - Thursday, 13 August 2020, 18:39 GMT
Opened by Ivan Deschenaux (idx) - Wednesday, 12 August 2020, 09:26 GMT
Last edited by Jürgen Hötzel (juergen) - Thursday, 13 August 2020, 18:39 GMT
|
DetailsDescription:
Emacs 27.1 has introduced native support for JSON parsing, which drastically improves performance with some emacs packages (e.g. lsp-mode). This must be enabled by passing --with-json to ./configure. I do not know of any downside to adding this by default, and have used abs to test it on my system, where I encountered no problem (jansson is required for compilation). Could this be included in the official package? REFS https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00237.html https://emacs-lsp.github.io/lsp-mode/page/performance/ |
This task depends upon
Closed by Jürgen Hötzel (juergen)
Thursday, 13 August 2020, 18:39 GMT
Reason for closing: Fixed
Additional comments about closing: emacs-27.1-2
Thursday, 13 August 2020, 18:39 GMT
Reason for closing: Fixed
Additional comments about closing: emacs-27.1-2
See https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.27.1
Just for clarity: support for native JSON parsing can be verified inside of emacs using "M-: (functionp 'json-serialize)". Doing so confirms that the feature is not active in the current build, so a new version of the package would still be welcome.