From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: how to convert a string to a symbol? Date: Sun, 14 Sep 2008 18:06:20 +1000 Organization: Rapt Technologies Message-ID: <87myibcfsz.fsf@lion.rapttech.com.au> References: <003701c9162e$58cfcd50$0200a8c0@us.oracle.com> <08e88ade-63f9-416c-8644-caf95ff2a863@z11g2000prl.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221381705 26410 80.91.229.12 (14 Sep 2008 08:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 08:41:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 10:42:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KenBp-0008Lk-Ay for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 10:42:41 +0200 Original-Received: from localhost ([127.0.0.1]:44145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KenAo-0004hp-Il for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 04:41:38 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:3UDG+uKKX7FWTYa1+xsMrHyorLs= Original-Lines: 31 Original-NNTP-Posting-Host: 1cb31ec0.news.astraweb.com Original-X-Trace: DXC=Lj_U>51[D[oJRZZkg^aP1jL?0kYOcDh@jIGb]mONgOijQOS2FRBj; OcSj1; M=3m:Td47LUi^G\eec Original-Xref: news.stanford.edu gnu.emacs.help:162217 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57560 Archived-At: sunway 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