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: Thu, 12 Feb 2009 15:32:46 -0500 (EST) Message-ID: <1780.65.96.63.84.1234470766.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> <1557.65.96.63.84.1234412820.squirrel@mail.panix.com> <9487.1234453797@gamaville.dokosmarshall.org> 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 1LXiEq-00014P-C1 for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 15:32:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXiEp-00012m-KL for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 15:32:47 -0500 Received: from [199.232.76.173] (port=35548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXiEp-00012b-Gk for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 15:32:47 -0500 Received: from mail2.panix.com ([166.84.1.73]:63751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXiEp-0005Iy-4y for emacs-orgmode@gnu.org; Thu, 12 Feb 2009 15:32:47 -0500 In-Reply-To: <9487.1234453797@gamaville.dokosmarshall.org> 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 To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org > Tom Breton (Tehom) wrote: > >> >> >>> On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: >> >>> >> >> >> >> (let* >> >> ((x 1)) >> >> (eval-after-load 'simple (setq x 2)) >> >> x) >> >> >> >> =3D3D> 2 >> >> >> >> >> >> >> >> (let* >> >> ((x 1)) >> >> (eval-after-load 'simple '(setq x 2)) >> >> x) >> >> >> >> =3D3D> 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). >> > > That's not correct: eval-after-load will happily accept a symbol instea= d > of a string, as long as the symbol is a feature provided by the library= . > simple.el does that - the last form in it is > > (provide 'simple) What version is this? Because that's clearly not what it does on emacs 21.3.1. Here simple.el does not have (provide 'simple) in it. I see no provision for accepting a symbol in eval-after-load. The test i= t uses is just: (assoc file load-history) The cars of load-history are all strings, so I can't see how it would fin= d a symbol among them. And it continues to stubbornly return a 1 for that example when I use 'simple. Clearly something has changed across versions. Tom Breton (Tehom)