all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: "Edward O'Connor" <hober0@gmail.com>
Cc: Emacs Dev <emacs-devel@gnu.org>
Subject: Re: Generating an unique symbol in elisp
Date: Sat, 4 Dec 2010 00:12:26 +0200	[thread overview]
Message-ID: <AANLkTimgfVrx4DgyyeQ9UWYUfezXZ3JJ+xh252nTObj+@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinbGZXYeYn3b3bk8Bj=KxXV83SnZmxQRaSLBMFd@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

2010/12/4 Edward O'Connor <hober0@gmail.com>

> > The name is the problem. Does it generate an uninexistent name, or have I
> > write a function to generate the uninexistent name ?
>
> The name isn't the problem. You can (make-symbol "foo") a bunch of
> times, and you'll have a bunch of different symbols. That's what it
> means for them to be uninterned.
>

Good.

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

Otherwise, 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 ?

[-- Attachment #2: Type: text/html, Size: 981 bytes --]

  reply	other threads:[~2010-12-03 22:12 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 [this message]
2010-12-03 22:23         ` Drew Adams
2010-12-03 22:38           ` Alin Soare
2010-12-03 22:46         ` Stefan Monnier
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

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

  git send-email \
    --in-reply-to=AANLkTimgfVrx4DgyyeQ9UWYUfezXZ3JJ+xh252nTObj+@mail.gmail.com \
    --to=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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.