unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: automatic time-stamp
Date: Wed, 4 May 2005 22:58:44 +0200	[thread overview]
Message-ID: <33126d64c4b3361d8aab3102ca413291@Web.DE> (raw)
In-Reply-To: <w6Ude.26842$r81.5612@trnddc02>


Am 04.05.2005 um 01:49 schrieb Jeffrey L. Greer:

> I am trying to configure automatic time-stamp for emacs 21

For me this worked on a few platforms:

	(add-hook 'write-file-hooks 'time-stamp)

+ a customization like

	 '(time-stamp-format "%:y-%02m-%02d %02H:%02M:%02S %u")

+ a manual addition to the file in its header like

	;    Time-stamp: <2005-05-03 18:39:53 pete>

This gets updated whenever you save the file. time-stamp-active is t by 
default as defined in time-stamp.el.

--
Greetings

   Pete

We are usually convinced more easily by reasons we have found ourselves 
than by those which have occurred to others.
(Blaise Pascal)

      parent reply	other threads:[~2005-05-04 20:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 23:49 automatic time-stamp Jeffrey L. Greer
2005-05-04  6:46 ` Peter Tury
2005-05-04  6:50 ` Holger Sparr
2005-05-04  8:19 ` Tim X
2005-05-04 10:48   ` Jeffrey L. Greer
2005-05-04 20:58 ` Peter Dyballa [this message]

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33126d64c4b3361d8aab3102ca413291@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@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.
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).