emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to set a entry with Chinese calender?
Date: Wed, 06 May 2009 10:38:48 +0100	[thread overview]
Message-ID: <m0prem4llj.fsf@cam.ac.uk> (raw)
In-Reply-To: 4A011FD3.4030107@gmail.com

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
>   Birthday:   Dad is 56 years old.
>
> Friday     15 January 2010
>   Birthday:   Dad is 58 years old.
>
> There is no '57 years old'.

That's the bug I spotted. Should be fixed now.


>> 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?

Sorry there was a typo. Fixed in http://paste.lisp.org/display/79755.

>
>
> Best wishes,
> Wei-Wei


-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.

  reply	other threads:[~2009-05-06  9:39 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
2009-05-06  9:38             ` Leo [this message]
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=m0prem4llj.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).