From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: small elaboration in tips.texi Date: Tue, 11 Jul 2006 11:05:48 +1200 Message-ID: <17586.56652.573123.484002@kahikatea.snap.net.nz> References: <2cd46e7f0607100914x587b58e7g846755525844723c@mail.gmail.com> 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 1152572845 22480 80.91.229.2 (10 Jul 2006 23:07:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2006 23:07:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 11 01:07:23 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 1G04qT-0005ei-Ii for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2006 01:07:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G04qS-00020Y-S6 for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2006 19:07:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G04qK-00020T-0F for emacs-devel@gnu.org; Mon, 10 Jul 2006 19:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G04qI-00020H-BV for emacs-devel@gnu.org; Mon, 10 Jul 2006 19:07:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G04qI-00020E-8e for emacs-devel@gnu.org; Mon, 10 Jul 2006 19:07:06 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G04rT-0000FI-Ha for emacs-devel@gnu.org; Mon, 10 Jul 2006 19:08:19 -0400 Original-Received: from kahikatea.snap.net.nz (p202-124-112-188.snap.net.nz [202.124.112.188]) by viper.snap.net.nz (Postfix) with ESMTP id 8E72776FA6F; Tue, 11 Jul 2006 11:07:03 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 693991D3550; Tue, 11 Jul 2006 11:05:49 +1200 (NZST) Original-To: "Ken Manheimer" In-Reply-To: <2cd46e7f0607100914x587b58e7g846755525844723c@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 22.0.50.26 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:56904 Archived-At: > --- tips.texi 10 Jul 2006 10:58:03 -0400 1.85 > +++ tips.texi 10 Jul 2006 11:40:42 -0400 > @@ -119,7 +119,9 @@ > that could cause name clashes for users who don't use that package. > > However, there is no problem with using the @code{cl} package at compile > -time, with @code{(eval-when-compile (require 'cl))}. > +time, with @code{(eval-when-compile (require 'cl))}. That's sufficient > +particularly for @code{cl} macros - they are compiled in to the resulting > +byte-code, so @code{cl} becomes unnecessary at run time. > > @item > When defining a major mode, please follow the major mode I made a smaller change as the use of eval-when-compile for macros is documented elsewhere in the manual. Thanks. -- Nick http://www.inet.net.nz/~nickrob