From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: cl-byte-compile-compiler-macro Date: Tue, 28 Mar 2006 01:44:06 +0200 Message-ID: References: <1t3bh8soqw.fsf@fencepost.gnu.org> <2wacbf6xt1.fsf@fencepost.gnu.org> <87ek0olk4t.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1143509085 26706 80.91.229.2 (28 Mar 2006 01:24:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Mar 2006 01:24:45 +0000 (UTC) Cc: rgm@gnu.org, storm@cua.dk, Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 28 03:24:43 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 1FO2wk-0002ds-F5 for ged-emacs-devel@m.gmane.org; Tue, 28 Mar 2006 03:24:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FO2wj-0005Mi-UE for ged-emacs-devel@m.gmane.org; Mon, 27 Mar 2006 20:24:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FO1Ng-0007FI-Qt for emacs-devel@gnu.org; Mon, 27 Mar 2006 18:44:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FO1Nd-00079M-9N for emacs-devel@gnu.org; Mon, 27 Mar 2006 18:44:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FO1Nd-000792-3a for emacs-devel@gnu.org; Mon, 27 Mar 2006 18:44:13 -0500 Original-Received: from [195.135.220.2] (helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FO1PA-0002lh-HO; Mon, 27 Mar 2006 18:45:48 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3BB82EDE1; Tue, 28 Mar 2006 01:44:07 +0200 (CEST) Original-To: rms@gnu.org X-Yow: BEEP-BEEP!! I'm a '49 STUDEBAKER!! In-Reply-To: (Richard Stallman's message of "Mon, 27 Mar 2006 17:29:39 -0500") User-Agent: Gnus/5.110003 (No Gnus v0.3) 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:52138 Archived-At: Richard Stallman writes: > AFAIK the symbol is a used as a symbol property. It tells the byte= -compiler > that a function call to the function bound to the corresponding sym= bol can > be optimized in some cases and that the way to optimize it to to pa= ss it to > the cl-byte-compile-compiler-macro property value (it's a so-called > "compiler macro"). > > Right. So compiling a call to that macro will crash unless cl is > loaded. You need to load cl anyway when byte compiling a call to defstruct, and then cl-macs (which defines byte-compile-compiler-macro) is autoloaded. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."