From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#3756: eval-after-load 'ffap vs provide at start of file Date: Sat, 04 Jul 2009 22:18:18 -0400 Message-ID: References: <87ljn4x8dj.fsf@blah.blah> Reply-To: Glenn Morris , 3756@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246761468 6457 80.91.229.12 (5 Jul 2009 02:37:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2009 02:37:48 +0000 (UTC) Cc: 3756@emacsbugs.donarmstrong.com To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 04:37:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNHbo-0002aY-5V for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 04:37:40 +0200 Original-Received: from localhost ([127.0.0.1]:54807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNHbn-0006KH-KF for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Jul 2009 22:37:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNHbh-0006Jc-Pt for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:37:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNHbd-0006Iy-8K for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:37:33 -0400 Original-Received: from [199.232.76.173] (port=41412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNHbd-0006Iv-2h for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:37:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54332) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MNHbc-0004lW-K3 for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2009 22:37:28 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n652bPYR004184; Sat, 4 Jul 2009 19:37:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n652P6cp001997; Sat, 4 Jul 2009 19:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 05 Jul 2009 02:25:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3756 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3756-submit@emacsbugs.donarmstrong.com id=B3756.12467603081093 (code B ref 3756); Sun, 05 Jul 2009 02:25:06 +0000 Original-Received: (at 3756) by emacsbugs.donarmstrong.com; 5 Jul 2009 02:18:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n652ILYV001087 for <3756@emacsbugs.donarmstrong.com>; Sat, 4 Jul 2009 19:18:22 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MNHJ4-0000XV-G3; Sat, 04 Jul 2009 22:18:18 -0400 X-Spook: Ortega PGP Telex Area 51 Taiwan sniper Lon Horiuchi X-Ran: LE-)v(79$J"ngbgC&M[EUF~uc'+%Ea'Ak>Ez1g"2~K.{7`aIovJ05iU{5_vv:KYK[^5_e_ X-Hue: magenta X-Attribution: GM In-Reply-To: <87ljn4x8dj.fsf@blah.blah> (Kevin Ryde's message of "Sun, 05 Jul 2009 10:48:24 +1000") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 04 Jul 2009 22:37:33 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29178 Archived-At: 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.