From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: Nick Dokos <ndokos@gmail.com>,
emacs-orgmode@gnu.org, 15888@debbugs.gnu.org
Subject: Re: bug#15888: 24.3.50; Eval-after-load eval'ed twice
Date: Wed, 04 Dec 2013 22:35:05 +0100 [thread overview]
Message-ID: <87mwkguwom.fsf@gmail.com> (raw)
In-Reply-To: <86wqjkjqbc.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 04 Dec 2013 21:48:07 +0100")
Hello,
"Sebastien Vauban" <sva-news@mygooglest.com> writes:
> You say that opening an Org file requires first `ob-lob' before *providing*
> `org', right? [1]
Correct.
> IIUC, here are all the steps involved:
>
> 1. an Org file is opened
> 2. org.el is required -- but not yet provided at all, so loaded a first time
> 3. when loading it, it requires first extra packages; among others (via some
> call tree), ob-lob.el -- see [1]
> 4. ob-lob.el is then loaded, and in fine provided
> 5. eval-after-load "ob-lob" is run straight away, and tries to open an Org file
> 6. org.el is hence required -- but it still is not yet provided, so loaded a
> second time
> 7. at some point, org.el is provided for real
> 8. Eval-after-load "org" is run a first time, so are hooks
> 9. Eval-after-load "org" is run a second time, as the file has been loaded
> twice
That's right.
> IOW, isn't the problem that the `eval-after-load' is RUN AFTER EACH `provide' of
> some lib, not after the FIRST `provide' of that lib?
It seems to be a feature. See `after-load-alist' docstring.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-12-04 21:35 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 21:27 bug#15888: 24.3.50; Eval-after-load eval'ed twice Sebastien Vauban
2013-11-13 22:08 ` Glenn Morris
2013-11-13 22:14 ` Glenn Morris
2013-11-13 22:18 ` Glenn Morris
[not found] ` <mailman.6013.1384380609.10748.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.6013.1384380609.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-11-13 23:33 ` Sebastien Vauban
2013-11-14 3:08 ` Glenn Morris
[not found] ` <mailman.6027.1384398545.10748.bug-gnu-emacs@gnu.org>
[not found] ` <868uws6lgt.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-11-14 18:57 ` Sebastien Vauban
2013-11-14 19:12 ` Eli Zaretskii
[not found] ` <83siuyiyq4.fsf-mXXj517/zsQ@public.gmane.org>
2013-11-15 8:16 ` Sebastien Vauban
2013-11-15 8:16 ` Sebastien Vauban
2013-11-15 8:42 ` Eli Zaretskii
2013-11-15 8:42 ` Eli Zaretskii
[not found] ` <83iovuhx8w.fsf-mXXj517/zsQ@public.gmane.org>
2013-11-15 9:06 ` Sebastien Vauban
2013-11-15 9:06 ` Sebastien Vauban
2013-11-15 10:34 ` Eli Zaretskii
2013-11-15 10:34 ` Eli Zaretskii
[not found] ` <mailman.6245.1384511726.10748.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.6245.1384511726.10748.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-11-15 13:01 ` Sebastien Vauban
2013-11-15 13:01 ` Sebastien Vauban
2013-11-15 14:15 ` Stefan Monnier
2013-11-15 14:15 ` Stefan Monnier
[not found] ` <jwvbo1l4utn.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2013-11-15 14:27 ` Sebastien Vauban
2013-11-15 14:27 ` Sebastien Vauban
2013-11-15 14:35 ` Eli Zaretskii
2013-11-15 14:35 ` Eli Zaretskii
2013-11-14 22:01 ` Glenn Morris
2013-11-14 22:01 ` Glenn Morris
2013-11-15 6:04 ` Bastien
[not found] ` <87y54qdwvh.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2013-11-15 8:33 ` Sebastien Vauban
2013-11-15 8:33 ` Sebastien Vauban
2013-11-15 6:04 ` Bastien
2013-11-19 20:05 ` Sebastien Vauban
2013-11-20 4:06 ` Nick Dokos
2013-11-23 14:05 ` Nicolas Goaziou
2013-12-04 20:48 ` Sebastien Vauban
2013-12-04 21:35 ` Nicolas Goaziou [this message]
2020-05-22 12:51 ` Bastien
2013-11-19 20:05 ` Sebastien Vauban
2013-11-14 2:13 ` Michael Heerdegen
2013-11-15 0:06 ` Josh
2013-11-19 20:07 ` Sebastien Vauban
2013-11-15 0:06 ` Josh
2013-11-15 2:30 ` Glenn Morris
2013-11-15 2:30 ` Glenn Morris
[not found] ` <oofvqygzwk.fsf-iW7gFb+/I3LZHJUXO5efmti2O/JbrIOy@public.gmane.org>
2013-11-15 6:04 ` Sebastien Vauban
2013-11-15 6:04 ` Sebastien Vauban
2013-11-15 17:02 ` Glenn Morris
2013-11-15 17:57 ` Nick Dokos
2013-11-15 18:31 ` Nicolas Goaziou
2013-11-17 1:23 ` Nick Dokos
2013-11-17 3:06 ` Nick Dokos
2013-11-17 8:59 ` Nicolas Goaziou
2013-11-17 13:41 ` Nick Dokos
2013-11-17 18:05 ` Nick Dokos
2013-11-15 17:02 ` Glenn Morris
2013-11-17 19:45 ` Glenn Morris
2013-11-17 19:45 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwkguwom.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=15888@debbugs.gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
--cc=sva-news@mygooglest.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.