From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: eval-after-load confusion Date: Wed, 30 Apr 2014 17:41:56 +0800 Message-ID: <87ppjzgnmj.fsf@ericabrahamsen.net> References: <87k3a7i57h.fsf@ericabrahamsen.net> <87bnvjxiog.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1398850775 12180 80.91.229.3 (30 Apr 2014 09:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 09:39:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 11:39:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WfQz5-0005Jf-QE for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 11:39:23 +0200 Original-Received: from localhost ([::1]:55739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQz5-0007k8-F6 for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 05:39:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQyp-0007js-4S for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:39:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfQyj-00020q-Q6 for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:39:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQyj-00020m-J3 for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:39:01 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WfQye-0004k9-HJ for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 11:38:56 +0200 Original-Received: from 123.122.33.182 ([123.122.33.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Apr 2014 11:38:56 +0200 Original-Received: from eric by 123.122.33.182 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Apr 2014 11:38:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.33.182 User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:eMuzxTQq7qYSby1j2eEwPjE1DZE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97469 Archived-At: Thien-Thi Nguyen writes: > () Eric Abrahamsen > () 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!