guile-user
[Top][All Lists]
Advanced

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

Re: redirected 'help' output?


From: Matthias Koeppe
Subject: Re: redirected 'help' output?
Date: 02 Nov 2000 10:52:50 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6

"Dale P. Smith" <address@hidden> writes:

> Bill Schottstaedt wrote:
> > 
> > I'd like to redirect the output of "help" to a text widget, but
> > it's not obvious to me how to do this:
> > 
> > /home/bil/cl/ guile
> > guile> (version)
> > "1.4"
> > guile> (with-output-to-string (lambda () (help cons)))
> > ERROR: In procedure length in expression (length exp):
> > ERROR: Wrong type argument in position 1: (address@hidden cons)
> > ABORT: (wrong-type-arg)
> 
> Did you ever find a fix for this?
> 

help is a macro.  Here is what I use:

(with-output-to-string 
  (lambda () ((macro-transformer help) (list 'help 'cons) the-environment)))

-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe



reply via email to

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