bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48839: 28.0.50; Emacs freezes and takes 100% CPU with C-h v l


From: Tassilo Horn
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
User-agent: mu4e 1.5.13; emacs 28.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Sat, 05 Jun 2021 11:39:16 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: mail@daniel-mendler.de, 48839@debbugs.gnu.org, Tassilo Horn 
>> <tsdh@gnu.org>
>> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]