[Orgmode] How to set a entry with Chinese calender?

2009-04-30 Thread Wei-Wei Guo
Dear all, I want to make entries of my mum and dad's birthday by diary-anniversary. The problem is their birthday is in Lunar calender (Chinese calender) fashion. Diary has things like diary-julian-date, but I didn't find diary-chinese-something. Emacs calender support chinese calender, althou

[Orgmode] How to remove a item set by diary-cyclic for once?

2009-04-30 Thread Wei-Wei Guo
Dear all, I scheduled a weekly item by %%(diary-cyclic 7 05 01 2009) Group meeting. The meeting in next week is canceled. Can I cancel the item only in next week? I also tried to mark CANCELED before it, but the marker is added on the parent item. Best wishes, Wei-Wei ___

[Orgmode] How to disconnect "remember" with "org-remember"?

2009-05-01 Thread Wei-Wei Guo
Dear all, I set two different usages for remember, one is the plain remember, the other is the org-remember. (defun ww/plain () "Writing diary or notes." (interactive) (setq remember-handler-functions 'nil) (remember)) (defun ww/schedule () "Recoding tasks or appointments." (interac

[Orgmode] Re: How to remove a item set by diary-cyclic for once?

2009-05-01 Thread Wei-Wei Guo
Bernt Hansen 写道: Hi, cc-ing org-mode since this conversation went off-list and may be useful to more people. Sorry, I didn't notice I only send mail to you. I made the mistake many times. I should be more careful ... Thanks for your help! Best wishes, Wei-Wei

Re: [Orgmode] How to disconnect "remember" with "org-remember"?

2009-05-03 Thread Wei-Wei Guo
Carsten Dominik 写道: Hi Carsten, On May 2, 2009, at 2:15 AM, Wei-Wei Guo wrote: Dear all, I set two different usages for remember, one is the plain remember, the other is the org-remember. (defun ww/plain () "Writing diary or notes." (interactive) (setq remember-handler-func

Re: [Orgmode] Re: How to set a entry with Chinese calender?

2009-05-05 Thread Wei-Wei Guo
Leo 写道: Hi Leo, > > I ran into that question and have written a small package here: > > http://article.gmane.org/gmane.emacs.sources/3066/match=diary+chinese > Your package is great! And I notice two bugs. I think it's not bugs of your package. 1. The calculation of Chinese year is right. Fo

Re: [Orgmode] Re: How to set a entry with Chinese calender?

2009-05-05 Thread Wei-Wei Guo
Leo 写道: Hi Leo, I assume you mean without loading cal-china-plus, the follow restults still stand. Could you investigate more and report those bugs to emacs-devel? The author of calendar.el is actually an expert in this field, it is good to have him reviewing this. 1. The calculation of Chine

Re: [Orgmode] Re: How to set a entry with Chinese calender?

2009-05-05 Thread Wei-Wei Guo
Leo 写道: On 2009-05-06 00:32 +0100, Wei-Wei Guo wrote: 1. The calculation of Chinese year is not right. For example, if I born in 1982.11 of *solar* calendar and my father born in 1952.12 of *lunar* calendar. My age is calculated as 27 and my father's age is calculated as 58, which should

Re: [Orgmode] Re: How to set a entry with Chinese calender?

2009-05-06 Thread Wei-Wei Guo
Leo 写道: Hi Leo, There are different ways of counting ages. The diff var in the diary-chinese-anniversary holds the age value. Incidentally I found a bug in diary-chinese-anniversary. Could you test the attached version? The new version cause .org very slow and shows "Bad sexp at line 36 in