From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tom Breton (Tehom)" Subject: Re: Docs submitted (Was Re: Advice sought on managing decision alternatives.) Date: Wed, 11 Feb 2009 23:27:00 -0500 (EST) Message-ID: <1557.65.96.63.84.1234412820.squirrel@mail.panix.com> References: <20090101170227.C707734803@mail2.panix.com> <1036.24.63.0.170.1233950825.squirrel@mail.panix.com> <60BDFE6D-6B8C-4A23-A737-67DC1F523C79@uva.nl> <1044.66.30.185.29.1234039592.squirrel@mail.panix.com> <6444D654-9B7B-415D-A6DB-F3BADCB1EE2A@uva.nl> <1451.24.63.21.131.1234124707.squirrel@mail.panix.com> <8BD25355-1218-4DB5-9C85-77EA011540D0@uva.nl> <1555.24.62.30.15.1234235653.squirrel@mail.panix.com> <1062.24.62.30.15.1234314505.squirrel@mail.panix.com> <1330.65.96.63.84.1234388462.squirrel@mail.panix.com> <2515A2B2-58A8-4339-82AB-B4B71DE488F6@uva.nl> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXTAH-0008R0-Ti for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 23:27:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXTAF-0008Qi-8s for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 23:27:04 -0500 Received: from [199.232.76.173] (port=56002 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXTAF-0008QZ-1B for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 23:27:03 -0500 Received: from mail1.panix.com ([166.84.1.72]:60082) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXTAE-0006Pt-Os for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 23:27:02 -0500 In-Reply-To: <2515A2B2-58A8-4339-82AB-B4B71DE488F6@uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org >>> On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: >>> >> >> (let* >> ((x 1)) >> (eval-after-load 'simple (setq x 2)) >> x) >> >> =3D> 2 >> >> >> >> (let* >> ((x 1)) >> (eval-after-load 'simple '(setq x 2)) >> x) >> >> =3D> 1 > > In fact, I am getting 2 in both cases!!!!!??????? > Do you really get 1 for the second??? Yes I do, but it's clear now that I was mistaken about why. On closer inspection, it has to do with emacs not recognizing 'simple because it wants to see "simple" instead (string instead of symbol). ;;As symbol (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D> 1 ;;As string (let* ((x 1)) (eval-after-load "simple" '(setq x 2)) x) =3D> 2 Not sure why it's different for you. I suspect it may have to do with a difference between the emacs version I use and later versions. > eval-after-load is a function, not a macro, so FORM will > be evaluated *before* being passed to the function. [] Yes, I see that now. Tom Breton (Tehom)