Subject: Re: Obtaining the case preserved name of a macro
From: Erik Naggum <erik@naggum.no>
Date: 1998/12/02
Newsgroups: comp.lang.lisp
Message-ID: <3121559113640505@naggum.no>

* 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