all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: 10982@debbugs.gnu.org
Subject: bug#10982: documentation bug eval-after-load
Date: Sat, 10 Mar 2012 01:33:30 +0800	[thread overview]
Message-ID: <CAM=K+iqEnAJW+Ks4GR8pHzfHvzyR6G-EVSs9udwR3C_ouJE-Bw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

Hi on this page:

http://www.gnu.org/software/emacs/manual/html_node/elisp/Hooks-for-Loading.html#Hooks-for-Loading

> library can also be a feature (i.e. a symbol), in which case form is
evaluated when (provide library) is called.

Then on this page
http://www.gnu.org/software/emacs/manual/html_node/elisp/Named-Features.html

> This function announces that feature is now loaded, or being loaded, into
the current Emacs session. This means that the facilities associated with
feature are or will be available for other Lisp programs.

So two issue come up:  should symbol even be supported by `eval-after-load`
if the feature might not be finished loading?  If it has to be kept for
backward compatibility, documentation should explicitly say don't use
symbol because the feature might not be finished loading.

-- 
Le

[-- Attachment #2: Type: text/html, Size: 1205 bytes --]

             reply	other threads:[~2012-03-09 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 17:33 Le Wang [this message]
2012-03-09 17:40 ` bug#10982: documentation bug eval-after-load Glenn Morris
2012-03-09 18:01   ` Le Wang

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='CAM=K+iqEnAJW+Ks4GR8pHzfHvzyR6G-EVSs9udwR3C_ouJE-Bw@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=10982@debbugs.gnu.org \
    /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.