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 06:20:05 +0100 Message-ID: <29038.1172467205@localhost> References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1172467426 18707 80.91.229.12 (26 Feb 2007 05:23:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2007 05:23:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 26 06:23:40 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 1HLYKo-00024O-I1 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2007 06:23:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLYKo-0003qA-I1 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2007 00:23:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLYKb-0003pl-T2 for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 00:23:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLYKZ-0003pN-CZ for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 00:23:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLYKZ-0003pK-7m for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 00:23:23 -0500 Original-Received: from smtp5-g19.free.fr ([212.27.42.35]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HLYKY-0003YT-UH for help-gnu-emacs@gnu.org; Mon, 26 Feb 2007 00:23:23 -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 3DFF8343E6; Mon, 26 Feb 2007 06:23:22 +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 l1Q5K5Ha029039; Mon, 26 Feb 2007 06:20:05 +0100 In-reply-to: Comments: In-reply-to Joost Kremers message dated "25 Feb 2007 19:13:11 +0000." 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:41469 Archived-At: Joost Kremers wrote: > Xavier Maillard wrote: > > Weird since it did not compiler with emacs22 and emacs21 (21.2 to > > 21.4). I tried with emacs22.0.51 and it failed miserably. > > did the eval-and-compile work? Yes and no. Yes it worked after having added several eval-when forms but no, I am really not satisfied by this solution. I would like to know why it solely happens with this defmacro :) > > I am pretty lost here. Could it be a bug into Emacs itself ? > > it's not a bug in emacs, it's a think-o on my part... the code compiled > fine in my running instance of Emacs, because while developing that code, > and had manually compiled/eval'ed the relevant defun. then when i > byte-compiled the entire file, the defun was known, and Emacs did not > complain. > > i just quit Emacs completely and reloaded the relevant file, got rid of the > eval-and-compile and byte-compiled the file. now, Emacs complains in the > same way as XEmacs did before. I am using a Makefile to byte-compile and thus I am using -q -Q as my command line switches. Xavier