From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: Question reg. docstring of symbol-value Date: Tue, 2 Nov 2021 15:59:58 -0500 Message-ID: <7dc3e4d9-9e99-649b-4f74-93cd4c3bcb23@dasyatidae.com> References: <8635oegu06.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Cc: emacs-devel@gnu.org To: arash@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 02 22:00:56 2021 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 1mi0tr-000192-2H for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 22:00:56 +0100 Original-Received: from localhost ([::1]:32950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mi0to-0007rK-UE for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 17:00:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mi0t6-00074b-UP for emacs-devel@gnu.org; Tue, 02 Nov 2021 17:00:09 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:39881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mi0t2-0000Y4-I9; Tue, 02 Nov 2021 17:00:06 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 42B8A3201E4D; Tue, 2 Nov 2021 17:00:00 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 02 Nov 2021 17:00:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=message-id:date:mime-version:subject:to:references:cc:from :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=d FtiM4pJB9yhDwuqGy0goH2VfOzUFjPydh0pRrZkPnU=; b=eDO1c5VlcA6TB3rbm c3UsHy/BiHM6yAun+CO7jHaWn3rTG8i/nisBIPk09SBfHFDZQttB3yPTzglcHTjT OJaiAwexP8J+DEzCWjUyxJ+0cJ5FH99m8VmaLHHn/ysP0MLATiDZKlVt9GKL5QXv Dpu/sujHZrvfXqriknRwKLyn1FxZfrcBeQ0wQ6zgztOBLAtleblJmaeD/lxkoTcR 3K/yWZko6bM+grVXI2pb6w+uZMZC9Ppjo7Fulzb3mhlvvOGHZji57xSnOZxBTXWJ mqoC3VpkohJ7DEK94xUi3UlWew5i7Kd6kX17JOFXSAJ3ID4/XFCwNEgoVmK2/8V/ wdh3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=dFtiM4pJB9yhDwuqGy0goH2VfOzUFjPydh0pRrZkP nU=; b=Rgr7SB0zBRKPi2qcG8ZqGdGHnZ8H9Koz6ccR2JHlxslx2z4TCmUlQnS0a yNHCy9DTFo7JIwtiFbUNbApuhNkAPyLwBHmyOK02SCm485fKzOnOu0UUUcaZVFeH AVgSF80iKs8DX4BNnzhAZhK63DPIhOoK5y0Je2ux60RIyhxmVz5tb/RERFDX7roZ 8xd1onikraR9z24fyEQpIJg6yC1Ozl7NsJJCIPbxBorfF5iloAE4BMexZWykZbCg yFFE5WkFuZ5x+JULc8F8iWiGeCHP3s8dMcs30CqB4RQH1aCfQQDJqGrzuWnv9TBO CA9Pkalan7nb4WxThzzklwSI066tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddtgdduudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtfeejnecuhfhrohhmpeftohgsihhnucfvrghrshhighgvrhcuoehrthhtsegurghs higrthhiuggrvgdrtghomheqnecuggftrfgrthhtvghrnhepfeehffeljeejvdduffevhf elgedtfeevtefhfefftdfgvedvheduvdevhedtkeetnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprhhtthesuggrshihrghtihgurggvrdgtoh hm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Nov 2021 16:59:59 -0400 (EDT) Content-Language: en-US-large In-Reply-To: <8635oegu06.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.21; envelope-from=rtt@dasyatidae.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.549, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:278540 Archived-At: Arash Esbati wrote: > Is the intention to say "..., this returns the global value outside of > any lexical scope for symbols not marked as special" or something like > that? Or am I missing something? From the documentation for defvar: > The ‘defvar’ form also declares the variable as "special", so that it > is always dynamically bound even if ‘lexical-binding’ is t. Basically, special variables don't get lexically bound in the first place, so the let doesn't introduce a lexical binding for that variable; it introduces a dynamic one, and dynamic bindings affect symbol-value. -RTT