From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rick Newsgroups: gmane.emacs.help Subject: Re: Using hhmts Timestamp in a tag, Feature Request Date: Tue, 17 Mar 2009 11:26:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <87tz5swnne.fsf@usenet.my.skamphausen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237315255 12871 80.91.229.12 (17 Mar 2009 18:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2009 18:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 17 19:42:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LjeEq-0004Bp-CC for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 19:42:08 +0100 Original-Received: from localhost ([127.0.0.1]:46324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjeDU-00026n-0N for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Mar 2009 14:40:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!j39g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 72.229.31.101 Original-X-Trace: posting.google.com 1237314377 7368 127.0.0.1 (17 Mar 2009 18:26:17 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 17 Mar 2009 18:26:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j39g2000yqn.googlegroups.com; posting-host=72.229.31.101; posting-account=P00DCwkAAADLGjeeNLW2ScEMDrdcXLo5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167725 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:63021 Archived-At: On Mar 17, 4:37=A0am, Stefan Kamphausen wrote: > Hi, > > I'd drop the hhmts-tags and switch to time-stamp. > > Put something like this into your emacs-init-file: > (require 'time-stamp) > (add-hook 'write-file-hooks 'time-stamp) ... Actually, I found I had to use: (add-hook 'before-save-hook 'time-stamp) instead to make it work. (Debian Emacs 22.2.1) Thanks again for pointing this out to me! Cheers! Rick