From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Randle" Subject: RE: Converting dates to org-mode dates Date: Mon, 12 Nov 2007 14:45:27 -0000 Message-ID: <00eb01c8253a$aa550a90$6a80a8c0@CUBE> References: <871wav33t0.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IraYT-0002x7-TE for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 09:46:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IraYS-0002wg-8r for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 09:46:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IraYS-0002wd-2r for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 09:46:24 -0500 Received: from anchor-post-36.mail.demon.net ([194.217.242.86]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IraYS-0004Up-39 for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 09:46:24 -0500 Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE) by anchor-post-36.mail.demon.net with esmtp (Exim 4.67) id 1IraYP-000Beb-L2 for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 14:46:21 +0000 In-Reply-To: <871wav33t0.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien wrote: > Maybe you can try this (not heavily tested): > > (defun my-update-day-name-in-inactive-time-stamps () > "Update the abbreviate day name in inactive time-stamps." Thank you. It works a treat. It also has a potentially useful side-effect, in that valid inactive time stamps like: [2007-11-12 ] are left untouched, which may well be what some people would want, whereas if my search replace operations leave: [2007-11-12 xxx] then they will be updated. And if I want the former style stamps updated, your code is clear enough that (even!) I can see how to adjust it. Thanks again. -- Chris Randle