unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 11847@debbugs.gnu.org
Subject: bug#11847: 24.1.50; Error: Don't know how to compile #[nil "..."]
Date: Tue, 03 Jul 2012 13:26:20 -0400	[thread overview]
Message-ID: <jwv1ukspxm1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <6CFCB42782714EAEA0283E766D05BE7F@us.oracle.com> (Drew Adams's message of "Tue, 3 Jul 2012 07:44:24 -0700")

> But please see my other replies, where I acknowledge that my code does
> call `byte-compile'.  See the question there about whether
> byte-compiling a Lisp file also compiles a sexp (e.g. a defun) inside
> `eval-after-load'.

Byte-compilation is not done within quoted forms (i.e. forms that start
with '), so byte-compilation normally is not done on the code passed to
eval-after-load since that code is usually quoted.

> (and if so whether that is true in older Emacs versions also)

Yes, there has not been any change in this regard.  What has changed is
that byte-compile now complains when it can't do its job, whereas it
used to silently just return nil without doing anything.


        Stefan





  reply	other threads:[~2012-07-03 17:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03  3:28 bug#11847: 24.1.50; Error: Don't know how to compile #[nil "..."] Drew Adams
2012-07-03  6:12 ` Drew Adams
2012-07-03  6:21   ` Drew Adams
2012-07-03 13:42 ` Stefan Monnier
2012-07-03 14:44   ` Drew Adams
2012-07-03 17:26     ` Stefan Monnier [this message]
2012-07-03 18:00       ` Drew Adams
2012-07-05 15:49         ` Drew Adams
2012-07-05 16:14           ` Stefan Monnier
2012-07-05 16:20             ` Drew Adams
2012-07-17  5:56               ` Drew Adams
2012-07-17  5:50         ` Drew Adams
2012-07-17  6:37           ` Stefan Monnier
2012-07-17  6:40             ` Drew Adams

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=jwv1ukspxm1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=11847@debbugs.gnu.org \
    --cc=drew.adams@oracle.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).