emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: eval-after-load bug


From: Katsumi Yamaoka
Subject: Re: eval-after-load bug
Date: Fri, 26 May 2006 14:25:39 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

>>>>> In <address@hidden> Richard Stallman wrote:

>     In addition to this, now it is hard to access a certain element
>     of `after-load-alist'.

> It is very kludgy to edit `after-load-alist' in this way.
> Even for one file of Gnus to communicate with another
> using `after-load-alist' is kludgy.  Don't do it that way!

I agree.  I've simply removed that section from the Gnus CVS
repository (the changes will be propagated to Emacs soon).  I
had added it in order to make the after-load form be evaluated
only once and reduce the size of `after-load-alist'.  However,
it is probably a needless affair.

> The right way to do this sort of job is to defvar a hook variable,
> and call it from the right place.  Then you can edit it wherever
> you want, and it will be clear.

That is the best way.  However, since the Mule-UCS package which
provides the "un-define" module was widely used then, I chose to
use such a kludgy way.

> Please remove the use of `eval-after-load' and do that instead.

Done.  Thank you.




reply via email to

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