From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#71367: 30.0.50; ELPA package breadcrumb causes Emacs freeze when editing json file Date: Wed, 05 Jun 2024 09:24:21 +0200 Message-ID: <874ja7ua1m.fsf@gnu.org> References: <87tti8binx.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27988"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71367@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 05 09:27:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sEl33-0006zh-2s for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jun 2024 09:27:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEl2p-0001yC-Ab; Wed, 05 Jun 2024 03:26:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEl2n-0001kh-Et for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 03:26:49 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEl2n-0004qn-59 for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 03:26:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEl30-0000m4-OE for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 03:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jun 2024 07:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71367 X-GNU-PR-Package: emacs Original-Received: via spool by 71367-submit@debbugs.gnu.org id=B71367.17175724182958 (code B ref 71367); Wed, 05 Jun 2024 07:27:02 +0000 Original-Received: (at 71367) by debbugs.gnu.org; 5 Jun 2024 07:26:58 +0000 Original-Received: from localhost ([127.0.0.1]:37004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEl2w-0000lc-45 for submit@debbugs.gnu.org; Wed, 05 Jun 2024 03:26:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEl2t-0000lF-Mp for 71367@debbugs.gnu.org; Wed, 05 Jun 2024 03:26:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEl0U-0004Bs-3N for 71367@debbugs.gnu.org; Wed, 05 Jun 2024 03:24:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=EqzUwQYMkI3b1Zqs+wD74jzKE/jo6SAu7YZEwagP9BY=; b=PGzFoRAYeGSSdX1Zhd1X y/qT/eRBJf5eXaKC9dYXVR9uy+3psQ5U4vsHs1G2/3uKITfnxkS1p4dKJjA6VHFAhIR2DPCiyBAWE yiGm9bSxFzDGjGVu8Gj+/46s68snCCCGRwmBTzFiM93YeW+EgX3SWVLVeLUhNSkBsBQ3VtKbmqh3i RwUAdwMkFAvsPZZqGNLomF/hGW4KRzcNm+/A+36QS/R+n5aUngRHd3LFK1MzLtXCKoEt0Tt+sQU+I P300X2mXowxaMfzLNEfNbx2Fm6o4D4feWI0YhiWKR7C5tyEhKppNAST1M/Kc2TPC/xeBeNlVAMpuo 7RLh7uFsENzFKA==; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelhedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpe etledtgeehfffhteekkeevkeekvefggeekteeuffelieehkefhgfffueeugeeiffenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail In-Reply-To: (Andrea Corallo's message of "Tue, 04 Jun 2024 16:49:34 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286581 Archived-At: Andrea Corallo 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: --8<---------------cut here---------------start------------->8--- (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")) --8<---------------cut here---------------end--------------->8--- 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. Bye, Tassilo