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#48839: 28.0.50; Emacs freezes and takes 100% CPU with C-h v l Date: Sat, 05 Jun 2021 14:07:22 +0200 Message-ID: <87fsxwfr3r.fsf@gnu.org> References: <87czt16ydq.fsf@fastmail.fm> <83bl8kltb8.fsf@gnu.org> <87wnr8ohk5.fsf@fastmail.fm> <83y2bok8nf.fsf@gnu.org> <83wnr8k19j.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="22624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.13; emacs 28.0.50 Cc: mail@daniel-mendler.de, 48839@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 05 14:13:09 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 1lpVAr-0005gD-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 14:13:09 +0200 Original-Received: from localhost ([::1]:52024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpVAq-0002j9-HQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 08:13:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpVAk-0002j0-Dx for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 08:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36898) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpVAk-0002Ql-2u for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 08:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpVAj-00028R-V1 for bug-gnu-emacs@gnu.org; Sat, 05 Jun 2021 08:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jun 2021 12:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48839 X-GNU-PR-Package: emacs Original-Received: via spool by 48839-submit@debbugs.gnu.org id=B48839.16228951278143 (code B ref 48839); Sat, 05 Jun 2021 12:13:01 +0000 Original-Received: (at 48839) by debbugs.gnu.org; 5 Jun 2021 12:12:07 +0000 Original-Received: from localhost ([127.0.0.1]:48443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpV9q-00027H-U6 for submit@debbugs.gnu.org; Sat, 05 Jun 2021 08:12:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpV9p-00026n-LN for 48839@debbugs.gnu.org; Sat, 05 Jun 2021 08:12:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47292) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpV9j-0001mB-Qx; Sat, 05 Jun 2021 08:11:59 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:33431) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpV9j-00075S-GM; Sat, 05 Jun 2021 08:11:59 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id 3FF5327C0054; Sat, 5 Jun 2021 08:11:57 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 05 Jun 2021 08:11:57 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtfedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 5 Jun 2021 08:11:55 -0400 (EDT) In-reply-to: <83wnr8k19j.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:208052 Archived-At: Eli Zaretskii writes: >> Date: Sat, 05 Jun 2021 11:39:16 +0300 >> From: Eli Zaretskii >> Cc: mail@daniel-mendler.de, 48839@debbugs.gnu.org, Tassilo Horn >> I will work on fixing string-width. > > Now done, please test. Yes, works! --8<---------------cut here---------------start------------->8--- (benchmark 100 '(let ((print-escape-newlines t) (print-escape-control-characters t) (print-escape-multibyte t)) (string-width (prin1-to-string load-history)))) ;; "Elapsed time: 36.960925s (7.817438s in 100 GCs)" --8<---------------cut here---------------end--------------->8--- Thanks for the quick fix. Daniel also added a workaround (which is probably still sensible even with your fix) to marginalia. Bye, Tassilo