[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing deci
From: |
Tom Breton (Tehom) |
Subject: |
Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.) |
Date: |
Wed, 11 Feb 2009 23:27:00 -0500 (EST) |
User-agent: |
SquirrelMail/1.4.13 |
>>> On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote:
>>>
>>
>> (let*
>> ((x 1))
>> (eval-after-load 'simple (setq x 2))
>> x)
>>
>> => 2
>>
>>
>>
>> (let*
>> ((x 1))
>> (eval-after-load 'simple '(setq x 2))
>> x)
>>
>> => 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)
=> 1
;;As string
(let*
((x 1))
(eval-after-load "simple" '(setq x 2))
x)
=> 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)
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), (continued)
- Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/12
- Re: Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Manish, 2009/02/12
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/10
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Nick Dokos, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.),
Tom Breton (Tehom) <=
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Nick Dokos, 2009/02/12
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/12
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Nick Dokos, 2009/02/12
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/11
- [Orgmode] Re: Docs submitted, Bernt Hansen, 2009/02/11
- Re: [Orgmode] Re: Docs submitted, Samuel Wales, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Daniel Clemente, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Tom Breton (Tehom), 2009/02/11
- Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.), Carsten Dominik, 2009/02/11