From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: Another bug with the macro counter Date: Sat, 30 Oct 2004 12:12:57 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org 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 1099152802 32066 80.91.229.6 (30 Oct 2004 16:13:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2004 16:13:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 30 18:13:09 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 1CNvqn-0002mk-00 for ; Sat, 30 Oct 2004 18:13:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNvyh-0003RP-D7 for ged-emacs-devel@m.gmane.org; Sat, 30 Oct 2004 12:21:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNvya-0003R5-KU for emacs-devel@gnu.org; Sat, 30 Oct 2004 12:21:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNvyZ-0003QP-H9 for emacs-devel@gnu.org; Sat, 30 Oct 2004 12:21:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNvyZ-0003QF-Ef for emacs-devel@gnu.org; Sat, 30 Oct 2004 12:21:11 -0400 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CNvqd-0004pK-Sz for emacs-devel@gnu.org; Sat, 30 Oct 2004 12:13:00 -0400 Original-Received: from empanada.home ([67.71.25.5]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041030161259.ZMNW1960.simmts7-srv.bellnexxia.net@empanada.home>; Sat, 30 Oct 2004 12:12:59 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id D397F34BC07; Sat, 30 Oct 2004 12:12:58 -0400 (EDT) Original-To: Luc Teirlinck In-Reply-To: <200410301419.i9UEJr002854@raven.dms.auburn.edu> (Luc Teirlinck's message of "Sat, 30 Oct 2004 09:19:53 -0500 (CDT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29176 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29176 > + ;; Quiet the compiler. > + (defvar edebug-active) > + I'm not sure this is right. I think such defvars should only be put when we know from circumstancial evidence (that the byte-compiler does not have access to) that the variable will be available. If we need to check with `boundp', I find it's better not to put a `defvar' (and to rely on the (if (boundp 'foo) foo) form recognized by the byte-compiler). Stefan