From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: automatic time-stamp Date: Wed, 4 May 2005 22:58:44 +0200 Message-ID: <33126d64c4b3361d8aab3102ca413291@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115252236 32171 80.91.229.2 (5 May 2005 00:17:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 00:17:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 05 02:17:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTU2y-0002lq-0h for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2005 02:16:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTUAN-0008BI-Du for geh-help-gnu-emacs@m.gmane.org; Wed, 04 May 2005 20:24:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DTR1j-0001ha-K0 for help-gnu-emacs@gnu.org; Wed, 04 May 2005 17:03:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DTR1g-0001ge-Ef for help-gnu-emacs@gnu.org; Wed, 04 May 2005 17:03:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTR1f-0001YY-Sy for help-gnu-emacs@gnu.org; Wed, 04 May 2005 17:03:24 -0400 Original-Received: from [217.72.192.209] (helo=smtp05.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DTR2J-00075v-Q0 for help-gnu-emacs@gnu.org; Wed, 04 May 2005 17:04:04 -0400 Original-Received: from [84.245.189.73] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #282) id 1DTQxM-00069K-00; Wed, 04 May 2005 22:58:56 +0200 In-Reply-To: Original-To: "Jeffrey L. Greer" X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26321 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26321 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)