all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Understanding macros and the compilation flow
Date: Fri, 4 Jun 2010 08:34:00 -0700 (PDT)	[thread overview]
Message-ID: <54f252fa-4ee2-4696-8e01-62d94c423259@5g2000yqz.googlegroups.com> (raw)
In-Reply-To: jwvljaulvog.fsf-monnier+gnu.emacs.help@gnu.org

Hi

> What you're missing is that the time (and number of times) the macro is
> expanded depends on various factors.  The Elisp interpreter by default
> only expands macro during execution (and throws away the result).
> But don't rely on it, because the byte-compiler does it differently, and
> the evaluator could also be changed to do it differently.

Sorry thats somehow irritating for me and sorry if it's trivial for
you.

So there are differences between executing a
a) compilation,
b) interpretation and
c) evaluation?

(I hope at least not between b and c)

And does this mean that an .el file executes differently from the
corresponding .elc ???
(of course compiled with the same emacs version)


And which case has the "default behaviour" I should rely on?


  parent reply	other threads:[~2010-06-04 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 15:03 Understanding macros and the compilation flow LanX
2010-06-03 17:22 ` Helmut Eller
     [not found] ` <87fx14rpyi.fsf@kuiper.lan.informatimago.com>
2010-06-03 17:45   ` LanX
     [not found] ` <jwvljaulvog.fsf-monnier+gnu.emacs.help@gnu.org>
2010-06-04 15:34   ` LanX [this message]
2010-06-04 16:48     ` Andreas Politz

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=54f252fa-4ee2-4696-8e01-62d94c423259@5g2000yqz.googlegroups.com \
    --to=lanx.perl@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.