From ... From: Erik Naggum Subject: Re: Uppercasing symbols Date: 1998/12/07 Message-ID: <3122038086601868@naggum.no>#1/1 X-Deja-AN: 419679169 References: <87yapa1gdp.fsf@foobar.arendal.orion.no> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * David Bakhash | having done lots of elisp programming, I must admit that though I never | use uppercase symbols, I like case-sensetivity because it allows me to | use case when/if I want it. It's just like DOS, which used to name its | files case-insensetively, which now does so case-sensetively. Probably | because it's so much more flexible. amusing. DOS doesn't name its files case-sensitively. it _retains_ the case, yet searches are case-insensitive. try to write the files FOOBAR and FooBar, and you'll see. you can still use case if you want to in Common Lisp. I know a few people don't like this, but (SETF (READTABLE-CASE *READTABLE*) :PRESERVE) does not convert the case of input symbols. :INVERT likewise inverts it, so you can type in all lowercase, and it comes out as uppercase, and vice versa. if, however, you use mixed case, the symbol name is not altered. the idea was apparently that by mixing case, you would not expect it to change in the symbol name. | I like using Allegro, because it lets me say "I want my Lisp case | sensetive". To me, that is a good thing. I'm sure other vendors provide | similar options. well, even the standard does, and thanks to my bitching and moaning and John Foderaro's excellent code, Allegro CL 5.0 also behaves correctly in all combinations of readtable-case, print-case, and case-mode, now. #:Erik -- The Microsoft Dating Program -- where do you want to crash tonight?