Subject: Re: gensym vs make-symbol [was: Re: newbie: please don't smash my case ]
From: Erik Naggum <>
Date: 2000/07/09
Newsgroups: comp.lang.lisp
Message-ID: <>

* Rob Warnock
| Other than reducing possible confusion while debugging with
| "macroexpand", is there any real reason to prefer (gensym "foo")
| over (make-symbol "foo") when defining macros that need
| non-capturing local variables? Both produce fresh uninterned symbols
| which can't conflict with (capture) any other symbol.  So in what
| circumstances is one preferred over the other, or vice-versa?

  Well, I use make-symbol exclusively and see no reason for gensym or
  gentemp at all.  I tend to set *print-circle* to t, anyway.

  If this is not what you expected, please alter your expectations.