From: Wei-Wei Guo <wwguocn@gmail.com>
To: Leo <sdl.web@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: How to set a entry with Chinese calender?
Date: Wed, 06 May 2009 13:27:47 +0800 [thread overview]
Message-ID: <4A011FD3.4030107@gmail.com> (raw)
In-Reply-To: <m04ovz56xk.fsf@cam.ac.uk>
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. Because my father's birthday
>>>> is in the next year of *solar* calender, his age is calculated one year
>>>> more.
>>>>
>> This bug cannot be reproduced without loading cal-china-plus for it uses the
>> diary-chinese-anniversary of your package. For example.
>>
>> %%(diary-anniversary 11 1 1982) I'm %d years old.
>> %%(diary-chinese-anniversary 12 1 1952) Dad is %d years old.
>>
>> Could you give me some hints on how to present the bug without your package?
>
> 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
Birthday: Dad is 56 years old.
Friday 15 January 2010
Birthday: Dad is 58 years old.
There is no '57 years old'.
> 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 ...". What
do you want to test?
Best wishes,
Wei-Wei
next prev parent reply other threads:[~2009-05-06 5:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-30 7:54 How to set a entry with Chinese calender? Wei-Wei Guo
2009-05-04 14:33 ` Carsten Dominik
2009-05-04 15:07 ` Leo
2009-05-05 13:53 ` Wei-Wei Guo
2009-05-05 15:00 ` Leo
2009-05-05 23:32 ` Wei-Wei Guo
2009-05-06 1:57 ` Leo
2009-05-06 2:05 ` Leo
2009-05-06 5:27 ` Wei-Wei Guo [this message]
2009-05-06 9:38 ` Leo
2009-05-06 10:40 ` Wei-Wei Guo
2009-05-06 13:51 ` Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A011FD3.4030107@gmail.com \
--to=wwguocn@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).