From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#18059: 24.3.92; defvar and special variables Date: Sun, 11 Feb 2018 12:00:57 -0500 Message-ID: <87vaf3a2ba.fsf@users.sourceforge.net> References: <87ha2c7lxy.fsf@web.de> <87mv0gbq33.fsf@users.sourceforge.net> <87y3k0bdm9.fsf@web.de> <87inb4bbse.fsf@users.sourceforge.net> <873727bkud.fsf@users.sourceforge.net> <87eflrscpy.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518368494 11511 195.159.176.226 (11 Feb 2018 17:01:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 17:01:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 18059@debbugs.gnu.org, Stefan Monnier To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 18:01:29 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekv0C-0002CC-S0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 18:01:20 +0100 Original-Received: from localhost ([::1]:60072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekv2E-000078-IA for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 12:03:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekv0v-0007cU-VZ for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekv0s-0000R2-Pg for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:02:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58873) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekv0s-0000Qo-KR for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekv0s-0003pz-Al for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 12:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2018 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18059-submit@debbugs.gnu.org id=B18059.151836846614685 (code B ref 18059); Sun, 11 Feb 2018 17:02:02 +0000 Original-Received: (at 18059) by debbugs.gnu.org; 11 Feb 2018 17:01:06 +0000 Original-Received: from localhost ([127.0.0.1]:38537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekuzy-0003on-1s for submit@debbugs.gnu.org; Sun, 11 Feb 2018 12:01:06 -0500 Original-Received: from mail-it0-f49.google.com ([209.85.214.49]:40725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekuzw-0003oC-T7 for 18059@debbugs.gnu.org; Sun, 11 Feb 2018 12:01:05 -0500 Original-Received: by mail-it0-f49.google.com with SMTP id 196so3887159iti.5 for <18059@debbugs.gnu.org>; Sun, 11 Feb 2018 09:01:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=3QKkjBZOf/23yNCJgHPYHvi+piVOb5MPP1Svz4Vojyg=; b=Xjx4+zhfmAD5ug7v/nNzFABUfizGakfqR1K3INyOcYTtF/2ElQJlrv5azGpu/RsvZg cpik4z485tM64nGmJBpQIQ0mKrin+nZlcm/GbYTLVPvh9WdcmxPAjP2OFCaScqTLYr9z kj+ZgTrfpjtX7HrQ3v2sL5eqkdDx6pXGXzfcZBE8a/vL1Wqy0QmO0aF11Pp8ZjA/9jwD JXXwJs7ZLGcgPs44fZK/1cLo99wfMQciZIRsqOJRjXXv49smK/5lRauNQ4XYi7tKEdyN nFH1OsGjjIZ3Pz7bzfo82Uj9iZdJD9LVxNH2Efq+yc3c2fTgnoFZEMsxzXk8Bl3wXige f0Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=3QKkjBZOf/23yNCJgHPYHvi+piVOb5MPP1Svz4Vojyg=; b=mvWH0yXGiQPBnyFQ92et+cSQRFQf+WxsymFRHNDwXDZvZbfo+GoTsigbCrEeDYAamH 9Zav/ApxkmJeyXCib3S7dxlhj4PVSyJ1x3uLnImVSqDHqE5ZuJi5lSeCSOS9k2Yow7xh kcO+BYyNpC8n5kSqrEMVidBXGw1PrroSkndi5AwS2nlj4wI0LiEMXr1GZfAGKli/bP2p Xrh/LTLbxfmxXkLVNoPTK+2vzfvQNF3rdEUoyZs5s2K+5r/Ws9zkqGaDQOe7Dcxd0j8X lLVo1SmOACifWsneALPRPE2av2XCJG6vORqk4fJGSVuMbDqG2SDUGcdwDtD1Zf1eIlSw QNWg== X-Gm-Message-State: APf1xPCrK7x/sw/+//4JA8rwsdQ1Rr1n8ZYq/o+UQAGaKZSbRTUGuPBp GWd0DdPFhT69RAgQl9cnQaY= X-Google-Smtp-Source: AH8x224VkFzXBucH6VjGAEMUS9ve4ADV+yUUPtA2W39PMFx68RWaE6PDklC3pw8GRwJb7uQyzcH9ag== X-Received: by 10.36.73.217 with SMTP id e86mr2390533itd.51.1518368459345; Sun, 11 Feb 2018 09:00:59 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id n95sm12677305ioo.12.2018.02.11.09.00.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 09:00:58 -0800 (PST) In-Reply-To: <87eflrscpy.fsf@web.de> (Michael Heerdegen's message of "Sun, 11 Feb 2018 17:38:49 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:143151 Archived-At: Michael Heerdegen writes: >> (lambda () >> (defvar x)) > That defvar doesn't get evaluated, or do I miss something? Oops, you are absolutely correct. After putting a funcall around that, I see the same behaviour with lambda and let (i.e., both only scope the defvar if there is at least one variable bound), both interpreted and compiled.