From: brandon bernie
Subject: format string problem
Date: 
Message-ID: <a222bb6b.0207181050.13ea7c47@posting.google.com>
I am trying to write a lisp function that handles format strings, and
was wondering where i can get some documentation on doing this.

From: Barry Margolin
Subject: Re: format string problem
Date: 
Message-ID: <rUGZ8.27$ox1.1398@paloalto-snr1.gtei.net>
In article <····························@posting.google.com>,
brandon bernie <·········@hotmail.com> wrote:
>I am trying to write a lisp function that handles format strings, and
>was wondering where i can get some documentation on doing this.

Most functions that accept format strings don't try to parse it themselves,
they just use (apply #'format format-string args).

-- 
Barry Margolin, ······@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
From: Kaz Kylheku
Subject: Re: format string problem
Date: 
Message-ID: <ah84bp$qkc$1@luna.vcn.bc.ca>
In article <····························@posting.google.com>, brandon
bernie wrote:
> I am trying to write a lisp function that handles format strings, and

Handles them in what way? Do you mean accepts a format string, with some
remaining arguments, and does something similar to the format function?  That's
easy enough, just use apply to bounce those arguments to format.

  (defun write-to-log (format-string &rest args)
    (apply #'format *log-stream* format-string args))