unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Alin Soare <as1789@gmail.com>
Cc: Edward O'Connor <hober0@gmail.com>, Emacs Dev <emacs-devel@gnu.org>
Subject: Re: Generating an unique symbol in elisp
Date: Fri, 03 Dec 2010 17:46:05 -0500	[thread overview]
Message-ID: <jwvy686mq6r.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <AANLkTimgfVrx4DgyyeQ9UWYUfezXZ3JJ+xh252nTObj+@mail.gmail.com> (Alin Soare's message of "Sat, 4 Dec 2010 00:12:26 +0200")

> Can you bind a value in variable field/ evaluate a symbol as a variable if
> it is not interned ?

Yes.  The fact that it's interned or not only affects the Lisp reader,
not the interpreter.

> Otherwise, can you create an obarray (different of main obarr) and intern
> within it only a few symbols (in this case the matter ),

Yes.

> and evaluate within that environment ?

Elisp does not have such a notion, no.


        Stefan



  parent reply	other threads:[~2010-12-03 22:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 21:19 Generating an unique symbol in elisp Alin Soare
2010-12-03 21:30 ` Edward O'Connor
2010-12-03 21:33   ` Alin Soare
2010-12-03 22:03     ` Edward O'Connor
2010-12-03 22:12       ` Alin Soare
2010-12-03 22:23         ` Drew Adams
2010-12-03 22:38           ` Alin Soare
2010-12-03 22:46         ` Stefan Monnier [this message]
2010-12-03 21:41 ` Andreas Schwab
2010-12-03 21:44   ` Alin Soare
2010-12-03 22:34 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy686mq6r.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=as1789@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=hober0@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).