From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: To `boundp' or not to `boundp'? Date: Wed, 02 Sep 2015 16:00:07 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441224092 31712 80.91.229.3 (2 Sep 2015 20:01:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 20:01:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 22:01:30 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXEDo-0007Zc-Rr for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 22:01:28 +0200 Original-Received: from localhost ([::1]:41096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXEDp-0001Qq-E6 for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 16:01:29 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="31198"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wHQo5TQLpv4YmD3/RxqYb" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:jhjEbr/PMCoGVvbvw7td0X5BjDQ= Original-Xref: usenet.stanford.edu gnu.emacs.help:214706 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106990 Archived-At: In article , Michael Heerdegen wrote: > Alexander Shukaev writes: > > > I also see > > > > > Note that if `lexical-binding' is in effect, this refers to the > > > global value outside of any lexical scope. > > > > in the documentation of `boundp'. Isn't it a big difference? > > That's a difference. But testing lexical variables for whether they are > bound is a rare use case (is it one at all?). I mean, when you are > interested in the binding of a variable that might not be bound > (defined), that variable will typically be special, or not bound at all, > i.e., not lexically bound in any case. In Common Lisp it's not even possible for a lexically-bound variable to be unbound. I'm not sure whether Emacs Lisp has a way to do it or not. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***