From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Alan E. Davis" Newsgroups: gmane.emacs.help Subject: Re: Creating automatic filename stamps Date: Sat, 24 Nov 2018 00:03:22 -0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1543046554 11552 195.159.176.226 (24 Nov 2018 08:02:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2018 08:02:34 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 24 09:02:30 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 1gQSta-0002sv-9b for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 09:02:30 +0100 Original-Received: from localhost ([::1]:55600 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQSvg-00031D-UT for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Nov 2018 03:04:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQSvD-000313-O3 for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 03:04:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQSv9-0006T4-Te for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 03:04:11 -0500 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:38753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQSv7-0006M4-Um for help-gnu-emacs@gnu.org; Sat, 24 Nov 2018 03:04:06 -0500 Original-Received: by mail-pf1-x435.google.com with SMTP id q1so4267692pfi.5 for ; Sat, 24 Nov 2018 00:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XUaCBjtu3M6uh1jJUGfzom3b8R4ItGUDQbNdtzkQdpI=; b=AHqrCP/paIAuWQqgd0pJ+TeSfi63nqoQEmDJ2NyHgvIBkx/siVXjZIjAChqXCRuA3n /ITRWQ1BGCL69ysl+Qo5yZilX8RzGimxKSJ+dFxT43Qqzt3Vk2gd3DA4a0YnOOn/R/RM 2cHIugvpazeJzai9VwKEQTSu95k/DkCa9ztNtNNZt2X/lCPBvzOQPdePmJXduHZHcttb 11h6rN8osN3eYgbgYRaTHaDHbZY1H2WE7GmJAgYYVBfVe7JvHEDHAumMNQ8Stb/s0Hau NtcMhtRUTVFGcynRDFd/xPH9vAXo/wishmfQp37nkLN72F5H3ZvKOAtOgGoJ2tqiXz0m Omvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XUaCBjtu3M6uh1jJUGfzom3b8R4ItGUDQbNdtzkQdpI=; b=R7Jju+jrRqWE1ffBTEZ4wT4IQXGJBMAtBJfIpUp2APDoL8Bf2eUpBUzJOJaFud5oNQ whfjznYG1XXEWaQV5Y4Zmw7RuTIo9w1lOeYwO2jvtnGaJYip9cwCM3kZuyqG1i/RWJeg Lrfnw7vVp93lft4FQJxvbNUltiIln2FpTSCitEWlJTk0IOcZ9OT8qK4XZlTG9T1c6DXD hPRei6W7pApRTYA+6EBCTJ4syhTDhWcc8cwyqu8248M3J5zy6Km7sVNYTeYqTdumJWe1 HvH3jfvz7ogWFQSl3taQzpiuxd+RtonDaQ5ojW+BENg+vODVd1pCx70xUAq9PLvSZCur RTMA== X-Gm-Message-State: AA+aEWbTKuOUtO/P0ELxUo+Vf6XMQvjtY9wAxPowWnXhaKihxJ5IToIP p4NZhBZJKMkot6MFSazMESmaD53ausELLsVOfj8= X-Google-Smtp-Source: AFSGD/Ujc8Wup2NEYntAXXY6AbXXXSGJMhRe5Ily9Y6teTYaVOtUUko0AOptgbasJVKNNyhW1RwoA5u0H+3Pza3j0EY= X-Received: by 2002:a65:58ca:: with SMTP id e10mr15696459pgu.99.1543046642961; Sat, 24 Nov 2018 00:04:02 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::435 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:118740 Archived-At: Drew: Thank you for that pointer. I haven't gotten far in running this down, but I have discovered that the file you pointed to is different the another time-stamp.el I have in my cache of old *.el files. It is very similar, but that one was written by Stephen Gildea, and it includes a format parameter for the file name, or even full-path file name of the current file. What I would like to do with this is make some changes so that the current stamp is copied to another (possilby the next) line, before updating. If this is well designed, I would be able to track down changes after the name of the file has been changes. This has bee useful to me, many times. I will continue to fiddle with what I have. The old verson of time-stamp.el may or may not be the current canonical implementation. I don't know. Yet. I do not wish to attach the file I have, dated 2011, but marked as copyright 2010. I can provide that file on demand, with the understanding it is not guaranteed to be the original file, but I don't believe I have made changes of any consequence. I does allow definition of a time stamp format that inserts the file name. Alan On Mon, Nov 19, 2018 at 12:45 PM Drew Adams wrote: > > Some years ago---in the early 90s---I was working on a project with a > > number of files, moving files around and renaming. I was able to cobble > > together an elisp function to duplicate and extend the time-stamp > > functionality, to good effect, to help me keep track of the sources of > > changes. > > > > - Time-stamp the flle > > - Duplicate the previous time-stamp on the next line, (possibly in a > > list) > > - "File-stamp": record the current file name > > - Add the previous filename on the previous line, possibly as the > head > > of a list of all previous names for this file. > > Does this page help? > > https://www.emacswiki.org/emacs/TimeStamp > -- [Fill in the blanks] The use of corrupt manipulations and blatant rhetorical ploys ...--- outright lying, flagwaving, personal attacks, setting up phony alternatives, misdirection, jargon-mongering, evading key issues, feigning disinterested objectivity, willful misunderstanding of other points of view---suggests that ... lacks both credibility and evidence. ---- Edward Tufte (in context of making presentations)