From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: how to customise Emacs to recognise 13.10. as 13th of October this year instead of 2010-10-13? Date: Thu, 11 Oct 2012 14:51:47 +0200 Message-ID: <20121011125146.GA24007@boo.workgroup> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMIG9-0007Gg-H4 for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 08:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMIG5-00049J-5L for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 08:53:05 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:35856) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TMIG4-000491-QR for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 08:53:01 -0400 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Dear org-moders, today (2012-10-11) I yanked "Kommt am 13.10. um 14:00 zum" into the date/time prompt: the date is recognised as "<2010-10-13 Mi 14:00>" instead of <2012-10-13 Sa 14:00> as I would expect since I have the following customisations (excerpt): (custom-set-variables ;[...] '(calendar-date-style (quote european)) ;[...] '(diary-date-forms (quote ((day "\\. ?" month "\\. ?[^0-9]") (day "\\. ?" month "\\. ?" year "[^0-9]") (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")))) ;[...] ) as part of my .init.el. I thought the first diary date form would match this text but it doesn't. Even "Kommt am 13.10.2012 um 14:00 zum" is parsed as "<2010-10-13 Mi 14:00>". I thought the second diary date form would match this. Before I realised this I captured several events with wrong dates. Any Ideas? Ciao, Gregor