From: Kevin Ryde <user42@zip.com.au>
To: Glenn Morris <rgm@gnu.org>
Cc: 3756@emacsbugs.donarmstrong.com
Subject: bug#3756: eval-after-load 'ffap vs provide at start of file
Date: Wed, 08 Jul 2009 08:02:50 +1000 [thread overview]
Message-ID: <871vosxib9.fsf@blah.blah> (raw)
In-Reply-To: <driqi7na8l.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 04 Jul 2009 22:18:18 -0400")
[-- Attachment #1: Type: text/plain, Size: 442 bytes --]
Glenn Morris <rgm@gnu.org> writes:
>
> http://lists.gnu.org/archive/html/emacs-devel/2009-06/msg00202.html
I didn't see that. Doing provide when a feature is not yet ready for
use would seem fairly dubious though, in normal circumstances.
> I'll mention something about this in the doc of eval-after-load.
provide could cross-reference eval-after-load, if that helped remind to
take care with what point it's called, perhaps per below.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: loading.texi.provide-xref-eval-after-load.diff --]
[-- Type: text/x-diff, Size: 1134 bytes --]
*** loading.texi 17 Mar 2009 10:34:05 +1100 1.10
--- loading.texi 08 Jul 2009 07:40:12 +1000
***************
*** 733,742 ****
associated with @var{feature} are or will be available for other Lisp
programs.
! The direct effect of calling @code{provide} is to add @var{feature} to
! the front of the list @code{features} if it is not already in the list.
! The argument @var{feature} must be a symbol. @code{provide} returns
! @var{feature}.
If provided, @var{subfeatures} should be a list of symbols indicating
a set of specific subfeatures provided by this version of
--- 733,743 ----
associated with @var{feature} are or will be available for other Lisp
programs.
! The direct effect of calling @code{provide} is if not already in
! @var{features} then to add @var{feature} to the front of that list and
! call any @code{eval-after-load} code waiting for it (@pxref{Hooks for
! Loading}). The argument @var{feature} must be a symbol.
! @code{provide} returns @var{feature}.
If provided, @var{subfeatures} should be a list of symbols indicating
a set of specific subfeatures provided by this version of
next prev parent reply other threads:[~2009-07-07 22:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <81iqi663b5.fsf@fencepost.gnu.org>
2009-07-05 0:48 ` bug#3756: eval-after-load 'ffap vs provide at start of file Kevin Ryde
2009-07-05 2:18 ` Glenn Morris
2009-07-07 22:02 ` Kevin Ryde [this message]
2009-07-11 19:39 ` Glenn Morris
2009-07-06 1:00 ` bug#3756: marked as done (eval-after-load 'ffap vs provide at start of file) Emacs bug Tracking System
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=871vosxib9.fsf@blah.blah \
--to=user42@zip.com.au \
--cc=3756@emacsbugs.donarmstrong.com \
--cc=rgm@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.