From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#71367: 30.0.50; ELPA package breadcrumb causes Emacs freeze when editing json file Date: Thu, 06 Jun 2024 15:08:15 +0300 Message-ID: <86jzj2gtow.fsf@gnu.org> References: <87tti8binx.fsf@fastmail.fm> <874ja7ua1m.fsf@gnu.org> <867cf2ifbp.fsf@gnu.org> <86sexqgvax.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71367@debbugs.gnu.org, acorallo@gnu.org, theo@thornhill.no, tsdh@gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 14:08:56 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 1sFBvL-0009Xm-MV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 14:08:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFBvF-0006YK-2h; Thu, 06 Jun 2024 08:08:49 -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 1sFBvD-0006Y2-PO for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:08:47 -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 1sFBvD-0004ZX-Cr for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:08:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sFBvR-0007Yx-Pd for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 08:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 12:09:01 +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.171767572429048 (code B ref 71367); Thu, 06 Jun 2024 12:09:01 +0000 Original-Received: (at 71367) by debbugs.gnu.org; 6 Jun 2024 12:08:44 +0000 Original-Received: from localhost ([127.0.0.1]:52613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFBv9-0007YS-NG for submit@debbugs.gnu.org; Thu, 06 Jun 2024 08:08:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sFBv7-0007YE-O8 for 71367@debbugs.gnu.org; Thu, 06 Jun 2024 08:08:42 -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 1sFBul-0004Wf-EU; Thu, 06 Jun 2024 08:08:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=hCSxDOiiqseY/sMYr+/Cx8yCXsOHrtj6LguuRJq4ogs=; b=EzJzJnFjevL3+y8kxeW1 GuJgltcNtdjlS7ulDxK2Dg5tDit8dYuDv7KPIbkRQmI77sMy9qAhHc2pe2/+pVzrZ+yUgi0hX3i6+ GwjPwhhr+kBzHDoGAxh27wA8XyXQroJ3AtJOHV5KLeYeli50tzqw2vluRcEQQKzZllotBddAtYqqb BpOUC310qCunWuWIxyuklo5u0ekKHDcWw6D/rIknDpuPF5STP9kRkTs5eUc9WVU6WvpN2KzsCZmT5 /fCnsw0YRDMWmWV0clp2BHywsNDlS/WGmu4MkyPs3/nS8AqR8RhcghdckbL1TwEZbj44KUD5KqVaU ohOLffTxqLCNeA==; In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Thu, 6 Jun 2024 12:47:13 +0100) 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:286690 Archived-At: > From: João Távora > Date: Thu, 6 Jun 2024 12:47:13 +0100 > Cc: acorallo@gnu.org, tsdh@gnu.org, 71367@debbugs.gnu.org, theo@thornhill.no > > On Thu, Jun 6, 2024 at 12:33 PM Eli Zaretskii wrote: > > > I'd say allocate some initial space with make-vector, and then enlarge > > using vconcat or something? > > That amounts to implementing VECTOR-PUSH/VECTOR-PUSH-EXTEND > for a new "dynamic vector" data type, very common in other languages. > Doesn't belong in breadcrumb at all, in fact doesn't even belong in > Elisp IMO, but > I don't mind if someone contributes it there (after confirming > this is the culprit, of course). Could even be some other package already > has it. I don't see why using make-vector and vconcat, two existing primitives, would qualify as implementing something more general than what is needed here. But if we want this functionality as a primitive, we could perhaps expose larger_vector to Lisp.