help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacement for Common Lisp's GENSYM in Emacs Lisp


From: David Kastrup
Subject: Re: Replacement for Common Lisp's GENSYM in Emacs Lisp
Date: Tue, 04 May 2010 15:41:42 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Teemu Likonen <tlikonen@iki.fi> writes:

> In Common Lisp GENSYM function generates unique symbol names. It seems
> that Emacs Lisp does not have similar function (unless with CL
> extension). In plain Emacs Lisp code and macros, what would you
> suggest as a replacement for GENSYM? Just some very unlikely names?

Uninterned symbols created with make-symbol work just fine for most
purposes.  Only rare applications need unique print names and/or symbols
accessed by name.

-- 
David Kastrup


reply via email to

[Prev in Thread] Current Thread [Next in Thread]