unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo <sdl.web@gmail.com>
Cc: 10946@debbugs.gnu.org
Subject: bug#10946: 24.0.94; eval-after-load incompatible change
Date: Wed, 07 Mar 2012 15:28:57 -0500	[thread overview]
Message-ID: <jwvwr6w5f7o.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <jwveht4736f.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 07 Mar 2012 12:06:13 -0500")

>>> I don't understand why it should have such a consequence.
>> Because now you have to worry about load-file-name, which means
>> (eval-after-load 'feature ... ) does nothing unless the file provided
>> that feature is loaded. i.e. it is almost the same as (eval-after-load
>> "file" ...).

> I didn't mean to say that provide should run the after-load thingies
                                             ^^^
                                             not

> when load-file-name is nil.

Sorry about this typo.  But note that after thinking some more about it,
I noticed that it's called "eval-after-LOAD", so it makes sense that it
should only work when LOADing a file.


        Stefan





  reply	other threads:[~2012-03-07 20:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 10:57 bug#10946: 24.0.94; eval-after-load incompatible change Leo
2012-03-05 15:05 ` Stefan Monnier
2012-03-05 16:16   ` Leo
2012-03-05 21:33     ` Stefan Monnier
2012-03-06 15:29       ` Leo
2012-03-06 20:57         ` Stefan Monnier
2012-03-06 23:49           ` Leo
2012-03-07 17:06             ` Stefan Monnier
2012-03-07 20:28               ` Stefan Monnier [this message]
2012-03-08  3:21                 ` Leo
2012-03-09 18:14                 ` Glenn Morris
2012-03-10  2:40                   ` Stefan Monnier
2012-03-16  1:29                     ` 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

  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=jwvwr6w5f7o.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10946@debbugs.gnu.org \
    --cc=sdl.web@gmail.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 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).