emacs-devel
[Top][All Lists]
Advanced

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

Re: eval-after-load not harmful after all (Was: Re: Why js-2mode?)


From: Leo
Subject: Re: eval-after-load not harmful after all (Was: Re: Why js-2mode?)
Date: Tue, 11 Aug 2009 10:17:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2009-08-11 04:06 +0100, Daniel Colascione wrote:
> You haven't actually addressed the reason for using e-a-l and provided
> alternatives, nor have you provided any concrete examples of the harm
> e-a-l might cause. You've just put "necessary" in scare quotes without
> even considering the idea that it might actually *be* necessary.

Imagine the maintainers receive a bug report with the bug hidden
somewhere in after-load-alist and there is no way to identify which
eval-after-load call adds that entry.

It is almost impossible to unload a form in after-load-alist without
restarting Emacs and that is annoying too.

> If packages M needs to work with optional package Q, then there are
> two approaches: either M can use eval-after-load to customize Q, or Q
> can include a list of every possible M with which it can be used. You
> might decry the former, but I don't think the latter is any more
> maintainable.

-- 
Leo's Emacs uptime: 7 days, 9 hours, 6 minutes, 57 seconds





reply via email to

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