From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: smerge fix Date: 29 Aug 2002 23:52:27 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208240232.g7O2WoY11599@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030661602 4424 127.0.0.1 (29 Aug 2002 22:53:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2002 22:53:22 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17kYAB-00018y-00 for ; Fri, 30 Aug 2002 00:53:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17kYgf-0001aI-00 for ; Fri, 30 Aug 2002 01:26:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kYBY-0006yG-00; Thu, 29 Aug 2002 18:54:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17kY9Q-0006lV-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 18:52:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17kY9O-0006jX-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 18:52:31 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kY9M-0006hl-00; Thu, 29 Aug 2002 18:52:28 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 17kY9L-0001eq-00; Thu, 29 Aug 2002 23:52:27 +0100 Original-To: rms@gnu.org Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7132 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7132 Richard Stallman writes: > Using defvar inside eval-when-compile is rather a nuisance. > Whatever we recommend for preventing warnings about unknown > variables, it should be more convenient than that. [I don't see why it's more inconvenient than using it around `require', and code that has to be portable to older versions and XEmacs will need to carry on doing that.] > What we actually recommend for the purpose is a plain defvar. The example in (elisp)Tips uses eval-when-compile, and the text was meant to caution explicitly to use it. > The easiest thing to do is to say that simple (defvar foo) > does not count as a definition. When this came up before, you said that should not be done. I think you said that construct was intentionally used to declare variables per se.