From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Can't compile Date: Mon, 26 Feb 2007 21:26:05 +0100 Message-ID: <5713.1172521565@localhost> References: <1172489074.509174.190590@t69g2000cwt.googlegroups.com> <1172515608.187669.270290@8g2000cwh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1172521751 31261 80.91.229.12 (26 Feb 2007 20:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 20:29:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Robert Thorpe" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 26 21:29:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLmT0-0000eO-4I for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2007 21:29:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLmSz-0006rv-Lb for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2007 15:29:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLmSn-0006rn-Lp for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 15:28:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLmSm-0006qy-7n for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 15:28:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLmSl-0006qr-QJ for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 15:28:47 -0500 Original-Received: from smtp5-g19.free.fr ([212.27.42.35]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HLmSl-0004bl-FA for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 15:28:47 -0500 Original-Received: from localhost.localdomain (chn51-3-88-163-173-156.fbx.proxad.net [88.163.173.156]) by smtp5-g19.free.fr (Postfix) with ESMTP id 89C3135B0F; Mon, 26 Feb 2007 21:28:46 +0100 (CET) Original-Received: from localhost (IDENT:1001@localhost [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id l1QKQ51D005715; Mon, 26 Feb 2007 21:26:06 +0100 In-reply-to: <1172515608.187669.270290@8g2000cwh.googlegroups.com> Comments: In-reply-to "Robert Thorpe" message dated "26 Feb 2007 10:46:48 -0800." X-Mailer: MH-E 8.0.2; nmh 1.2; GNU Emacs 22.0.51 X-detected-kernel: Linux 2.4 (Google crawlbot) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41493 Archived-At: Robert Thorpe wrote: > > Problem with this code is that even with a "eval-and-compile" > > there are several other places where I have to add this clause or > > the "eval-when-compile" form. That's why it is sucky ;) > > Yes. Have a look at how some other modes deal with it, often you can > get away with only a few mentions of eval-when-compile or eval-and- > compile. One way to do it is to put all the functions used in macros > into a separate file and then load that file inside eval-when-compile. That's an idea but this is not my code :) I can only make changes onto my local copy. I hope Joe will see this discussion or even better, answer to my application to maintain this code ;) Once again, thank you. Xavier