unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Kevin Ryde <user42@zip.com.au>
Cc: 3756@emacsbugs.donarmstrong.com
Subject: bug#3756: eval-after-load 'ffap vs provide at start of file
Date: Sat, 04 Jul 2009 22:18:18 -0400	[thread overview]
Message-ID: <driqi7na8l.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87ljn4x8dj.fsf@blah.blah> (Kevin Ryde's message of "Sun, 05 Jul 2009 10:48:24 +1000")

Kevin Ryde wrote:

> It looks like ffap.el has (provide 'ffap) near the start of the file,
> instead of at the end.  The end is usual so that eval-after-load can be
> used on a feature symbol as above, is it?

I don't see why the ffap one shouldn't be at the end, but as discussed
in the context of this very example last month, you cannot rely on
provide always being at the end of a file:

http://lists.gnu.org/archive/html/emacs-devel/2009-06/msg00202.html

I'll mention something about this in the doc of eval-after-load.





  reply	other threads:[~2009-07-05  2:18 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 [this message]
2009-07-07 22:02     ` Kevin Ryde
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=driqi7na8l.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=3756@emacsbugs.donarmstrong.com \
    --cc=user42@zip.com.au \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).