From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Randle" Subject: Converting dates to org-mode dates Date: Mon, 12 Nov 2007 13:20:05 -0000 Message-ID: <00c401c8252e$bd513bc0$6a80a8c0@CUBE> 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 1IrZDt-00075f-Uf for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 08:21:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrZDs-00074J-9y for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 08:21:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrZDs-000744-4A for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 08:21:04 -0500 Received: from anchor-post-33.mail.demon.net ([194.217.242.91]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrZDr-0004Zw-VQ for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 08:21:04 -0500 Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE) by anchor-post-33.mail.demon.net with esmtp (Exim 4.67) id 1IrZDn-000OTd-AO for emacs-orgmode@gnu.org; Mon, 12 Nov 2007 13:20:59 +0000 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 Hi I've been converting a file that contains dates in this format: dd/mm/yyyy to Org-mode inactive format. It's pretty simple using regular expression search & replace, except that I get this far: [yyyy-mm-dd ] and can't find a way to put the day of the week in there. Individually, I can do a 'C-u 0 S-right' on each date, and that shifts the date 0 days into the future, and fills in the day of the week. This also impacts on cases (unusual and unlikely, I grant you) where you might have an incorrect day: [2007-11-12 Tue] (should be Mon) As far as I can see, that will stay like this until the date is shifted in some way. Is there any way to parse an entire region/buffer for Org-mode dates and refresh their day of the week text? -- Chris Randle GNU Emacs 22.1.1 Org-mode 5.13h