From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: eval trouble Date: Mon, 25 Aug 2008 21:50:09 +0200 Organization: Organization?!? Message-ID: <85k5e43mdq.fsf@lola.goethe.zz> References: <48B2E455.4060600@gmail.com> <87ej4dt2g8.fsf@hubble.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219696926 15744 80.91.229.12 (25 Aug 2008 20:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 20:42:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 22:43:00 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 1KXitl-00070U-Ck for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 22:42:49 +0200 Original-Received: from localhost ([127.0.0.1]:50332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXisn-0000ey-DF for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2008 16:41:49 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.straub-nv.de!noris.net!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:bfUa9FDzUqhqrdqwPlcspOcwaLo= Original-Lines: 23 Original-NNTP-Posting-Date: 25 Aug 2008 21:50:09 CEST Original-NNTP-Posting-Host: b6b4a2a5.newsspool4.arcor-online.net Original-X-Trace: DXC=074hg\aPTNA=8m7nZkdN^@4IUK\BH3YB8\bgOS]^Z6ACV`H8_`hhQD^9QSCVg3dOFOIC5DBZVJ9K99]fSMeYDoGfV_X=\h_\3B Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: news.stanford.edu gnu.emacs.help:161631 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:56974 Archived-At: "Lennart Borgman (gmail)" writes: > Pascal J. Bourguignon wrote: >> "Lennart Borgman (gmail)" writes: >>>> Here is the code that does NOT work: >>>> >>>> (defun mumamo-define-no-mode (mode-sym) >>>> (let ((mumamo-repl4 (make-symbol (format "mumamo-repl4-%s" mode-sym))) >>> It works if I replace make-symbol with intern. But why does eval care >>> about that? >> >> eval doesn't care, but how would you be able to refer again to the >> defined thing if you don't have its name in some dictionary? > > > Thanks. I see. I thought eval interned the symbol, or perhaps rather > created an interned symbol. In this case it does not do that. Eval _does_ create an interned symbol. But it is not EQ to the unique uninterned symbol that make-symbol creates. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum