Newsgroups: comp.lang.lisp Path: utzoo!sq!dak From: dak@sq.sq.com (David A Keldsen) Subject: Re: Tradition Lisp code formatting Message-ID: <1991Jun24.094106.24994@sq.sq.com> Organization: SoftQuad Inc. References: <20899@sdcc6.ucsd.edu> <1991Jun23.190212.9552@watmath.waterloo.edu> Date: Mon, 24 Jun 91 09:41:06 GMT Lines: 23 datangua@watmath.waterloo.edu (David Tanguay) writes: >In article <20899@sdcc6.ucsd.edu> sboswell@sdcc13.ucsd.edu (....What Is?....) writes: >>How did the traditional style of Lisp code turn out to be so crunched >>together? >[... example showing a more blocky format than the traditional lisp...] >When I recently wrote my first non-trivial Scheme program I used a very >similar format (amazingly similar, I'm tempted to say). Not only did I find >it much more readable, it was also much easier to move code around with VI. All you have to do to move Lisp code around in vi is to d% (or "ad% if you prefer). Delete to the matching paren suffices... then judicious use of P or p to paste it, and....voila! (Who says lisp hackers don't use vi?) Dak -- David A. 'Dak' Keldsen of SoftQuad, Inc. email: dak@sq.com phone: 416-963-8337 "You'd better get on with it," she said. "That's fifty green fires and hot leads to go, with a side order for blisters and scorpions. Hold the mercy." -- _Sourcery_ by Terry Pratchett