🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #100048

bugs with print-length

#100048
From: Rob Hasker
Date: Sat, 17 Mar 1990 04:10
20 lines
1559 bytes
I have recently been working (unavoidably) with recursive lists.  I set
print-length to a small enough number that the recursive parts of the lists
are not printed when evaluating expressions, etc.  Unfortunately, the
debugger resets print-length (as a fluid variable) to 50, so if recursive
lists are being passed to functions the backtrace cannot be printed.  The
fix is to set print-length to `(or print-length 50)' in (debug).

There's another problem with print-length.  If one invokes the
byte-compiler while it is set, then the functions are written out as
	(defun a-little-too-terse nil (interactive) ...)
I think it's arguable that the byte-compiler should reset print-length
to nil.  I also suspect that print-length should be reset in other places.
Or is it the responsibility of whoever sets print-length to reset it when
appropriate?

Rob Hasker
hasker@cs.uiuc.edu

version:
"GNU Emacs 18.55.2 of Wed Jun 21 1989 on m.cs.uiuc.edu (berkeley-unix)"
Technical Details
Message-ID: <9003170410.AA01316@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!CS.UIUC.EDU!hasker

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,9285cd7a36f9ebf4,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-03-17 09:48:38 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!CS.UIUC.EDU!hasker
From: hasker@CS.UIUC.EDU (Rob Hasker)
Newsgroups: gnu.emacs.bug
Subject: bugs with print-length
Message-ID: <9003170410.AA01316@m.cs.uiuc.edu>
Date: 17 Mar 90 04:10:04 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20
Posted: Sat Mar 17 05:10:04 1990