Subject: Re: HTML Generating Code Not Pretty / Hard to Read
From: rpw3@rpw3.org (Rob Warnock)
Date: Sat, 12 Jul 2003 05:04:31 -0500
Newsgroups: comp.lang.lisp
Message-ID: <i8WdnXanCMOyQJKiXTWc-g@speakeasy.net>
Janis Dzerins  <jonis@latnet.lv> wrote:
+---------------
| "Coby Beck" <cbeck@mercury.bc.ca> writes:
| > The ~ by itself means ignore the following whitespace.
| 
| Not really.  Tilde followed by a newline is an ignored newline, but
| all the following spaces will stay where they are.
+---------------

Sorry, Coby is correct here. In fact, if you *don't* want the following
spaces to be ignored you have to use the ":" modifier. (Also note the "@"
modifier, which keeps the newline but ignores the following whitespace.)
See CLHS 22.3.9.3 "Tilde Newline: Ignored Newline" for details.


-Rob

-----
Rob Warnock, PP-ASEL-IA         <rpw3@rpw3.org>
627 26th Avenue                 <URL:http://rpw3.org/>
San Mateo, CA 94403             (650)572-2607