emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Agenda view > Face for deadlines > PATCH


From: Sébastien Vauban
Subject: [Orgmode] Re: Agenda view > Face for deadlines > PATCH
Date: Fri, 13 Aug 2010 12:13:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Bastien,

First, thanks for answering...

Bastien wrote:
> Hi Sébastien,
>
> Sébastien Vauban <address@hidden> writes:
>
>> Though, what I really don't understand is that I `C-u C-M-x' the function
>> =org-agenda-highlight-todo=, and then call =org-agenda-list=, expecting to
>> trace the function that *highlights every TODO line* of my agenda.
>>
>> And... no, *edebug is not launched*!?  I really don't understand
>> that...
>
> I'm not using elp so I cannot help on that.
>
> What if you just go to go `org-agenda-highlight-todo' and 
>
>      M-x edebug-defun RET
>
> after it?

I did:

    M-x load-library RET edebug

and

    M-x edebug-defun RET

after the function =org-agenda-highlight-todo=, what's "proved" (if you don't
believe me ;-)) by this extract of the *Messages*:

--8<---------------cut here---------------start------------->8---
Loading /usr/share/emacs/23.1/lisp/emacs-lisp/edebug.elc...
Loading edebug...
ad-handle-definition: `eval-defun' got redefined
Loading edebug...done
Edebug: org-agenda-highlight-todo
org-agenda-highlight-todo
--8<---------------cut here---------------end--------------->8---

Then, calling =C-c a a= (=org-agenda-list=) is *not interrupted* by =edebug=,
while I was well expecting to step through that function, and see what's done
with every todo line.

Though, as previously said, calling =C-c a s= (=org-search-view=) does first
display the following 2 lines...

--8<---------------cut here---------------start------------->8---
Search words: test
Press `[', `]' to add/sub word, `{', `}' to add/sub regexp, `C-u r' to edit
--8<---------------cut here---------------end--------------->8---

... and is then *well interrupted* by =edebug=.

Subsequent extract of *Messages*:

--8<---------------cut here---------------start------------->8---
Press key for agenda command:
No event to add
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
No event to add
Press key for agenda command:
No event to add

Result: (#1="DONE" #2="CANX" #3="APP" #4="EXP" #5="REJ" #6="CLSDPO" #7="PRDONE" 
#8="PRCANCELED" #1# #2# #3# #4# #5# #6# "DONE" "CANX" "APP" "EXP" "REJ" 
"CLSDPO" "DONE" "CANX" "APP" "EXP" "REJ" "CLSDPO" "DONE" "CANX" "APP" "EXP" 
"REJ" "CLSDPO" "DONE" "CANX" "APP" "EXP" "REJ" "CLSDPO" "DONE" "CANX" "APP" 
"EXP" "REJ" "CLSDPO" "DONE" "CANX" "APP" "EXP" "REJ" "CLSDPO" ...)
--8<---------------cut here---------------end--------------->8---

I must miss something, but what?

Thanks for your help.

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

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