From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Can't M-x compile-defun `edebug' because dynamic variables are falsely taken as lexical. Date: Thu, 13 Feb 2020 17:11:25 -0500 Message-ID: References: <20170103141444.GA4649@acm.fritz.box> <20170103213228.GB2085@acm.fritz.box> <20170104133948.GA7373@acm.fritz.box> <20170104200458.GA2052@acm.fritz.box> <29855ded-8607-4132-a80f-3204c06d74d9@default> <256f068f-5a0a-4127-aa7c-633eae24f15f@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 13 23:26:14 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j2Mw0-000V7x-6Z for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Feb 2020 23:26:12 +0100 Original-Received: from localhost ([::1]:59868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Mvz-0005Yp-95 for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Feb 2020 17:26:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54852) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Mhs-0000GH-2f for emacs-devel@gnu.org; Thu, 13 Feb 2020 17:11:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2Mhq-0002tT-0O for emacs-devel@gnu.org; Thu, 13 Feb 2020 17:11:35 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:45776) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2Mhp-0002mP-LM for emacs-devel@gnu.org; Thu, 13 Feb 2020 17:11:33 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E086E10025B; Thu, 13 Feb 2020 17:11:29 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E8C2C1006D1; Thu, 13 Feb 2020 17:11:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1581631887; bh=cDBE3IuNcmUPUciuFyzaEK2jGu1c/WmO2SuiOITAzN0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eAo8WH2kM3vk6msKEZRHzNeA30ucZFDzVIZi9oq47thwnd1hhn+WqVbwzh248lpM+ Ys4m6Gq7nmDg5n5VZ6Xet2GfVHtp3M+sjgSgOTqtHnR7J1pz6BOK9tRe4YDbZBpdEb 0KjerNyR4iLn7yfgMhbWC28Oxpdgf2ozUQIiuSAeD3o+I+H8vVyxhzX6cG7AABRYI1 0bhgAh7m+VSp9fyAOYys++ZVrwQYZagYs+7yaBbrv2mpTBVOnP+YdJKI89L+HsLq2Z xY8cFu9sN4w5tKbXssT4LmVm+VbqxZ8sL5ywQcj/LrUcsL1X/qdNcXbHlfBuFuRGul 9zGbgHV4w9R2w== Original-Received: from alfajor (unknown [157.52.14.222]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9E9821202FC; Thu, 13 Feb 2020 17:11:27 -0500 (EST) In-Reply-To: <256f068f-5a0a-4127-aa7c-633eae24f15f@default> (Drew Adams's message of "Thu, 13 Feb 2020 12:43:29 -0800 (PST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244926 Archived-At: > Sorry, but I really don't understand what is meant > by what you wrote. I also don't understand the > implication, "since this is a function". > ^^^^^ A function cannot access the lexical scope of its caller, so a function cannot know if variable FOO is special in the caller's scope. Stefan