[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to convert a string to a symbol?
From: |
Tim X |
Subject: |
Re: how to convert a string to a symbol? |
Date: |
Sun, 14 Sep 2008 18:06:20 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
sunway <sunwayforever@gmail.com> writes:
> I don't want to take "(> 2 1)" as a symbol name, instead I want "(>
> 2 1)" be evaled to 't'
>
Your question, or at least the way you have phrased it is misleading as
you are (possibly) using terminology incorrectly. try asking your
question with some background on what it is your trying to do.
For example, (this is just a 'guess' from reading between the lines of
what yu have posted and from similar questions I've seen in the past)
"I'm developing a small package where I want the user to be able to
enter some lisp expression via the mini-buffer and have elisp evaluate
it and return the result. However, I'm having problems working out how
to get the data entered by the user evaluated as if it was a lisp
expression. I think what I need to do is somehow turn the string entered
by the user into an s-expression and have emacs evaluate it and return
the result. Where do I start?"
If the above is close to wht you want, chaeck out the documentation to
interactive and the x or X args in particular. If its not, let us know
more!
Tim
--
tcross (at) rapttech dot com dot au
- how to convert a string to a symbol?, sunway, 2008/09/14
- RE: how to convert a string to a symbol?, Drew Adams, 2008/09/14
- RE: how to convert a string to a symbol?, Drew Adams, 2008/09/14
- Message not available
- Re: how to convert a string to a symbol?, sunway, 2008/09/14
- Re: how to convert a string to a symbol?, Pascal J. Bourguignon, 2008/09/14
- Re: how to convert a string to a symbol?,
Tim X <=
- Re: how to convert a string to a symbol?, sunway, 2008/09/14
- Re: how to convert a string to a symbol?, Joost Diepenmaat, 2008/09/14
- Re: how to convert a string to a symbol?, Pascal J. Bourguignon, 2008/09/14
- Message not available
- Message not available