CM/CLM: dealing with list/array parameters?

Jacques Duthen duthen@club-internet.fr
Sun, 20 Jul 1997 20:13:27 +0200


hkt@ccrma.Stanford.EDU wrote:
> 
> >the set comand, then the "list" command dumps the entire list 
> >or array, which is not what I want for long sequences. 
> 
> CM uses the Common Lisp generic function PRINT-OBJECT to print
> slot values when an object is "listed".  The default PRINT-OBJECT
> does basic slot value printing without any special case code for
> arrays and so on. But you can specify your own PRINT-OBJECT methods 
> for your instrument classes.  CM has a macro FORMATTING-SLOTS that
> may be useful in this context, it is documented in the dictionary.
> 
> hope this helps.

Maybe you could try the simpler:
(setq *print-length* 10)
and see if it responds to your question.
hth                                                          [jack]
-- 
| # # | # # # | # # | # # # | # # | # # # | Jacques Duthen   [jack] |
| # # | # # # | # # | # # # | # # | # # # | duthen@club-internet.fr |
|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|