From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.w3m Subject: labels usage Date: Tue, 12 Jun 2012 15:53:55 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1339484066 27944 80.91.229.3 (12 Jun 2012 06:54:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2012 06:54:26 +0000 (UTC) Cc: emacs-w3m@namazu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 12 08:54:25 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 1SeKzf-0001DB-5S for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2012 08:54:23 +0200 Original-Received: from localhost ([::1]:37790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeKzf-0005mk-1A for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2012 02:54:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeKzX-0005mQ-KK for emacs-devel@gnu.org; Tue, 12 Jun 2012 02:54:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeKzW-0002GA-3s for emacs-devel@gnu.org; Tue, 12 Jun 2012 02:54:15 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]:38454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeKzV-0002ED-W1 for emacs-devel@gnu.org; Tue, 12 Jun 2012 02:54:14 -0400 Original-Received: from localhost ([127.0.0.1]:42806) by orlando.hostforweb.net with smtp (Exim 4.77) (envelope-from ) id 1SeKzP-0007nW-G6; Tue, 12 Jun 2012 01:54:07 -0500 User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.1.50 (i686-pc-cygwin) Cancel-Lock: sha1:OfNVMjTCOU0XkC6tt3J5ilpyxNU= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 216.246.45.90 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:150897 gmane.emacs.w3m:8840 Archived-At: Hi, Is this a wrong usage? (let (fn) (labels ((fx (arg) arg)) (setq fn 'fx)) (funcall fn 99)) It worked until cl changed. Now this labels form is expanded into: (progn (defvar --cl---cl-fx----) (let ((--cl---cl-fx---- nil)) (progn (set '--cl---cl-fx---- #'(lambda (arg) arg)) (setq fn 'fx)))) Whereas it was: (let ((--cl---cl-var--86211-- nil)) (progn (set '--cl---cl-var--86211-- #'(lambda (arg) arg)) (setq fn (symbol-value '--cl---cl-var--86211--)))) Did we get to have no way to access the function definition, that a labels form generates, in the outside of the labels form? (If so, we have a solution; we have to simply replace labels with let in such a Lisp code, i.e., emacs-w3m.)