From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!newsfeed1.bredband.com!bredband!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: symbol in macro Date: 31 Aug 2002 17:51:14 +0000 Organization: Naggum Software, Oslo, Norway Lines: 23 Message-ID: <3239805074868605@naggum.no> References: <3239763128549848@naggum.no> <3239778982119441@naggum.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1030816275 3576 129.240.64.16 (31 Aug 2002 17:51:15 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 31 Aug 2002 17:51:15 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:39241 * Software Scavenger | but it seems vaguely wrong to me because intern gives me the vague | impression of being for creating the symbol when it doesn't exist. This is just plain wrong. The purpose of `intern´ is to return the symbol with the name you specify. If the symbol does not exist, is it created. If you really want an existing symbol, use `find-symbol´, instead. | In my case, the name of the symbol is a constant, known to the macro, and it | would be an error for the symbol to not exist at macro expansion time. I | was vaguely wondering if there was something simpler than intern, something | read-only, which could use the fact that the symbol name is a constant, even | though the package is unknown. The HyperSpec has a pointer to `find-symbol´ in the entry for `intern´ in the See Also section. Why do you not use the references when they are so readily available to you? -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.