From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.devel Subject: Re: defvar'ing constants Date: Fri, 24 Jun 2005 23:14:10 -0500 Message-ID: <87slz7844t.fsf@vh213602.truman.edu> References: Reply-To: belanger@truman.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119673645 28387 80.91.229.2 (25 Jun 2005 04:27:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2005 04:27:25 +0000 (UTC) Cc: Juanma Barranquero , belanger@truman.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 25 06:26:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dm2FB-00057h-Vj for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 06:26:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dm2MM-0008AJ-15 for ged-emacs-devel@m.gmane.org; Sat, 25 Jun 2005 00:33:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dm2M7-00087i-Bb for emacs-devel@gnu.org; Sat, 25 Jun 2005 00:33:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dm2Kx-0007eb-Ns for emacs-devel@gnu.org; Sat, 25 Jun 2005 00:32:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dm2Kt-0007cM-Ll for emacs-devel@gnu.org; Sat, 25 Jun 2005 00:32:07 -0400 Original-Received: from [150.243.160.94] (helo=uranium.truman.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dm27N-0000du-Fc; Sat, 25 Jun 2005 00:18:09 -0400 Original-Received: from uranium.truman.edu (uranium [127.0.0.1]) by localhost (Postfix) with SMTP id 4E5F74D41C4; Fri, 24 Jun 2005 23:16:11 -0500 (CDT) Original-Received: from gold.truman.edu (gold.truman.edu [150.243.160.250]) by uranium.truman.edu (Postfix) with ESMTP id 425894D4199; Fri, 24 Jun 2005 23:16:11 -0500 (CDT) Original-Received: from vh213602.truman.edu.truman.edu (unknown [150.243.226.19]) by gold.truman.edu (Postfix) with ESMTP id C378E6E4109; Fri, 24 Jun 2005 23:14:07 -0500 (CDT) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 24 Jun 2005 20:31:44 -0400") 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:39484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39484 "Richard M. Stallman" writes: > For consistency: > > (defvar CONSTANT) ; should work > (defvar CONSTANT ITS-VALUE) ; should work > (defvar CONSTANT OTHER-VALUE) ; should fail > > I think it is more consistent to make them all errors. > defvar should not be used on these symbols. If a constant is defined in one file but used in a second, is there then a way of quieting the compiler when the second file is compiled?