all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 13021@debbugs.gnu.org
Cc: Michael Heerdegen <michael_heerdegen@web.de>
Subject: bug#13021: 24.2.90; compile eval-after-load form
Date: Wed, 28 Nov 2012 23:27:35 -0500	[thread overview]
Message-ID: <jwvboeh5966.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87624p4vjd@ch.ristopher.com> (Christopher Schmidt's message of "Wed, 28 Nov 2012 15:05:56 +0000 (GMT)")

> I think it is a good idea to compile the form that is passed to
> eval-after-load.

I agree.  More to the point, I think it should be a macro so you don't
need to wrap the code in '(progn ...).

But changing it to a macro would not be backward compatible (you can
convert a macro to a function, like I did recently for kbd, but not
other way around).
I learned this when I tried to convert .... eval-after-load ;-) many
years ago.

IOW, I'm open to introducing a replacement for eval-after-load which
would be a macro, but under another name.


        Stefan





  reply	other threads:[~2012-11-29  4:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 15:05 bug#13021: 24.2.90; compile eval-after-load form Christopher Schmidt
2012-11-29  4:27 ` Stefan Monnier [this message]
2012-11-29 11:31   ` Juanma Barranquero
2013-06-19 23:55 ` Christopher Schmidt
2013-06-20 22:55   ` Michael Heerdegen
2013-06-21  1:08     ` Michael Heerdegen

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=jwvboeh5966.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=13021@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.