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: Sat, 4 Dec 2010 00:38:13 +0200 Message-ID: References: <61281D0912FD40009932669C6FD300D0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd59494919e3704968931d5 X-Trace: dough.gmane.org 1291415905 27663 80.91.229.12 (3 Dec 2010 22:38:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 22:38:25 +0000 (UTC) Cc: Edward O'Connor , Emacs Dev To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 03 23:38:21 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 1POeGi-0000fd-2o for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 23:38:20 +0100 Original-Received: from localhost ([127.0.0.1]:43555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POeGh-0001rh-Jn for ged-emacs-devel@m.gmane.org; Fri, 03 Dec 2010 17:38:19 -0500 Original-Received: from [140.186.70.92] (port=49040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POeGc-0001qj-Ux for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:38:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POeGc-0001BB-0L for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:38:14 -0500 Original-Received: from mail-gw0-f48.google.com ([74.125.83.48]:49401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POeGb-0001B7-Sl for emacs-devel@gnu.org; Fri, 03 Dec 2010 17:38:13 -0500 Original-Received: by gwaa20 with SMTP id a20so2714268gwa.35 for ; Fri, 03 Dec 2010 14:38:13 -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=m0duYRDi2LV0ecBgh8VjZtcxnEgPEQYa9DFStGdMhZs=; b=MAX9RQyfllFcqbkZj0oHKMyAQxr6s3fGX5Xb6D09d9fw+nlg9ZfBNsYiQd5wJLcGYc JRdE2WmAEIxvSpEz9CdtnPz/19+NEa7+wHAeOIOkBik6v69/TOP6Yuyctb4R1CmZMjOq AaaIK0RZ7UqCdz7bcx0uDT0XIRN0HQ62FjGHo= 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=Xq/LLn47JzSCw3LXUt2pTR5QWjhWXpS1pvNGhBb5Shxw2Vjf9W5cIgBOoFhkaJPlgt I92C9ngzOZCYYw7W0LU8N4KwyJWGMRJD4kNiOGgnN7TxGsqhAPgbxo5NEcoLA/MZEfaZ 04NVUr8JggF6fQgBpAPArIxTTiarleRhXvRJM= Original-Received: by 10.150.135.20 with SMTP id i20mr4701285ybd.217.1291415893155; Fri, 03 Dec 2010 14:38:13 -0800 (PST) Original-Received: by 10.150.95.21 with HTTP; Fri, 3 Dec 2010 14:38:13 -0800 (PST) In-Reply-To: <61281D0912FD40009932669C6FD300D0@us.oracle.com> 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:133368 Archived-At: --000e0cd59494919e3704968931d5 Content-Type: text/plain; charset=UTF-8 2010/12/4 Drew Adams > > can you create an obarray (different of main obarr) and intern > > within it only a few symbols (in this case the matter ), and > > evaluate within that environment ? > > Yes. That's the idea behind having separate obarrays. > > There are no doubt examples of this in the Lisp sources. > If not, here is one: http://www.emacswiki.org/emacs/synonyms.el. > > > > Thanks. Tomorrow I send the minimal completions I need for tabs within C code, and the lisp scripts that define tabs as window-configuration. --000e0cd59494919e3704968931d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2010/12/4 Drew Adams &= lt;drew.adams@oracle.com>
> can you create an obarray (different of main obarr) = and intern
> within it only a few symbols (in this case the matter ), and
> evaluate within that environment ?

Yes. =C2=A0That's the idea behind having separate obarrays.

There are no doubt examples of this in the Lisp sources.
If not, here is one: http://www.emacswiki.org/emacs/synonyms.el.




Thanks.

Tomorrow I send the minimal comple= tions I need for tabs within C code, and the lisp scripts that define tabs = as window-configuration.




=C2=A0

--000e0cd59494919e3704968931d5--