From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: eval-after-load confusion
Date: Wed, 30 Apr 2014 17:41:56 +0800 [thread overview]
Message-ID: <87ppjzgnmj.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87bnvjxiog.fsf@zigzag.favinet
Thien-Thi Nguyen <ttn@gnu.org> writes:
> () Eric Abrahamsen <eric@ericabrahamsen.net>
> () Wed, 30 Apr 2014 16:36:50 +0800
>
> ;; (eval-after-load 'message
> ;; (let ...)
>
> What am I not understanding?!
>
> If you ‘C-h f eval-after-load’, you will see the template:
>
> (eval-after-load FILE FORM)
>
> and can match symbol ‘eval-after-load’ to the first element
> of the same name, the expression
>
> 'message
>
> to the second element FILE, and the expression
>
> (let ...)
>
> to the third element FORM. So order seems to be correct. No easy
> answers in this life! Trundle on! Next step, do the "types" match?
> The first element is for dispatch so we ignore it. The second one,
> FILE, seems to be correct per this fragment:
>
> Alternatively, FILE can be a feature (i.e. a symbol),
>
> and the expression does indeed evaluate to a symbol, i.e.,
>
> (quote SYMBOL) => SYMBOL
>
> That leaves the third element, FORM. It appears the ‘(let ...)’ does
> not evaluate to a proper FORM. Hmm...
>
> "But ttn, why all this "evaluate to" noise? Why didn't you just say
> that ‘(quote message)’ *is* a symbol? Same for "does not evaluate to"
> for the third arg! What, are you getting old and crufty?!"
>
> Well, yes! Everything has its time.
If a fellow's got to be schooled (in something he already should have
known), one might hope for worse than to be schooled by Thien-Thi
Nguyen. If only the question had been more worthy of the answer!
next prev parent reply other threads:[~2014-04-30 9:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 8:36 eval-after-load confusion Eric Abrahamsen
2014-04-30 9:18 ` Nicolas Richard
2014-04-30 9:28 ` Eric Abrahamsen
2014-04-30 9:36 ` Thien-Thi Nguyen
2014-04-30 9:41 ` Eric Abrahamsen [this message]
2014-04-30 12:28 ` Stefan Monnier
2014-05-02 5:28 ` Eric Abrahamsen
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=87ppjzgnmj.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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.