From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Generating an unique symbol in elisp Date: Fri, 03 Dec 2010 22:41:47 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291412571 12867 80.91.229.12 (3 Dec 2010 21:42:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 21:42:51 +0000 (UTC) Cc: Emacs Dev To: Alin Soare Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 22:42:47 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1POdOw-0003T7-BR for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 22:42:46 +0100 Original-Received: from localhost ([127.0.0.1]:50715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POdOv-0005ns-Ts for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 16:42:45 -0500 Original-Received: from [140.186.70.92] (port=38352 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POdOK-0005Un-0F for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:42:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POdO1-0003WC-Ur for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:42:07 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:55240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POdO1-0003UB-Ps for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:41:49 -0500 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 944CB188B59D; Fri, 3 Dec 2010 22:41:47 +0100 (CET) Original-Received: from igel.home (ppp-93-104-128-221.dynamic.mnet-online.de [93.104.128.221]) by mail.mnet-online.de (Postfix) with ESMTP id 886011C001A7; Fri, 3 Dec 2010 22:41:47 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 536B5CA2A0; Fri, 3 Dec 2010 22:41:47 +0100 (CET) X-Yow: The PINK SOCKS were ORIGINALLY from 1952!! But they went to MARS around 1953!! In-Reply-To: (Alin Soare's message of "Fri, 3 Dec 2010 23:19:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133357 Archived-At: Alin Soare writes: > Does this function already exist in elisp ? I looked in the manual and did > not find it... gensym is a compiled Lisp function in `cl-macs.el'. (gensym &optional PREFIX) Generate a new uninterned symbol. The name is made by appending a number to PREFIX, default "G". Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."