From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62267 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: defvars at compile time Date: Wed, 15 Mar 2006 08:49:41 -0800 Organization: Newt Software Message-ID: <29323.1142441381@olgas.newt.com> References: <20403.1141690692@olgas.newt.com> <3861.1142268982@olgas.newt.com> <22907.1142318606@olgas.newt.com> <3669.1142364565@olgas.newt.com> <7035.1142372131@olgas.newt.com> <28215.1142437339@olgas.newt.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142441438 32454 80.91.229.2 (15 Mar 2006 16:50:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2006 16:50:38 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m10794@lists.math.uh.edu Wed Mar 15 17:50:34 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJZCH-0007aq-6q for ding-account@gmane.org; Wed, 15 Mar 2006 17:50:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FJZCB-0002VZ-00; Wed, 15 Mar 2006 10:49:59 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FJZBy-0002VU-00 for ding@lists.math.uh.edu; Wed, 15 Mar 2006 10:49:46 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FJZBw-0002hu-3Y for ding@lists.math.uh.edu; Wed, 15 Mar 2006 10:49:46 -0600 Original-Received: from pop-cowbird.atl.sa.earthlink.net ([207.69.195.68]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FJZBv-0008Ui-00 for ; Wed, 15 Mar 2006 17:49:43 +0100 Original-Received: from h-68-165-5-58.snvacaid.dynamic.covad.net ([68.165.5.58] helo=olgas.newt.com) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FJZBu-0006Uo-00; Wed, 15 Mar 2006 11:49:42 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id E9CE41707E; Wed, 15 Mar 2006 08:49:41 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id E660316FA8; Wed, 15 Mar 2006 08:49:41 -0800 (PST) Original-To: mh-e-devel@lists.sourceforge.net In-reply-to: Comments: In-reply-to Reiner Steib message dated "Wed, 15 Mar 2006 17:40:14 +0100." X-Mailer: MH-E 7.93+cvs; nmh 1.1; GNU Emacs 22.0.50.14 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62267 gmane.mail.mh-e.devel:11991 Archived-At: Reiner Steib wrote: > On Wed, Mar 15 2006, Bill Wohler wrote: > > > Reiner Steib wrote: > >> On Tue, Mar 14 2006, Bill Wohler wrote: > [...] > >> > (eval-when-compile (defvar image-load-path)) > >> > >> Yes. IIRC `eval-when-compile' isn't necessary: > > > > Thanks. > > > > Not necessary, but better no? Since it's only needed during compilation, > > doesn't putting it in an eval-when-compile produce one less form to > > evaluate during run-time? I also find it self-documenting. > > ,----[ http://article.gmane.org/gmane.emacs.devel/42998 ] > | From: Stefan Monnier > | Subject: Re: defvars at compile time > | > | [...] > | > | The form (defvar foo) was specifically designed as a byte-compiler > | directive, so please make use of it. > `---- > > ,----[ http://article.gmane.org/gmane.emacs.devel/43027 ] > | From: Richard M. Stallman > | Subject: Re: defvars at compile time > | > | The only effect of a defvar with no initial value > | is to silence the compiler. So it is superfluous > | to put it inside eval-when-compile. > `---- > > We should shift this to emacs-devel if more discussion is necessary > (Mail-Followup-To: emacs-devel). None necessary ;-). I had missed that discussion. Vielen dank for forwarding it! -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.