From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Automatic Timestamp Update
Date: Tue, 9 Dec 2008 09:45:05 +0000 [thread overview]
Message-ID: <slrngjsfh1.7f5.e.fraga@eeepc.chemeng.ucl.ac.uk> (raw)
In-Reply-To: 20081208204757.32D07320057@mail.dagertech.net
On 2008-12-08, David A. Gershman <dagershman@dagertech.net> 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 >++++++++++[>++++++++++>+++++++++++[<]>-]>++.>++++.<-----.++++++.------.
next prev parent reply other threads:[~2008-12-09 10:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 20:47 Automatic Timestamp Update David A. Gershman
2008-12-09 9:45 ` Eric S Fraga [this message]
2008-12-09 14:03 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrngjsfh1.7f5.e.fraga@eeepc.chemeng.ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).