From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Leo <sdl.web@gmail.com>, 10946@debbugs.gnu.org
Subject: bug#10946: 24.0.94; eval-after-load incompatible change
Date: Fri, 09 Mar 2012 13:14:54 -0500 [thread overview]
Message-ID: <slipid8wv5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m1k42ziacs.fsf@gmail.com>
Stefan Monnier wrote:
> 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.
Yes; but the doc in Emacs 23.4 says:
Alternatively, FILE can be a feature (i.e. a symbol), in which case
FORM is evaluated whenever that feature is `provide'd.
without explicitly saying "`provide'd from a file".
So IMO there should at least be a NEWS entry about this.
Isn't it possible to get the old behaviour back by changing the thing
that gets added to after-load-alist from:
(when load-file-name
...stuff...)
to
(if load-file-name
...stuff...
;; Not being provided from a file, run form right now.
(form))
next prev parent reply other threads:[~2012-03-09 18:14 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
2012-03-08 3:21 ` Leo
2012-03-09 18:14 ` Glenn Morris [this message]
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=slipid8wv5.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=10946@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--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).