all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: help-gnu-emacs@gnu.org
Subject: Re: convert strings to symbol
Date: Mon, 16 Jun 2008 16:16:19 +0200	[thread overview]
Message-ID: <200806161616.21377.andreas.roehler@online.de> (raw)
In-Reply-To: <E1K8ENJ-0000gA-Ij@www7.emo.freenet-rz.de>

Am Montag, 16. Juni 2008 schrieb alruccaba@justmail.de:
> Does someone have an idea how to convert a string object to a symbol?
> One purpose would be some kind of variable substitution :
> 
> (setq y "z")
> (setq x "y")
> (print  ..? x ....) -> "z"
> 
> Thanks in advance.
> 
> 
> 
> Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
> 
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html
> 
> 
> 
> 

make-symbol (?)

(setq a (make-symbol "eins"))
a => eins




  parent reply	other threads:[~2008-06-16 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 13:03 convert strings to symbol alruccaba
2008-06-16 13:17 ` Nicholas Sandow
2008-06-16 13:27 ` David Hansen
2008-06-16 14:16 ` Andreas Röhler [this message]
     [not found] ` <mailman.13394.1213625735.18990.help-gnu-emacs@gnu.org>
2008-06-16 14:48   ` David Kastrup
2008-06-16 16:48     ` Andreas Röhler
     [not found]     ` <mailman.13405.1213634862.18990.help-gnu-emacs@gnu.org>
2008-06-16 17:12       ` David Kastrup
2008-06-20 14:25         ` Andreas Röhler

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=200806161616.21377.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.