From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18059: 24.3.92; defvar and special variables Date: Sun, 11 Mar 2018 15:16:35 -0700 (PDT) Message-ID: <37ac1e83-64a5-4427-b210-5f718e3affbc@default> References: <87ha2c7lxy.fsf@web.de> <873727bkud.fsf@users.sourceforge.net> <87efloa000.fsf@users.sourceforge.net> <87fu5y53w5.fsf@gmail.com> <87371xlpmw.fsf@web.de> <87a7w2m1cb.fsf@web.de> <874lm7u554.fsf@web.de> <878tb72zgl.fsf@gmail.com> <87vaeazw77.fsf@web.de> <87tvts11n8.fsf@gmail.com> <87muzhsh8a.fsf@web.de> <87h8pmzhl0.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1520817255 22394 195.159.176.226 (12 Mar 2018 01:14:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 01:14:15 +0000 (UTC) Cc: Michael Heerdegen , 18059@debbugs.gnu.org To: Noam Postavsky , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 12 02:14:10 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 1evC2Q-0005fV-4c for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Mar 2018 02:14:06 +0100 Original-Received: from localhost ([::1]:56203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evC4T-0005Bn-3b for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Mar 2018 21:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evC4M-0005BJ-2Q for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2018 21:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evC4I-0008Sr-T3 for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2018 21:16:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evC4I-0008Sh-PG for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2018 21:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evC4I-0006mS-Dd for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2018 21:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2018 01:16: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.152081731726005 (code B ref 18059); Mon, 12 Mar 2018 01:16:02 +0000 Original-Received: (at 18059) by debbugs.gnu.org; 12 Mar 2018 01:15:17 +0000 Original-Received: from localhost ([127.0.0.1]:55885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evC3Z-0006lN-IR for submit@debbugs.gnu.org; Sun, 11 Mar 2018 21:15:17 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:43604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evC3X-0006l9-Sw for 18059@debbugs.gnu.org; Sun, 11 Mar 2018 21:15:16 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2C1BbQS194828; Mon, 12 Mar 2018 01:15:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=DcnuNAxS9bZGK4TKKI5+RISv+KVBmn6vbIFY70XDjPE=; b=Q5F1r+WX2IsXwCqzaIhLHQ1ffHOB7Crq2VE74t3N4iHibu0tniXozKoDANqSs25J05do Vas4ixqyZ5Ili+a77hK5XjDrFZ6bZu2TXSM0iFUp1IFa3DJpq2uIBKImGSuURC1dRC5B aT3FK8AOth14e+//xvWjKjt2HNnTFLR8Hmxc13pzddxqz5cm8PjBt8Y77sVpiR0tjWp3 dJj2yYm0HY09X+1XhWRayWLsq/e/sOP/KbYXqcWGaftFeyQTlboI0/AAzi/tO1A20QHQ 31ytU4XtPr2N9IfDpNBiI31llfGE3jyCg1GYp+OvJaVywZ3F605OUEg0u5/jw7lwFNPZ jw== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2gnerwr2s1-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Mar 2018 01:15:09 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w2BMGcPv019615 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Mar 2018 22:16:38 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w2BMGahI003931; Sun, 11 Mar 2018 22:16:37 GMT In-Reply-To: <87h8pmzhl0.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4666.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8829 signatures=668690 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=561 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803120013 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:144142 Archived-At: > So does "end of the current lexical scope" make sense? I think I've > been looking at this for too long, it's hard for me to tell by now. >=20 > Likewise, you can tell the compiler that a variable is defined using > @code{defvar} with no initial value. (Note that this marks the > variable as special, i.e.@: dynamically bound, but only until the end > of the current lexical scope, or file if at top-level.) ... but only _within_ the current lexical scope, or within the current file if at top-level. Lexical scope is defined lexically. It can have two limits or "ends", but it's best to avoid speaking of beginning and end, as that can suggest temporal end. https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node43.html