From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62648 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: use of (defvar ) Date: Tue, 11 Apr 2006 19:31:46 +0200 Message-ID: <85bqv881dp.fsf@lola.goethe.zz> References: <87lkuhdsyb.fsf-monnier+emacs@gnu.org> <87bqvas2ls.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144776751 28270 80.91.229.2 (11 Apr 2006 17:32:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 17:32:31 +0000 (UTC) Cc: Stefan Monnier , ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 19:32:29 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTMiv-0007pQ-U0 for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 19:32:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTMiv-0002ar-A6 for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 13:32:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTMiU-0002QF-87 for emacs-devel@gnu.org; Tue, 11 Apr 2006 13:31:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTMiT-0002Pm-Pj for emacs-devel@gnu.org; Tue, 11 Apr 2006 13:31:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTMiT-0002Pj-CS for emacs-devel@gnu.org; Tue, 11 Apr 2006 13:31:49 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FTMnN-0008BL-S0 for emacs-devel@gnu.org; Tue, 11 Apr 2006 13:36:53 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FTMiR-0002AV-Pi; Tue, 11 Apr 2006 13:31:48 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 318781C3DB49; Tue, 11 Apr 2006 19:31:46 +0200 (CEST) Original-To: Dave Love In-Reply-To: (Dave Love's message of "Tue, 11 Apr 2006 18:06:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52702 gmane.emacs.gnus.general:62648 Archived-At: Dave Love writes: > If the effect of the defvar on load-history has been redefined as a > bug, the eval-when-compile wrapper does avoid a bug, and I don't see > how it could reasonably be harmful in a future Emacs. defvar is the main way to inform the system a variable could be bound dynamically instead of just lexically. Having it omitted on runtime could lead to hard to find bugs if we change to lexical binding at one time. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum