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: Creating automatic filename stamps Date: Mon, 19 Nov 2018 11:50:40 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1542656986 3713 195.159.176.226 (19 Nov 2018 19:49:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2018 19:49:46 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 20:49:42 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 1gOpYE-0000ro-LH for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 20:49:42 +0100 Original-Received: from localhost ([::1]:58802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOpaL-00062u-8m for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 14:51:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOpZp-00062n-7l for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 14:51:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOpZo-0008AC-Dg for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 14:51:21 -0500 Original-Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:41193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOpZo-00088o-7T for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 14:51:20 -0500 Original-Received: by mail-pf1-x431.google.com with SMTP id b7so2121272pfi.8 for ; Mon, 19 Nov 2018 11:51:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=K5XhME+td9SUaiQxEP/KJKHbBk4Rqfu2S4Oih9fwWKM=; b=sCg10ueJSoRKO7qq/F3pdsVPm4U/84d4k4Lb8iPjNdVlzmWFotvjyqXfgcFhhK19vF 9nndNHJSN5A5N6w7DpgTY+wELuUFRua0mkgz7nqhlM2nk+ZD0VVp6Kc4K50HH5eAk3Ra I5Ik6Sn+YlIsJo1oPJ6nejFmOjoI8XLQzjccwZd98M5Ul7iaWnyPUrFjV1+ssBUai0FP O/tkPcPBuoKEjlFJrQfq4yAZVFFVFeqBxhCmNKYN/nlSEeujSy/rKbKxNjve0flN669o b95l1/E93Py9c2J127bhoo3P2Ba255ShkSZYlQ1Gpjh/JPEvxTUztnvynTay0En6k1Y3 SjJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=K5XhME+td9SUaiQxEP/KJKHbBk4Rqfu2S4Oih9fwWKM=; b=b0+Ia8jU4wHrKhIkbWai8fSA/MArrdvkjqtsMS2EyQd/87fXw/MNx+3PMW/badvPRx z6hW7cX9vz+YokK2WH2BodhJPFCcHFUVrBBp745C9sHKfdKoCTJanDbVKbpnaOKb3pJm OQwxTEO24NgwPUvJGipf7rvgNUcq8eFYeltcx3flND9rwFm5o43J5GexZh6Cf2wBfx2v Pj/SfRnhKW/x/NDxD9Aor8D0yE+cJ84jhNZGZcw08mXWR2Qpl4q8whcwg6QY8jlHfmCk /+t+WpqHJ3oTox+dQrFI803NeA+hTm29GGD/EWm2DC8AS4817jBMz9WMEKz5WxFe7Bss lNRA== X-Gm-Message-State: AGRZ1gL4Dhct6Euz2MgPzAeCLQgssKL4DnM4OkP5SHW3kEAw8RNzH7FW xHiQFCDQc5DQEAoU3slj/6fT0BsU3HrNfM7UCSixRw== X-Google-Smtp-Source: AJdET5cohKW9LvGUQc08AEk9umH0xAh/D6ZqKnsJy8//AaW5DX8EzLu3YY5iZuZxu1MuuW3vRq5farlr1Rx75isqHrQ= X-Received: by 2002:a62:1c83:: with SMTP id c125-v6mr19451728pfc.186.1542657078313; Mon, 19 Nov 2018 11:51:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::431 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:118716 Archived-At: 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)