GNU bug report logs - #16810
24.3.50; `with-eval-after-load'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 19 Feb 2014 17:02:01 UTC

Severity: minor

Merged with 26888

Found in versions 24.3.50, 25.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 16810 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 16810 <at> debbugs.gnu.org
Subject: Re: bug#16810: 24.3.50; `with-eval-after-load'
Date: Wed, 19 Feb 2014 20:07:36 +0100
Some brief comments.

>    The main difference I can see, based on the available doc, is that
>    the macro evaluates the BODY "*each time* LIBRARY is loaded".  Is
>    that considered "better behaved"?  Why?

Docstring for eval-after-load says:

  If a matching file is loaded again, form will be evaluated again.

so how is that different?

>    Other, obvious differences, which I can hardly imagine to constitute
>    "better" behavior and so call for introducing this macro, let alone
>    replacing `eval-after-load' with it, are (a) that it is a macro, so
>    you do not need to quote its arg

To me, that's a big difference which makes the macro much "better". YMMV.

> 2. The doc string is not helpful enough.

Agreed.




This bug report was last modified 4 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.