From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.help Subject: Re: Debugging byte compiled files Date: Tue, 07 Mar 2006 19:16:22 +0000 Message-ID: <87k6b6rrp5.fsf@thunk.shootybangbang.com> References: <6942EE35B530F84EAD432959F5E4DAB501EAD0A4@largo.campus.ncl.ac.uk> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142019590 23259 80.91.229.2 (10 Mar 2006 19:39:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 19:39:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 20:39:46 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHnSN-0001D1-PK for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2006 20:39:26 +0100 Original-Received: from [127.0.0.1] (helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHqOT-0000q5-Nl for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2006 17:47:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGhfo-0004D1-JA for help-gnu-emacs@gnu.org; Tue, 07 Mar 2006 14:16:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGhfg-0003pT-Tf for help-gnu-emacs@gnu.org; Tue, 07 Mar 2006 14:16:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGhfe-0003p1-EH for help-gnu-emacs@gnu.org; Tue, 07 Mar 2006 14:16:34 -0500 Original-Received: from [207.106.133.28] (helo=proof.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FGhiJ-0003ny-Ua for help-gnu-emacs@gnu.org; Tue, 07 Mar 2006 14:19:20 -0500 Original-Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id C340B91C24; Tue, 7 Mar 2006 14:16:29 -0500 (EST) Original-Received: from thunk.shootybangbang.com (thunk.shootybangbang.com [217.169.11.184]) by proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 1860528104; Tue, 7 Mar 2006 14:16:27 -0500 (EST) Original-To: "Phillip Lord" In-reply-to: <6942EE35B530F84EAD432959F5E4DAB501EAD0A4@largo.campus.ncl.ac.uk> (Phillip.Lord@newcastle.ac.uk) X-Mailer: Norman X-Attribution: JPW X-Face: #uahb@^mo@bA"{q'"a4y[w$n3/V:haD\; YenWcT7)kXYx3/>#[DD9ExVe}; 9FG6X`l!Dm"V peub=u!&&?}s~{TOPtGdH)KA}/qCr; d"Gr*'9_V1PE@+K'tk2/Iq@PBKtJ+]&,CP9_Fl8'*R]LCR0| 6q; Xey'`:DX+)S.]p[KP^sNe`8B\W6(Nw{o5i)y+I!h=0bU5L`Tj`~Q0!G"t(s7o7eh)J\>P>,!~/w $$jGEVa%H%8(jTv X-Mailman-Approved-At: Wed, 08 Mar 2006 00:40:57 -0500 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:33700 Archived-At: > >> I think that the problem is coming from this macro... > >> > >> (defmacro pabbrev-save-buffer-modified-p (&rest body) [...] > > > > Does the `defmacro' form occur before its use within your library ? > > > There is a single use of the macro before its use. You question > suggests to me that this is a bad thing? Yup. Sorry for not being clear. Stefan has already explained the problem really well. See also (elisp) Compiling Macros: "In order for compilation of macro calls to work, the macros must already be defined in Lisp when the calls to them are compiled. The compiler has a special feature to help you do this: if a file being compiled contains a `defmacro' form, the macro is defined temporarily for the rest of the compilation of that file. To make this feature work, you must put the `defmacro' in the same file where it is used, and before its first use."