From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Automatic Timestamp Update Date: Tue, 9 Dec 2008 09:45:05 +0000 Message-ID: References: <20081208204757.32D07320057@mail.dagertech.net> 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 1L9zwO-0002nA-MV for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 05:35:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9zwM-0002md-60 for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 05:35:44 -0500 Received: from [199.232.76.173] (port=52637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9zwL-0002ma-UM for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 05:35:41 -0500 Received: from main.gmane.org ([80.91.229.2]:45687 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9zwL-0003sI-GS for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 05:35:41 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L9zwF-0000Re-Mo for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 10:35:35 +0000 Received: from dip018.chemeng.ucl.ac.uk ([128.40.228.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 10:35:35 +0000 Received: from e.fraga by dip018.chemeng.ucl.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 10:35:35 +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 On 2008-12-08, David A. Gershman wrote: > > I have my "orgmode" structured in multiple files. However, every time I > save a file I wouldn't mind a "last modified" time stamp to be updated. > I thought emacs itself had something of this nature but I'm wondering > if anyone has a different idea/method, perhaps orgmode-specific. Can't help you with something orgmode specific but Emacs does indeed have something that will do this for you. Have a look at "time-stamp". You can have file specific settings for time-stamp. For my org files, I have #+DATE: 2008.12.05 18:43:01 as one of the first lines in the file and then have the following at the end: ---------------------------------------- cut here * COMMENT Local file settings for Emacs # Local Variables: # time-stamp-line-limit: 1000 # time-stamp-format: "%04y.%02m.%02d %02H:%02M:%02S" # time-stamp-active: t # time-stamp-start: "#\\+DATE:[ \t]*" # time-stamp-end: "$" # End: ---------------------------------------- cut here Hope this helps. -- Eric S Fraga, UCL BF >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.