From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicholas Sandow Newsgroups: gmane.emacs.help Subject: Re: convert strings to symbol Date: Mon, 16 Jun 2008 23:17:13 +1000 Message-ID: <1746AC69-4665-4031-A27C-D35EC91A9AE2@internode.on.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213629569 11354 80.91.229.12 (16 Jun 2008 15:19:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 15:19:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: alruccaba@justmail.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 17:20:12 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 1K8GUo-0004G5-6T for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 17:19:50 +0200 Original-Received: from localhost ([127.0.0.1]:34377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8GTz-0005Ie-Ph for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 11:18:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8Eg3-0001oG-F6 for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 09:23:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8Eg1-0001nf-Jg for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 09:23:19 -0400 Original-Received: from [199.232.76.173] (port=32901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8Eg1-0001nc-Go for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 09:23:17 -0400 Original-Received: from bld-mail11.adl2.internode.on.net ([203.16.214.75]:49840 helo=mail.internode.on.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8Efz-00053R-DM for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 09:23:16 -0400 Original-Received: from [192.168.4.103] (unverified [59.167.130.79]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 20833928-1927428 for multiple; Mon, 16 Jun 2008 22:53:04 +0930 (CST) In-Reply-To: X-Priority: 3 X-Mailer: Apple Mail (2.753.1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 16 Jun 2008 11:17:55 -0400 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:54889 Archived-At: On 16/06/2008, at 11:03 PM, alruccaba@justmail.de wrote: > Does someone have an idea how to convert a string object to a symbol? > One purpose would be some kind of variable substitution : > > (setq y "z") > (setq x "y") > (print ..? x ....) -> "z" > > Thanks in advance. Have you looked at (intern "foo") or (make-symbol "foo") ? Do they do what you want? > > > > Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E- > MailDomain inkl. > http://office.freenet.de/dienste/emailoffice/produktuebersicht/ > power/mail/index.html > > >