From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: defvars at compile time Date: Fri, 16 Sep 2005 13:18:36 +0200 Message-ID: <858xxxuupf.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126878005 19735 80.91.229.2 (16 Sep 2005 13:40:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2005 13:40:05 +0000 (UTC) Cc: Carsten Dominik , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 16 15:40:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGGQ4-0006Rl-DB for ged-emacs-devel@m.gmane.org; Fri, 16 Sep 2005 15:38:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGGQ0-0006l4-28 for ged-emacs-devel@m.gmane.org; Fri, 16 Sep 2005 09:38:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGG4Z-0006Ve-Gi for emacs-devel@gnu.org; Fri, 16 Sep 2005 09:16:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGG4Y-0006Uq-J3 for emacs-devel@gnu.org; Fri, 16 Sep 2005 09:16:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGG4X-0006UQ-QI for emacs-devel@gnu.org; Fri, 16 Sep 2005 09:16:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGG3X-0002pL-Ka for emacs-devel@gnu.org; Fri, 16 Sep 2005 09:15:07 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1EGG3T-0005Pj-Iz; Fri, 16 Sep 2005 09:15:03 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 71CC31C460AD; Fri, 16 Sep 2005 13:18:36 +0200 (CEST) Original-To: lekktu@gmail.com In-Reply-To: (Juanma Barranquero's message of "Fri, 16 Sep 2005 12:48:35 +0200") 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:42991 Archived-At: Juanma Barranquero writes: > (A little comment regarding recent changes by Carsten Dominik to the > reftex*.el files.) > > I've seen that, as part of your changes, you've moved some defvar's > I added, wrapping them inside `eval-when-compile'. I much *prefer* > that, I dislike them at top level when they're not really defining a > variable, just silencing the byte-compiler. That's what I'd do on my > own modules. Actually, I get "might be undefined at run time" in some similar eval-when-compile wrapped situations. And having different semantics during compilation and execution also is not a good idea. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum