From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Agenda view > Face for deadlines > PATCH Date: Fri, 13 Aug 2010 12:13:39 +0200 Message-ID: <87vd7ezup8.fsf@mundaneum.com> References: <87vdasfb1w.fsf@mundaneum.com> <87r5l94ozf.fsf@mundaneum.com> <87d3wrh82w.fsf_-_@mundaneum.com> <877hmxaedn.fsf@mundaneum.com> <8E1C97F0-8A90-4C39-A0A5-A2146E875795@gmail.com> <87sk3o76se.fsf@mundaneum.com> <87zkws5iw9.fsf@mundaneum.com> <87iq3fhpox.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien, First, thanks for answering... Bastien wrote: > Hi S=C3=A9bastien, > > S=C3=A9bastien Vauban writes: > >> Though, what I really don't understand is that I `C-u C-M-x' the function >> =3Dorg-agenda-highlight-todo=3D, and then call =3Dorg-agenda-list=3D, ex= pecting 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=20 > > M-x edebug-defun RET > > after it? I did: M-x load-library RET edebug and M-x edebug-defun RET after the function =3Dorg-agenda-highlight-todo=3D, 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 =3DC-c a a=3D (=3Dorg-agenda-list=3D) is *not interrupted* by= =3Dedebug=3D, while I was well expecting to step through that function, and see what's do= ne with every todo line. Though, as previously said, calling =3DC-c a s=3D (=3Dorg-search-view=3D) d= oes 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 =3Dedebug=3D. 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=3D"DONE" #2=3D"CANX" #3=3D"APP" #4=3D"EXP" #5=3D"REJ" #6=3D"CLS= DPO" #7=3D"PRDONE" #8=3D"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" "C= LSDPO" ...) --8<---------------cut here---------------end--------------->8--- I must miss something, but what? Thanks for your help. Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode