From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11328: 24.1.50; Comment in `dired-copy-file-recursive' code Date: Thu, 26 Apr 2012 07:09:06 -0700 Message-ID: <0A995EE899D2417E8DDD481A153E96BF@us.oracle.com> References: <0CC212AF2EA740A0B8FE5EEF91077A2D@us.oracle.com><9DC04CC6E710430F90675022247AF8C1@us.oracle.com><6D7414BA5657418E9D2AB4D0AA0E71A3@us.oracle.com><87y5pk53ra.fsf@spindle.srvr.nix><87ty07hcv7.fsf@gmail.com> <87ipgngi26.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335449422 25140 80.91.229.3 (26 Apr 2012 14:10:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 14:10:22 +0000 (UTC) Cc: 11328@debbugs.gnu.org To: "'Thierry Volpiatto'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 16:10:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SNPOl-00073s-Bd for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 16:10:19 +0200 Original-Received: from localhost ([::1]:57096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNPOk-00071C-M2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 10:10:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNPOc-00070w-9k for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 10:10:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNPOV-0004SA-Pz for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 10:10:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNPOV-0004Re-MU for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 10:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SNPPR-0008Hm-UB for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Apr 2012 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11328 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11328-submit@debbugs.gnu.org id=B11328.133544942531802 (code B ref 11328); Thu, 26 Apr 2012 14:11:01 +0000 Original-Received: (at 11328) by debbugs.gnu.org; 26 Apr 2012 14:10:25 +0000 Original-Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNPOp-0008Gs-Hy for submit@debbugs.gnu.org; Thu, 26 Apr 2012 10:10:24 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:46910) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNPOm-0008Gf-Fg for 11328@debbugs.gnu.org; Thu, 26 Apr 2012 10:10:21 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3QE9Cbj015869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 26 Apr 2012 14:09:12 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3QE9Buh028205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Apr 2012 14:09:12 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3QE9Bw9022848; Thu, 26 Apr 2012 09:09:11 -0500 Original-Received: from dradamslap1 (/10.159.178.21) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 26 Apr 2012 07:09:11 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87ipgngi26.fsf@gmail.com> Thread-Index: Ac0jcCi2XaRUhSYHQsaOMcYglp6IjgAQ70mA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59518 Archived-At: > we can't say also they are really "free" (even if they > are sort of free) because they are (will be) all > let-bounded in some places. Look up the definition of free variable - see the lambda calculus. It is always about free _occurrences_ of a variable. Freedom of a variable (not a great word for it, admittedly) is relative to a given context. Whether a variable is bound in some outer lambda is not the question. What matters is whether it is free in some other (e.g. inner) lambda. X is a free variable in the inner lambda form here, though it is bound in the outer one, i.e., in the overall expression. (funcall (funcall (lambda (x) (lambda (y) (+ x y))) 42) ; Fn that increments by 42. 3) ; Applied to 3 gives 45. That is equivalent to this: (let ((x 42)) (funcall (lambda (y) (+ x y)) 3) (It's perhaps clearer if you remove all the `funcall' atoms. That will give you Lisp 1 syntax ~= lambda calculus syntax.)