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: Sat, 10 Feb 2018 16:17:33 -0800 (PST) Message-ID: <22c4a80b-ae72-4c6b-b12e-0104bdea3e00@default> References: <87ha2c7lxy.fsf@web.de> <87mv0gbq33.fsf@users.sourceforge.net> <87y3k0bdm9.fsf@web.de> 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 1518308483 11758 195.159.176.226 (11 Feb 2018 00:21:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 00:21:23 +0000 (UTC) Cc: 18059@debbugs.gnu.org To: Michael Heerdegen , Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 01:21:18 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 1ekfOI-0002Hp-BQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 01:21:10 +0100 Original-Received: from localhost ([::1]:53095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekfQJ-0004bz-Qa for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 19:23:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekfQB-0004b6-40 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 19:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekfQ6-0007bg-0c for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 19:23:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57752) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekfQ5-0007bE-RE for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 19:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekfQ5-0001tU-JD for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 19:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2018 00:23:01 +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.15183085717261 (code B ref 18059); Sun, 11 Feb 2018 00:23:01 +0000 Original-Received: (at 18059) by debbugs.gnu.org; 11 Feb 2018 00:22:51 +0000 Original-Received: from localhost ([127.0.0.1]:37416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekfPu-0001t3-WE for submit@debbugs.gnu.org; Sat, 10 Feb 2018 19:22:51 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:41056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekfPs-0001sp-PQ for 18059@debbugs.gnu.org; Sat, 10 Feb 2018 19:22:49 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1B0M7pJ025002; Sun, 11 Feb 2018 00:22:40 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=Kd3z3a6J7pTbNYXI2NcHu641e9qY52ZBTjnP79L58x4=; b=lsQAKBQyY4hVLIxweNBlRolaM7r9yVzUIuxli8jcY9/+kFiaR4g0YfiT9C/4ycTO12DF 567/JRopIO4vJuJSP2SfbVyOxHRxhApdh+BWIrIv1lBJOftHjr3kyy4cxGujYbmVPo/l PaO/DQJ2erKTW59Rq+jaYIHdGgAa++SnHMx9owCNKD3RMUvaY2/9ecH0J3ynwBh1t39R BRlr44NMEYnmyz2WkNSrOLOWkKXsY9Grx+kNDOupJ2hyxvyLOTsXZ75dotenSZQuXc82 npX20d8hMA5wJ3oDqyMsVTHwrJ+aTk1FiVAh8Q1u4y4Gl8d1xzhqVWl2/ZGD4uHpVIl3 VA== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2g29ycr3x3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Feb 2018 00:22:40 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1B0HZkC005559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 11 Feb 2018 00:17:36 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1B0HZnU028151; Sun, 11 Feb 2018 00:17:35 GMT In-Reply-To: <87y3k0bdm9.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4639.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8801 signatures=668668 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=405 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802110003 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:143119 Archived-At: > > +Note that specifying a value, even @code{nil}, marks the variable as > > +special permanently. Whereas if @var{value} is omitted then the > > +variable is only marked special locally (i.e. within the current file > > +or let-block). This can be useful for suppressing byte compilation > > +warnings, see @ref{Compiler Errors}. >=20 > After reading this and thinking about it, I'm confused now what the > extent of `defvar' without a specified value is. >=20 > In the case of a file, does it mean that the variable is considered > special for the rest of the file, or for the whole file? Apologies for not following this. Question: is some change in behavior being discussed here or is it just a question about improving documentation of the longstanding behavior?