From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: reingold@emr.cs.iit.edu (Edward M. Reingold) Newsgroups: gmane.emacs.help Subject: Re: diary: date format Date: 21 Dec 2005 17:07:07 -0600 Organization: Illinois Institute of Technology Message-ID: <85wthyt5gk.fsf@emr.cs.iit.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135206571 9484 80.91.229.2 (21 Dec 2005 23:09:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 23:09:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 22 00:09:28 2005 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 1EpD5H-00085O-RC for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Dec 2005 00:09:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpD6F-00054W-WD for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Dec 2005 18:10:24 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!news.glorb.com!postnews.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!news.iit.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: emr.cs.iit.edu Original-X-Trace: condor2.cns.iit.edu 1135206427 10642 216.47.142.126 (21 Dec 2005 23:07:07 GMT) Original-X-Complaints-To: usenet@news.iit.edu Original-NNTP-Posting-Date: Wed, 21 Dec 2005 23:07:07 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:136532 Original-To: help-gnu-emacs@gnu.org 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:32151 Archived-At: >>>>> "E" == Emabela writes: E> How can I specify the date format for the diary? You set the value of diary-date-forms (see the documentation for details). E> I would use Japanese/Hungarian date format: E> YYYY.MM.DD. If you want ONLY that style, set (setq diary-date-forms '((year "." month "." day" [^/0-9]"))) This will lose the possibility of having day names, etc recognized. For example, the standard European value for diary-date-forms is '((day "/" month "[^/0-9]") (day "/" month "/" year "[^0-9]") (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") (day " *" monthname " *" year "[^0-9]") (dayname "\\W")) -- Professor Edward M. Reingold Email: reingold@iit.edu Chairman, Department of Computer Science Voice: (312) 567-3309 Illinois Institute of Technology Assistant: (312) 567-5152 Stuart Building Fax: (312) 567-5067 10 West 31st Street, Suite 236 Chicago, IL 60616-3729 U.S.A.