Re: [Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-05 Thread Wanrong Lin
Hi, Carsten, You are right. I moved my hook org-mode-hook setup before the following (require 'org-install) (require 'org-mouse) and now my hook is called. I had the wrong understanding that I have to set up my org-mode-hook after the "org-install" package is loaded. Thanks a lot. Wanrong

Re: [Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-04 Thread Carsten Dominik
Hi Wanrong, this is strange and should not happen. Do you call the diary in your ,emacs before setting up org-mode-hook? - Carsten On Mar 5, 2008, at 2:55 AM, Wanrong Lin wrote: Hi, I was trying Bastien's suggestion for marking dates in calendar, so I put this into my .diary file: &%%(o

[Orgmode] Bug: with %%(org-diary) in .diary file, org-mode-hook is not called

2008-03-04 Thread Wanrong Lin
Hi, I was trying Bastien's suggestion for marking dates in calendar, so I put this into my .diary file: &%%(org-diary) What I found is after I launch emacs, all my org-agenda files are already open, but my org-mode-hook function was not called, so my key bindings and other stuff was not se