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

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

bug#27117: 26.0.50; Setting cl-print-compiled to `static' has problems i


From: npostavs
Subject: bug#27117: 26.0.50; Setting cl-print-compiled to `static' has problems if print-circle isn't set
Date: Wed, 31 May 2017 07:48:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

tags 27117 fixed
close 27117 
quit

npostavs@users.sourceforge.net writes:

>> Indeed, prin1 has a two ways to prevent infinite recursion:
>> - limit the print to a certain depth
>> - detect when we start printing that we're already in the process of
>>   printing, and then replace it with #N where N is some kind of depth of
>>   the reference (so #0 refers to the whole object that we're in the
>>   process of printing).
>>
>> cl-prin1 doesn't offer these safety belts, currently (I always set
>> print-circle).
>
> Oh, I see, it's not specific to bytecode functions at all.  Here's a
> patch implementing the 2nd safety belt:

Pushed to master [1: a415c8bccb].

[1: a415c8bccb]: 2017-05-31 07:45:43 -0400
  cl-print: handle circular objects when `print-circle' is nil (Bug#27117)
  
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a415c8bccb917c247792c4ce8e77b2512b3414d6





reply via email to

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