On Wed, Feb 02, 2005 at 03:13:28PM -0500, rif wrote:
> 
> How can get the output from time "programmatically", in a way I can
> manipulate?  I can see that time is sending its output to
> *trace-output*, but I'm not sure how I can capture this, or send it to
> a different stream, or what.
> 
> Any suggestions?
> 
> rif
> 

(with-output-to-string (zot) 
  (let ((*trace-output* zot))
    (time (loop repeat 1000)))
  zot)

'mr

-- 
[Emacs] is written in Lisp, which is the only computer language that is
beautiful.  -- Neal Stephenson, _In the Beginning was the Command Line_


Reply via email to