Subject: bug#21717: 24.5; describe-variable performances

From: Andreas Schwab <[email-masked]>
Date: Tue, 20 Oct 2015 10:03:00 +0200

Thierry Volpiatto <[email-masked]> writes:

> @@ -763,7 +763,9 @@ it is displayed along with the global value."
>  		  (if (< (+ (length print-rep) (point) (- line-beg)) 68)
>  		      (insert print-rep)
>  		    (terpri)
> -		    (pp val)
> +		    (if (listp val)
> +                        (progn (insert "(") (mapc 'pp val) (insert ")"))

The problem with that is that it breaks printing cyclic structures.  If
val itself is a cycle you are stuck here.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."