From ... From: Erik Naggum Subject: Re: Obtaining the case preserved name of a macro Date: 1998/12/02 Message-ID: <3121559113640505@naggum.no>#1/1 X-Deja-AN: 417717735 References: <87yapa1gdp.fsf@foobar.arendal.orion.no> <73vm3u$f6df1@fido.engr.sgi.com> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * rpw3@rigden.engr.sgi.com (Rob Warnock) | Even better, the macro could invoke (at compile time, of course) | a routine that converted the external name to *whatever* your | preferred Lisp name was, with rules as complicated as you like, | e.g. (defexternal |XtGetMultiClickTime| ...) could define a Lisp | name of external::xt-get-multi-click-time, or whatever. I have never quite understood the desire to treat Common Lisp symbols as somehow intrinsically related to symbol names in any foreign language. in my view, a more Lispy symbol name makes sense while a C-like symbol name (including case hypersensitivity) does not, the latter just being a string to Lisp, so I would prefer something along these lines: (defexternal (xt::get-multi-click-time "XtGetMultiClickTime") ...) this makes even more sense with C++'s reinvention of mutually exclusive wheels with namespaces, type encoding (mangling) into the name, etc. #:Erik -- foggy FFI -- external world isolated