GNU bug report logs - #21717
24.5; describe-variable performances

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Tue, 20 Oct 2015 06:15:02 UTC

Severity: minor

Tags: fixed, patch

Merged with 13439, 25122

Found in versions 24.4.50, 24.5

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21717 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 21717 <at> debbugs.gnu.org
Subject: Re: bug#21717: 24.5; describe-variable performances
Date: Tue, 20 Oct 2015 10:03:00 +0200
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> 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, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 8 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.