From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Automatic Timestamp Update Date: Tue, 9 Dec 2008 14:03:51 +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 1LA5rE-0007pP-Fk for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 11:54:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LA5rC-0007oX-Jw for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 11:54:47 -0500 Received: from [199.232.76.173] (port=43764 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA5rC-0007oQ-Bk for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 11:54:46 -0500 Received: from main.gmane.org ([80.91.229.2]:41679 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 1LA5rB-00008H-Rc for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 11:54:46 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LA5r9-00062W-AD for emacs-orgmode@gnu.org; Tue, 09 Dec 2008 16:54:43 +0000 Received: from 79-73-58-6.dynamic.dsl.as9105.com ([79.73.58.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 16:54:43 +0000 Received: from e.fraga by 79-73-58-6.dynamic.dsl.as9105.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2008 16:54:43 +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-09, Eric S Fraga wrote: > 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. > [...] I should have also added that, besides the bits in the org files, you need to add the time-stamp command to the write-file-hook list so that time-stamp is automatically invoked whenever you write the file out: (add-hook 'write-file-hooks 'time-stamp) This should be in your .emacs (or equivalent). -- Eric S Fraga, UCL BF >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.