From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Another bug with the macro counter Date: Sun, 31 Oct 2004 04:42:29 -0500 Message-ID: References: <200410210107.i9L176B10842@raven.dms.auburn.edu> <200410300238.i9U2cOD02290@raven.dms.auburn.edu> <200410300327.i9U3RWW02355@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099215901 5093 80.91.229.6 (31 Oct 2004 09:45:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 09:45:01 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 31 10:44:56 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 1COCGe-0005rH-00 for ; Sun, 31 Oct 2004 10:44:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COCOa-0000RQ-Q7 for ged-emacs-devel@m.gmane.org; Sun, 31 Oct 2004 04:53:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1COCNf-0008UP-QH for emacs-devel@gnu.org; Sun, 31 Oct 2004 04:52:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1COCNa-0008To-Sn for emacs-devel@gnu.org; Sun, 31 Oct 2004 04:52:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COCNZ-0008TI-OP for emacs-devel@gnu.org; Sun, 31 Oct 2004 04:52:06 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1COCFI-0002rM-Oj for emacs-devel@gnu.org; Sun, 31 Oct 2004 04:43:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1COCEH-0002Oc-LR; Sun, 31 Oct 2004 04:42:29 -0500 Original-To: Stefan In-reply-to: (message from Stefan on Sat, 30 Oct 2004 00:06:11 -0400) 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:29217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29217 I believe replacing (and (boundp 'foo) foo) with (if (boundp 'foo) foo) is a better choice because it removes the warning wihtout cluttering the code and without introducing compatibility problems with older Emacsen. Why not extend that compiler feature to handle `and' as well as `if'? This construction is common enough.