From: Andrea Corallo <acorallo@gnu.org>
To: Tassilo Horn <tsdh@gnu.org>
Cc: 71367@debbugs.gnu.org, "Theodor Thornhill" <theo@thornhill.no>,
"João Távora" <joaotavora@gmail.com>
Subject: bug#71367: 30.0.50; ELPA package breadcrumb causes Emacs freeze when editing json file
Date: Wed, 05 Jun 2024 05:36:23 -0400 [thread overview]
Message-ID: <yp1tti7n33c.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <874ja7ua1m.fsf@gnu.org> (Tassilo Horn's message of "Wed, 05 Jun 2024 09:24:21 +0200")
Tassilo Horn <tsdh@gnu.org> writes:
> Andrea Corallo <acorallo@gnu.org> writes:
>
> Hi Andrea,
>
>>> I currently have no emacs without native compilation handy so I
>>> cannot tell if that's important, too. Can I somehow tell emacs not
>>> to compile breadcrumb natively after deleting the eln file?
>>
>> yes, you can globally set 'native-comp-jit-compilation' to nil or be
>> more selective on the files you don't want to be compiled using
>> 'native-comp-jit-compilation'.
>
> Ok, now I tested with
>
> emacs -Q --load ~/recipe-71367@debbugs.gnu.org.el
>
> where the recipe is:
>
> (progn
> ;; Native compile doesn't make a difference...
> (setq native-comp-jit-compilation-deny-list '(".*breadcrumb.*"))
> (package-initialize)
> (package-activate 'breadcrumb)
> (breadcrumb-mode)
> ;; Using json-ts-mode is essential!
> (add-to-list 'major-mode-remap-alist '(js-json-mode . json-ts-mode))
> (find-file "~/mirrorstatus.json"))
>
> Before firing up Emacs, I've deleted the breadcrumb ELN file.
>
> With the above recipe, Emacs instantly freezes when the file gets
> displayed. So native compilation of breadcrumb.el is not required in
> order to observe this bug. Using json-ts-mode instead of the default
> js-json-mode is, though.
Thanks, I'm Cc'ing authors of breadcrumb and json-ts-mode in case they can
help.
Bests
Andrea
next prev parent reply other threads:[~2024-06-05 9:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-04 19:40 bug#71367: 30.0.50; ELPA package breadcrumb causes Emacs freeze when editing json file Tassilo Horn
2024-06-04 20:49 ` Andrea Corallo
2024-06-05 7:24 ` Tassilo Horn
2024-06-05 9:36 ` Andrea Corallo [this message]
2024-06-06 9:35 ` Eli Zaretskii
2024-06-06 10:07 ` João Távora
2024-06-06 11:33 ` Eli Zaretskii
2024-06-06 11:47 ` João Távora
2024-06-06 12:08 ` Eli Zaretskii
2024-06-06 13:00 ` João Távora
2024-06-06 13:37 ` Eli Zaretskii
2024-06-06 14:01 ` João Távora
2024-06-06 14:29 ` Tassilo Horn
2024-06-07 21:23 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yp1tti7n33c.fsf@fencepost.gnu.org \
--to=acorallo@gnu.org \
--cc=71367@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
--cc=theo@thornhill.no \
--cc=tsdh@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).