From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: how to convert a string to a symbol? Date: Sat, 13 Sep 2008 22:54:26 -0700 Message-ID: <003701c9162e$58cfcd50$0200a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221371699 7327 80.91.229.12 (14 Sep 2008 05:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 05:54:59 +0000 (UTC) To: "'sunway'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 07:55:54 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 1KekaN-0005dI-7E for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 07:55:51 +0200 Original-Received: from localhost ([127.0.0.1]:39142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KekZM-0004Dr-D3 for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 01:54:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KekYr-0004BI-QL for help-gnu-emacs@gnu.org; Sun, 14 Sep 2008 01:54:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KekYq-000493-4j for help-gnu-emacs@gnu.org; Sun, 14 Sep 2008 01:54:17 -0400 Original-Received: from [199.232.76.173] (port=38455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KekYp-00048m-Gf for help-gnu-emacs@gnu.org; Sun, 14 Sep 2008 01:54:15 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:42633) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KekYp-0004Jm-11 for help-gnu-emacs@gnu.org; Sun, 14 Sep 2008 01:54:15 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m8E5s9U6025032; Sat, 13 Sep 2008 23:54:09 -0600 Original-Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m8E5s9cI030712; Sat, 13 Sep 2008 23:54:09 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 13 Sep 2008 22:54:08 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckWLLSINil/vnOIQhGbRxTeynQObQAAZPsA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 In-Reply-To: X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:57554 Archived-At: > (setq str "(> 2 1)") > I want something like: (eval (string-to-symbol str)) (intern str)