From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Beshara Newsgroups: gmane.emacs.bugs Subject: bug#50061: 28.0.50; Hang caused by savehist-save when saving kill ring with large amount of data from nxml-mode buffer Date: Sun, 15 Aug 2021 20:38:04 +1000 Message-ID: <875yw73s1b.fsf@mfa.pw> References: <83r1ev9n24.fsf@gnu.org> <83o89z9k8w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.1; emacs 28.0.50 Cc: 50061@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 15 12:46:29 2021 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 1mFDer-0004zA-Qa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 12:46:27 +0200 Original-Received: from localhost ([::1]:50794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFDep-0002iD-Uk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 06:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFDeU-0002fz-W5 for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 06:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34306) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFDeU-0001kj-PA for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 06:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFDeU-0002CM-Hf for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 06:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt Beshara Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Aug 2021 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50061 X-GNU-PR-Package: emacs Original-Received: via spool by 50061-submit@debbugs.gnu.org id=B50061.16290243418413 (code B ref 50061); Sun, 15 Aug 2021 10:46:02 +0000 Original-Received: (at 50061) by debbugs.gnu.org; 15 Aug 2021 10:45:41 +0000 Original-Received: from localhost ([127.0.0.1]:45851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFDe8-0002Bd-Pn for submit@debbugs.gnu.org; Sun, 15 Aug 2021 06:45:41 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:53603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFDe6-0002BP-J6 for 50061@debbugs.gnu.org; Sun, 15 Aug 2021 06:45:39 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CFFAF3200312; Sun, 15 Aug 2021 06:45:32 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 15 Aug 2021 06:45:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mfa.pw; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= XcrDEDx/84uzxLPcoZX2gl3Yg8m9I1cJVZERoK1vQYg=; b=fEpdwaq5+3kUxq0D ND/T/oDaiKs5cTeoi5/0RAOkkGJzRsQGnr0rBr4X9nTnRfk9wJDZSwf50ff39Iex 3S0lQyL5w4B70nNjgN3h/Ay5pq3B4ALsFoLkO3/oISnfqt6GhzXbCvNfqeC+AyZO uOAABGRhSISPHQP+qm3ZtYWzmdALDoIbSjKhJQEon74QpzdncwxN6+M5B2XE6rEY Pxl++QI0SSf6FXUEVW7YdpQfSTNd166lMv7ah0gofyQ/OS1Jz2/uDJpzbH15p+jJ JM7pn4R9gvlqADQkvunHk071DxyjR8hL0u53ak+0K3C5yq4BCI4q6YUPVyVEF8yJ kDqdeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=XcrDEDx/84uzxLPcoZX2gl3Yg8m9I1cJVZERoK1vQ Yg=; b=dPDqiPr25wUkJhfwKbufIx8VDESMQIi8lULPmIcqX+Dbd/V5GxfZz/h0C Li7BTedCEEIAvbIiiGFT9UYpxoBpg6UN1kbLfIpvMuET0xiUYzf1w4GHEZjis6Ku SrlyT1Sx4uuH8N9RkcrJrLVqHm7Dxyh9V+mrdnSs5gRvkVRNkNuDOB+503gdYBBo zMVvj/Ks2lnPi8gWBr/ZBBaJYun59N8TE5mDktuzMEqn6GT9bBKfO3AQSSAxKjjl 58aXMM4YclIJuXzHTvizNDHcfIhXdVimoPE37M9VFiIyu6QXqpn2RWzXrco4sHHi G4nSj0vwFFirSkPYIHICOGkJcNIJg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeelgdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdduhedmnecujfgurhepfhgfhffvufffjgfkgggtgfesthhqredttder jeenucfhrhhomhepofgrthhtuceuvghshhgrrhgruceomhesmhhfrgdrphifqeenucggtf frrghtthgvrhhnpeevveeluefhudeitdejgfeivdegueefveevieeuvdffudefuefhhfei vdetieelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmsehmfhgrrdhpfi X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Aug 2021 06:45:30 -0400 (EDT) In-reply-to: <83o89z9k8w.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:211881 Archived-At: Eli Zaretskii writes: > Specifically, it's the 'rng-state' property on the "

" that=20 > ends a > paragraph. It's a massive recursive data structure, and=20 > printing it > takes a lot of memory. Maybe nXML could arrange for these=20 > properties > to be removed when copying to the kill-ring, but would it get in=20 > the > way if you want to paste into an XML buffer? I haven=E2=80=99t had time to look at the code yet, so I=E2=80=99m not sure= what=20 information the =E2=80=98rng-state=E2=80=99 property contains, and whether = it=20 would cause any problems (to me) for it to be removed when copied.=20 That said, personally, I don=E2=80=99t think there could be any side=20 effect of removing that property from copied XML which would be=20 more disruptive than savehist causing Emacs to hang completely=20 when trying to save my kill ring. Also, would nXML not be able to=20 recreate any missing data it needed from the =E2=80=98rng-state=E2=80=99 pr= operty=20 if the plain text of the XML was then pasted into an nXML buffer=20 again?