emacs-devel
[Top][All Lists]
Advanced

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

Re: Strange eval-after-load


From: Richard Stallman
Subject: Re: Strange eval-after-load
Date: Tue, 04 Jul 2006 08:54:30 -0400

    PLEASE, PLEASE, PLEASE give your views on the example I quoted from
    cc-defs.el.

It is obsolete -- the code should use `declare'.

def-edebug-spec is autoloaded, so calls to it do not _need_ to be in
eval-after-load.  However, it is inefficient to load all of edebug
just to execute a call to def-edebug-spec; so I think it would be good
to move that definition into subr.el.

Would someone like to do that?

    Given that CC Mode is intented to be compatible with many (X)Emacs
    versions, nearly all of which lack the `declare' feature in defmacro, I
    cannot see how I can get along without eval-after-loads like the above.

For XEmacs, you can use a conditional.  Old Emacs versions do not
matter; I do not want ugly code for their sake.

    I do not understand why you regard eval-after-load as objectionable.

I am sorry you don't understand, but I will not change this policy
and I don't have time to reopen the question.  I have other work to do!




reply via email to

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