emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange eval-after-load


From: Johan Bockgård
Subject: Re: Strange eval-after-load
Date: Mon, 03 Jul 2006 23:48:32 +0200
User-agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> On Mon, Jul 03, 2006 at 06:06:58PM +0100, John Paul Wallington wrote:
>
>> How about getting rid of the (eval-after-load "edebug" '(progn ...
>> )) form and instead replacing the `def-edebug-spec' calls with (put
>> 'mumble 'edebug-form-spec 'spec) at toplevel ? Or alternatively
>> having those `def-edebug-spec' calls appear at toplevel where they
>> would be expanded to `put' calls when compiled provided that
>> `def-edebug-spec' is defined (untested) ?
>
> Ah, thanks! So the thing to do would be to load edebug at compile
> time, and expand the `def-edebug-spec' macros at compile time. This
> would surely work. Well, it will work if we can guarantee that every
> Emacs where somebody's going to be installing CC Mode _has_ edebug.
> Or putting in another wearisome check for it. But....

I think that edebug may be unavailable. So how about the first
alternative? Gnus uses the `(put ...)' form directly and so does ERC
(we went through the same thing).

-- 
Johan Bockgård





reply via email to

[Prev in Thread] Current Thread [Next in Thread]