unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to convert a string to a symbol?
@ 2008-09-14  4:59 sunway
  2008-09-14  5:54 ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: sunway @ 2008-09-14  4:59 UTC (permalink / raw)
  To: help-gnu-emacs

(setq str "(> 2 1)")
I want something like:
(eval (string-to-symbol str))

is it possible in elisp?


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-09-15  9:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-14  4:59 how to convert a string to a symbol? sunway
2008-09-14  5:54 ` Drew Adams
2008-09-14  6:10   ` Drew Adams
     [not found]   ` <mailman.19202.1221372658.18990.help-gnu-emacs@gnu.org>
2008-09-14  7:10     ` sunway
2008-09-14  7:27       ` Pascal J. Bourguignon
2008-09-14  8:06       ` Tim X
2008-09-14  8:34         ` sunway
2008-09-14  9:25           ` Joost Diepenmaat
2008-09-14 13:47           ` Pascal J. Bourguignon
2008-09-14  7:25     ` Pascal J. Bourguignon
2008-09-14 10:19     ` Richard G Riley
2008-09-14 13:43       ` Pascal J. Bourguignon
2008-09-15  9:34         ` David Kastrup

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).