[Top][All Lists]
[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
- Hi, I'm back! + Re: Strange eval-after-load, Alan Mackenzie, 2006/07/02
- Re: Hi, I'm back! + Re: Strange eval-after-load, Thien-Thi Nguyen, 2006/07/02
- Re: Hi, I'm back! + Re: Strange eval-after-load, Alan Mackenzie, 2006/07/02
- Re: Hi, I'm back! + Re: Strange eval-after-load, Richard Stallman, 2006/07/03
- Re: Strange eval-after-load, Alan Mackenzie, 2006/07/03
- Re: Strange eval-after-load, Michael Albinus, 2006/07/03
- Re: Strange eval-after-load, John Paul Wallington, 2006/07/03
- Re: Strange eval-after-load, Alan Mackenzie, 2006/07/03
- Re: Strange eval-after-load,
Johan Bockgård <=
- Re: Strange eval-after-load, Richard Stallman, 2006/07/04
- Re: Strange eval-after-load, Alan Mackenzie, 2006/07/04
- Re: Strange eval-after-load, Richard Stallman, 2006/07/04
- Re: Strange eval-after-load, Bob Rogers, 2006/07/04
- Re: Strange eval-after-load, Stuart D. Herring, 2006/07/05
- Re: Strange eval-after-load, Richard Stallman, 2006/07/05
Re: Hi, I'm back! + Re: Strange eval-after-load, Richard Stallman, 2006/07/02