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

2009-05-06 Thread Leo
On 2009-05-06 11:40 +0100, Wei-Wei Guo wrote: > The age is calculated right now and the package works fine now. Thanks > a lot! Nice. I posted it to emacs-sources. See http://permalink.gmane.org/gmane.emacs.sources/3252 -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. _

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

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

2009-05-06 Thread Leo
On 2009-05-06 06:27 +0100, Wei-Wei Guo wrote: [...] >> How do you make calendar show the age of your father? >> >> I put %%(diary-chinese-anniversary 12 1 1952) in my diary file and on >> 2008.12.27 (solar calendar), it says '56 years old', isn't this correct? >> > > Saturday 27 December 2008 >

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 be 57.

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

2009-05-05 Thread Leo
On 2009-05-06 02:57 +0100, Leo wrote: Those Chinese Characters became gibberish so I also posted it here http://paste.lisp.org/display/79735. -- .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :. ___ Emacs-orgmode mailing list Remember: use `Reply

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

2009-05-05 Thread 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 shoul

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

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

2009-05-05 Thread Leo
On 2009-05-05 14:53 +0100, Wei-Wei Guo wrote: > And I notice two bugs. I think it's not bugs of your package. 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

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

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

2009-05-04 Thread Leo
On 2009-04-30 08:54 +0100, Wei-Wei Guo wrote: > 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-s