emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decis


From: Tom Breton (Tehom)
Subject: Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
Date: Wed, 11 Feb 2009 16:41:02 -0500 (EST)
User-agent: SquirrelMail/1.4.13

>
> On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote:
>

>> This bug is simple.  In "Setting it all up" at the end of org-
>> choose.el,
>> in 6.22b a quote got introduced before progn.  That's all.  With that
>> quote, it "evaluated" a quoted form and did nothing.  I'd send a
>> patch,
>> but ISTM it's easier to just press backspace once.  It's here:
>>
>> (eval-after-load 'org
>>  '(progn
>> ;;^--HERE.
>>     (add-to-list 'org-todo-setup-filter-hook
>>                #'org-choose-setup-filter)
>>     (add-to-list 'org-todo-get-default-hook
>>                #'org-choose-get-default-mark)
>>     (add-to-list 'org-trigger-hook
>>                #'org-choose-keep-sensible)
>>     (add-to-list 'org-todo-interpretation-widgets
>>                '(:tag "Choose   (to record decisions)" choose)
>>                'append)
>>   ))
>
> Hi Tom,
>
> I added the quote because without it, evaluating org-chose.el did error.
> It was my understanding that such a form has to be quoted.  Am
> I missing something here?

What error did it give?  I didn't get one here.

Definitely the form should not be quoted.  Quoted, it does nothing.
Demonstration (with libary `simple' which is fairly basic in emacs so
probably loaded for everyone):

(let*
   ((x 1))
   (eval-after-load 'simple (setq x 2))
   x)

=> 2



(let*
   ((x 1))
   (eval-after-load 'simple '(setq x 2))
   x)

=> 1



Tom Breton (Tehom)







reply via email to

[Prev in Thread] Current Thread [Next in Thread]