From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.devel Subject: Re: problems with flet on last emacs Date: Wed, 27 Jun 2012 18:29:27 +0200 Organization: Informatimago Message-ID: <871ul0pvko.fsf@kuiper.lan.informatimago.com> References: <87pq8lnd7v.fsf@gmail.com> <87ehp099bb.fsf@thinkpad.tsdh.de> <87sjdgq0ig.fsf@kuiper.lan.informatimago.com> <87y5n87nr2.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340814609 7202 80.91.229.3 (27 Jun 2012 16:30:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 16:30:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 18:30:07 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sjv83-0004od-7x for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 18:30:07 +0200 Original-Received: from localhost ([::1]:49906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv83-0005YN-3j for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 12:30:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv7v-0005V0-K6 for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sjv7n-0003TB-Ev for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:29:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv7n-0003Sg-7h for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:29:51 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sjv7c-0004CI-Mf for emacs-devel@gnu.org; Wed, 27 Jun 2012 18:29:40 +0200 Original-Received: from 81.202.16.46.dyn.user.ono.com ([81.202.16.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jun 2012 18:29:40 +0200 Original-Received: from pjb by 81.202.16.46.dyn.user.ono.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jun 2012 18:29:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 81.202.16.46.dyn.user.ono.com Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:YzVlYzcxMTNjYzkxM2RlNzcyNjNhNWM5MjgyZjI4YjZiZWRmNDFlNQ== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151225 Archived-At: Tassilo Horn writes: > "Pascal J. Bourguignon" writes: > >>> Two times `x', and those should probably gensyms, anyway... >> >> They probably are. >> >> Try: >> >> (eq 'x (first (first (second (macroexpand '(flet ((foo () 1)) >> (foo))))))) >> and try: >> >> (let ((expansion (macroexpand '(flet ((foo () 1)) (foo))))) >> (eq (first (first (second expansion))) >> (first (second (second expansion))))) > > Ok, both are nil, so x and x are different symbols. cl uses macroexp's > macro expansion macros at various places, and `macroexp-let2' uses > (make-symbol "x") to create new symbols. That's not making it easier to > understand... That'd be a "bug" in the emacs lisp printer. Symbols that are not interned in any package should be printed with the #: prefix. eg. in emacs-version "23.4.2", (make-symbol "x") --> #:x -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.