From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alin Soare Newsgroups: gmane.emacs.devel Subject: Re: Generating an unique symbol in elisp Date: Fri, 3 Dec 2010 23:44:30 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00151750df04771cfa0496887140 X-Trace: dough.gmane.org 1291412683 13398 80.91.229.12 (3 Dec 2010 21:44:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 21:44:43 +0000 (UTC) Cc: Emacs Dev To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 22:44:39 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 1POdQk-0004JB-4R for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 22:44:38 +0100 Original-Received: from localhost ([127.0.0.1]:51237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POdQj-0007Dr-MV for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 16:44:37 -0500 Original-Received: from [140.186.70.92] (port=41279 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POdQd-0007B7-U1 for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:44:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POdQd-0004cY-Bx for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:44:31 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:42294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POdQc-0004cQ-UW for emacs-devel@gnu.org; Fri, 03 Dec 2010 16:44:30 -0500 Original-Received: by yxl31 with SMTP id 31so19709602yxl.0 for ; Fri, 03 Dec 2010 13:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=c3ebHfY+eoQCF6MqTdYfJKm+W4QtwZXtbOMLmvzkiPQ=; b=E71iameI754Aqe85bhmsEBkY7Ld1A31F5DxO+GvjrVD6u7FMz7MsP2ARXx/KTitj/Q LMNvw+rYuAkGAIRLot20GK2SyuH/wu7OQEy9XhvZwwD38QRD7PwcRcTfZUGXGXVb9yri SQAyyMBnsneEsx9hu7xigWvVwufkvbuLx0h+M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=f1PkqD+1WfdDUBM5iYG2yHhF/zADP8K68PwWrN1TFG7uIqj4bwWdj+aVgJyTnfno05 CccpMi69yfb5LWwvyCqqw84LvTLB+ESmCNzwPONhZRpQAcn5qZIt37fWGgQ7i5Fj+RxY HrK6jc5EuKzo4r2AfYhv2Xeo065iFdhkmEweU= Original-Received: by 10.151.146.16 with SMTP id y16mr4593101ybn.331.1291412670192; Fri, 03 Dec 2010 13:44:30 -0800 (PST) Original-Received: by 10.150.95.21 with HTTP; Fri, 3 Dec 2010 13:44:30 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:133358 Archived-At: --00151750df04771cfa0496887140 Content-Type: text/plain; charset=UTF-8 > > 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". > > LOL. Tabs defined as windows configurations must work without (require 'cl) . Alin. --00151750df04771cfa0496887140 Content-Type: text/html; charset=UTF-8
> 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".


LOL. Tabs defined as windows configurations must work without (require 'cl) .



Alin.
--00151750df04771cfa0496887140--