From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.devel Subject: eval-when-compile vs defconst Date: Sat, 11 Nov 2006 12:03:05 -0500 Message-ID: <17750.585.974659.705629@rgrjr.dyndns.org> References: <17750.474.277857.851065@rgrjr.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163264853 20167 80.91.229.2 (11 Nov 2006 17:07:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2006 17:07:33 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 11 18:07:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GiwKG-0002hZ-56 for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2006 18:07:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiwKF-0007fO-I4 for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2006 12:07:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiwG5-0004ao-BK for emacs-devel@gnu.org; Sat, 11 Nov 2006 12:03:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiwG4-0004a4-AU for emacs-devel@gnu.org; Sat, 11 Nov 2006 12:03:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiwG2-0004Zn-UP for emacs-devel@gnu.org; Sat, 11 Nov 2006 12:03:08 -0500 Original-Received: from [24.128.218.106] (helo=rgrjr.dyndns.org) by monty-python.gnu.org with smtp (Exim 4.52) id 1GiwG2-00028p-Ed for emacs-devel@gnu.org; Sat, 11 Nov 2006 12:03:06 -0500 Original-Received: (qmail 10365 invoked by uid 500); 11 Nov 2006 17:03:06 -0000 Original-To: Stephen Leake , emacs-devel In-Reply-To: <17750.474.277857.851065@rgrjr.dyndns.org> X-Mailer: VM 7.19 under Emacs 22.0.90.1 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:62077 Archived-At: From: Bob Rogers Date: Sat, 11 Nov 2006 12:01:14 -0500 From: Stephen Leake Date: Sat, 11 Nov 2006 09:39:32 -0500 I ran across this construct in ada-mode.el: (eval-when-compile (defconst ada-95-string-keywords '("abstract" "aliased" "protected" "requeue" "tagged" "until") "List of keywords new in Ada 95. Used to define `ada-*-keywords'.")) . . . It says "the _result_ of the body", i.e. after compile-time evaluation. Sorry; replied before thinking. I think you're right; defconst shouldn't need eval-when-compile. -- Bob