From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Another bug with the macro counter Date: Sun, 31 Oct 2004 08:43:48 +0100 Message-ID: References: <200410210107.i9L176B10842@raven.dms.auburn.edu> <200410300238.i9U2cOD02290@raven.dms.auburn.edu> <200410300327.i9U3RWW02355@raven.dms.auburn.edu> <200410301419.i9UEJr002854@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099208652 25501 80.91.229.6 (31 Oct 2004 07:44:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 07:44:12 +0000 (UTC) Cc: Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 08:44:06 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COANi-0002L1-00 for ; Sun, 31 Oct 2004 08:44:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COAVe-0007C7-9M for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2004 02:52:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COAVS-0007By-4P for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:52:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COAVQ-0007Bf-QE for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:52:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COAVQ-0007BV-4D for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:52:04 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COANQ-0002R5-JY for emacs-devel@gnu.org; Sun, 31 Oct 2004 02:43:48 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1COAMP-0006nM-VH; Sun, 31 Oct 2004 02:42:46 -0500 Original-To: Stefan In-Reply-To: (Stefan's message of "Sat, 30 Oct 2004 20:09:07 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.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: main.gmane.org gmane.emacs.devel:29211 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29211 Stefan writes: >> Quieting the byte compiler can probably also be achieved with >> (eval-when-compile (defvar edebug-active)) > > Hopefully such ugly hack doesn't work. > (defvar foo) only has an effect when seen by the byte-compiler, so putting > it in a `eval-when-compile' is at best pointless. Last time I looked, defvar had an effect at run time, namely binding the variable to NIL if yet unbound. And that means that if a package _defining_ foo gets loaded, the initial definition of foo will be nil instead of the intended initial value. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum