unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "Alan E. Davis" <lngndvs@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: File-stamp implementation?
Date: Fri, 29 Jun 2018 22:40:11 -0700 (PDT)	[thread overview]
Message-ID: <800f341f-42c4-46e3-8437-99ec3eb69f83@default> (raw)
In-Reply-To: <CAF-1L2SN4=G7qTVwrjepuO8_5FyASnCedcBsCWGL531o=VHgiA@mail.gmail.com>

> 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.
> 
> Beneath the Time-stamp, was "File-stamp:" template.  I also kept a
> running
> list of the previous file names in the header.  First:
> 
> File-stamp: <>
> 
>    then
> 
> Previously:
> 
> 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.
> 
> 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#header2



      reply	other threads:[~2018-06-30  5:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-30  5:33 File-stamp implementation? Alan E. Davis
2018-06-30  5:40 ` Drew Adams [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=800f341f-42c4-46e3-8437-99ec3eb69f83@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=lngndvs@gmail.com \
    /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).