From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo 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 05:36:23 -0400 Message-ID: References: <87tti8binx.fsf@fastmail.fm> <874ja7ua1m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33059"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71367@debbugs.gnu.org, Theodor Thornhill , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 05 11:37:03 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 1sEn4p-0008Mr-23 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jun 2024 11:37:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEn4c-0003Us-Ea; Wed, 05 Jun 2024 05:36:50 -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 1sEn4b-0003US-Ea for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 05:36: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 1sEn4a-0006mg-Ol for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 05:36:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEn4o-0001F5-8n for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2024 05:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jun 2024 09:37: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.17175802164751 (code B ref 71367); Wed, 05 Jun 2024 09:37:02 +0000 Original-Received: (at 71367) by debbugs.gnu.org; 5 Jun 2024 09:36:56 +0000 Original-Received: from localhost ([127.0.0.1]:46477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEn4h-0001EZ-Hc for submit@debbugs.gnu.org; Wed, 05 Jun 2024 05:36:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEn4e-0001E3-Vp for 71367@debbugs.gnu.org; Wed, 05 Jun 2024 05:36:53 -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 1sEn4L-0006l1-BT; Wed, 05 Jun 2024 05:36:33 -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=WKbwpOLWCf4w7fn+zlqxzU65Q+SXxZVDmUPmPXbMOPU=; b=HqXosRzK7XnOyZke9tXp gP4LMguig8Mc7IWkS2qxsiAA79UqbWq49H/kqAmhLLPd5EyJL36D7zsDXG6FdSJRLoaExU77Sk0/n YzPlS62gFw7kxA5AthkMTdZFrvhkeKs9ORn49UB6s+TwypIHBQ7ge2xvcYx3UHz8mEznoF7MW5D2a 5iWlhuBOv08TPGGha3HP6k4SoZ5aYSydALzZRgc2BqeCqt7rC7xANeCevKzqrWTrtwYdDIkTtZBmf dceXmVg+Yw89bA3tQLGemhcn+08MjzGQohLLtWFmGKL2I/6j0CVr/B+GZcEAEmLhmJzzAnAkgD4gT R9vpNct8Ep6OXQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sEn4C-0004WU-1Z; Wed, 05 Jun 2024 05:36:32 -0400 In-Reply-To: <874ja7ua1m.fsf@gnu.org> (Tassilo Horn's message of "Wed, 05 Jun 2024 09:24:21 +0200") 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:286585 Archived-At: Tassilo Horn writes: > 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: > > (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