From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: chinese calendar entries for diary Date: Wed, 12 Apr 2006 11:28:54 -0400 Message-ID: <443D1CB6.3010608@speakeasy.net> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144855846 17379 80.91.229.2 (12 Apr 2006 15:30:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 15:30:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 12 17:30:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FThIl-0004iq-J3 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Apr 2006 17:30:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FThIk-0007Lc-C9 for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Apr 2006 11:30:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FThI2-0006ev-C4 for help-gnu-emacs@gnu.org; Wed, 12 Apr 2006 11:29:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FThI0-0006dI-Km for help-gnu-emacs@gnu.org; Wed, 12 Apr 2006 11:29:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FThI0-0006d3-90 for help-gnu-emacs@gnu.org; Wed, 12 Apr 2006 11:29:52 -0400 Original-Received: from [69.17.117.10] (helo=mail8.sea5.speakeasy.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FThN7-00061S-CZ for help-gnu-emacs@gnu.org; Wed, 12 Apr 2006 11:35:09 -0400 Original-Received: (qmail 1527 invoked from network); 12 Apr 2006 15:29:48 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO [192.168.0.27]) (gebser@[66.93.11.17]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Apr 2006 15:29:48 -0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en Original-To: GNU Emacs List X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34334 Archived-At: I'm looking for a way to have my diary include "tsoh" days, i.e., the 10th and 25th days of each month of the Chinese calendar. Google turned up nothing. (Buddhists would appreciate that. :) Looking at cal-chin.el, there's some defuns there which might lead to a solution... eventually. But they all trace back to something which the docs call an "absolute date". Info has no mention of this that I could find. Is there a elisp function for fetching this integer for the current day? (There must be!) I tried using (calendar-absolute-from-gregorian (list 4 22 2006)) and this works fine, but what do I replace (list 4 22 2006) with so that it plugs in the current gregorian date (in the correct form)? Thanks, ken -- "This world ain't big enough for the both of us," said the big noema to the little noema.