From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: eval-after-load confusion Date: Wed, 30 Apr 2014 11:36:47 +0200 Message-ID: <87bnvjxiog.fsf@zigzag.favinet> References: <87k3a7i57h.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1398850388 5977 80.91.229.3 (30 Apr 2014 09:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 09:33:08 +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:33:01 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 1WfQsu-0005t9-O2 for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 11:33:00 +0200 Original-Received: from localhost ([::1]:55709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQsu-0003de-Cj for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2014 05:33:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQsX-0003Vc-Sy for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:32:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfQsR-0000CG-PT for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:32:37 -0400 Original-Received: from smtp209.alice.it ([82.57.200.105]:20650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfQsR-0000C1-Dh for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 05:32:31 -0400 Original-Received: from zigzag.favinet (79.24.36.251) by smtp209.alice.it (8.6.060.28) id 52443BB026B7418F for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 11:32:29 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1WfQwr-0000Y1-0t for help-gnu-emacs@gnu.org; Wed, 30 Apr 2014 11:37:05 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <87k3a7i57h.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 30 Apr 2014 16:36:50 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.105 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:97468 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Eric Abrahamsen () Wed, 30 Apr 2014 16:36:50 +0800 ;; (eval-after-load 'message ;; (let ...) What am I not understanding?! If you =E2=80=98C-h f eval-after-load=E2=80=99, you will see the template: (eval-after-load FILE FORM) and can match symbol =E2=80=98eval-after-load=E2=80=99 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) =3D> SYMBOL That leaves the third element, FORM. It appears the =E2=80=98(let ...)=E2= =80=99 does not evaluate to a proper FORM. Hmm... "But ttn, why all this "evaluate to" noise? Why didn't you just say that =E2=80=98(quote message)=E2=80=99 *is* a symbol? Same for "does not e= valuate to" for the third arg! What, are you getting old and crufty?!" Well, yes! Everything has its time. =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlNgxDUACgkQZwMiJEyAdQKQigCggqcyTbVQYlufcibiCSVKw6in sNUAnREWxBmiBKsCIH6fSeik2HySt4x3 =BC3U -----END PGP SIGNATURE----- --=-=-=--