all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alan E. Davis" <lngndvs@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Creating automatic filename stamps
Date: Mon, 19 Nov 2018 11:50:40 -0800	[thread overview]
Message-ID: <CAF-1L2Qf_iMz2A-QMk0CVjJqLJO_kceZcFYZncBF=3SUuMD16g@mail.gmail.com> (raw)

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.

I need this functionality all the time, but I have lost the old
implementation.  It must have been simple, because I knew almost no elisp
at all.  But I believe I stole the "Time-stamp:" code, and modified it.

For years I have tried to locate another implementation.  It seems so
pivotal, to me, that I imagine others have implemented it, probably better
than I had.

I have given it a try, but have not even gotten close.  I would be grateful
for any suggestions how to go about implementing this functionality.

Alan Davis

-- 
[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)


             reply	other threads:[~2018-11-19 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 19:50 Alan E. Davis [this message]
2018-11-19 20:45 ` Creating automatic filename stamps Drew Adams
2018-11-24  8:03   ` Alan E. Davis
2018-11-24 16:33     ` Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF-1L2Qf_iMz2A-QMk0CVjJqLJO_kceZcFYZncBF=3SUuMD16g@mail.gmail.com' \
    --to=lngndvs@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.