GNU bug report logs -
#48839
28.0.50; Emacs freezes and takes 100% CPU with C-h v l
Previous Next
Reported by: Tassilo Horn <thorn <at> fastmail.fm>
Date: Fri, 4 Jun 2021 22:48:02 UTC
Severity: normal
Merged with 48840
Found in version 28.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Yes, with this patch I can make the issue go away with no observable
> difference in the things marginalia displays.
>
> diff -u --label /home/horn/.emacs.d/elpa/marginalia-20210530.158/marginalia.el --label \#\<buffer\ marginalia.el\> /home/horn/.emacs.d/elpa/marginalia-20210530.158/marginalia.el /tmp/buffer-content-yqLXyF
> --- /home/horn/.emacs.d/elpa/marginalia-20210530.158/marginalia.el
> +++ #<buffer marginalia.el>
> @@ -450,8 +450,12 @@
> ((marginalia--symbol-class sym) :face 'marginalia-type)
> ((let ((print-escape-newlines t)
^^^
Ah, sorry, this ought to become a `let*' now.
> (print-escape-control-characters t)
> - (print-escape-multibyte t))
> - (prin1-to-string (if (boundp sym) (symbol-value sym) 'unbound)))
> + (print-escape-multibyte t)
> + (str-val (prin1-to-string
> + (if (boundp sym)
> + (symbol-value sym)
> + 'unbound))))
> + (substring str-val 0 (min (length str-val) 300)))
> :truncate (/ marginalia-truncate-width 3) :face 'marginalia-variable)
> ((documentation-property sym 'variable-documentation)
> :truncate marginalia-truncate-width :face 'marginalia-documentation))))
Bye,
Tassilo
This bug report was last modified 4 years and 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.