From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: File-stamp implementation? Date: Fri, 29 Jun 2018 22:40:11 -0700 (PDT) Message-ID: <800f341f-42c4-46e3-8437-99ec3eb69f83@default> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1530337131 25258 195.159.176.226 (30 Jun 2018 05:38:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2018 05:38:51 +0000 (UTC) To: "Alan E. Davis" , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 30 07:38:47 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZ8as-0006U1-Vx for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2018 07:38:47 +0200 Original-Received: from localhost ([::1]:45610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ8cy-0004kk-PT for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jun 2018 01:40:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ8cQ-0004kb-UH for help-gnu-emacs@gnu.org; Sat, 30 Jun 2018 01:40:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZ8cM-0003mL-Tw for help-gnu-emacs@gnu.org; Sat, 30 Jun 2018 01:40:22 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:55172) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fZ8cM-0003iS-Mh for help-gnu-emacs@gnu.org; Sat, 30 Jun 2018 01:40:18 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5U5cvLS139428; Sat, 30 Jun 2018 05:40:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=zItfsycVUOpK8gK8I0EcITcP5eSBO8wvCjk2CxvcBK8=; b=L0wRPmWcfKgN9WoXnksQVgO25UJiBEfYKYIyCSiSKxDwzG24FzfqbGdVcmGcpOQz6f23 SbQTm+8guzfsPRqGBgP41rGxTR/bnutiwYTFF69Svi6xvyOsVkN3cbFO8GMdjMCCyRKf PvRyTsir8UtnTZgPa1WiDhggvEpD7uWs9WSyhnFgrv/TkKGm4C+jyOqfHfLWNW5e6Kut Ni/6I1j3KBPlZzcZkiDBG73JqkfswFHQnL8xPm8qifTPTtk26C0B+HM1fhqE05wn62pt OTqw46SbLA5f6li8fpUsbhqNbcJcOhe7/WXxJojvqPdLaWw+HPy7p5O/cyX9jgjXYsLF 9A== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2jwyccg822-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Jun 2018 05:40:14 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5U5eDSZ027520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Jun 2018 05:40:13 GMT Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5U5eCxZ025873; Sat, 30 Jun 2018 05:40:13 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4705.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8939 signatures=668703 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=756 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806300064 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.79 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117307 Archived-At: > Some years ago, I had rewritten time-stamp.el as a useful file-stamp > function. I had a habit of changing filenames during a project, and > wished > to preserve a "bread crumb trail" of the previous file names, as well as > the ordinary "Time-stamp". At the time, I was sufficiently up to speed > on > Elisp to make the needed changes, and it worked fantastically. Ths very > idea of writing customization templates, along with the basic changes > themselves was discouraging for one of my limited programming abilities. >=20 > Beneath the Time-stamp, was "File-stamp:" template. I also kept a > running > list of the previous file names in the header. First: >=20 > File-stamp: <> >=20 > then >=20 > Previously: >=20 > Actually, the most important thing was the File-stamp: entry. One > previous > file version would be useful, and the previous name before a major change > would also be useful. >=20 > Does anyone have such a utility? I This page might help: https://www.emacswiki.org/emacs/TimeStamp And library `header2.el': https://www.emacswiki.org/emacs/download/header2.= el And its description: https://www.emacswiki.org/emacs/AutomaticFileHeaders#h= eader2