help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to convert a string to a symbol?


From: Joost Diepenmaat
Subject: Re: how to convert a string to a symbol?
Date: Sun, 14 Sep 2008 11:25:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

sunway <sunwayforever@gmail.com> writes:

> What you say is close to what I want, I do want to turn a string into
> a sexp,but the string could from the minibuffer or somewhere else.
> for example, I want to write a function , it takes a string as
> argument, the function could turn the string to a sexp, eval it, and
> return the result.

You want to take a look at (read-from-string) or possibly some of the
other read* functions.

also: please don't top post. it really makes your posts harder to read.

-- 
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]