From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62561 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: use of (defvar ) Date: Thu, 06 Apr 2006 21:58:16 +0200 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144353585 31760 80.91.229.2 (6 Apr 2006 19:59:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Apr 2006 19:59:45 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m11088@lists.math.uh.edu Thu Apr 06 21:59:43 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 1FRado-0002iw-Kl for ding-account@gmane.org; Thu, 06 Apr 2006 21:59:41 +0200 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 1FRade-0001Rv-00; Thu, 06 Apr 2006 14:59:30 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FRace-0001Rn-00 for ding@lists.math.uh.edu; Thu, 06 Apr 2006 14:58:28 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FRacb-00032E-4M for ding@lists.math.uh.edu; Thu, 06 Apr 2006 14:58:28 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FRacW-0003Lp-00 for ; Thu, 06 Apr 2006 21:58:20 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.6/8.13.6) with ESMTP id k36JwG37012778; Thu, 6 Apr 2006 21:58:16 +0200 (MEST) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 46F7A11668; Thu, 6 Apr 2006 21:58:16 +0200 (CEST) Original-To: Dave Love Mail-Followup-To: Dave Love , ding@gnus.org X-Face: #vK]N[`vqjuod*|)'[iD7/"3AB-ApT%fmN"LWAg@oS7OesGv~)n[OBTLM#I="J'Y^-7I I/ps7o_'IK@#-Rs{::DZ@O8yS|fexe,XslY[:dNWOb~>?mC-&i_c)say:"\IpA.5U.b]'NY;Pks{lb h.+#6%DpZuaK3dcHB`Av3zc:r!C%~s0&m,tWj]&},qg.+0ww2gK%f!:GK|wMl.I!(voY*1"^li8"~B BNG)9LvPi?^DMR-GVDnZqhu*3Hi,+g=wFhI)BL6&u{EOVEHjVEVq~d?_}lMntWAc3(6?kftjc>_f>! g0wM(qPM$d5]^TT_Qyi&L?LGVG)SHN;Gk/,pkY9,~ In-Reply-To: (Dave Love's message of "Thu, 06 Apr 2006 20:24:01 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-MessageCare-Metrics: gemini 1108; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62561 Archived-At: On Thu, Apr 06 2006, Dave Love wrote: > Gnus has lots of instances of `(defvar )' that aren't protected > by `eval-when-compile' and should be. I learned on emacs-devel that we don't need `eval-when-compile' in this case (unless I'm misunderstanding what you are referring to): ,----[ 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 had this discussion about it recently: http://thread.gmane.org/gmane.emacs.devel/51304/focus=11990 Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/