From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: elisp problem! Date: Thu, 05 Feb 2004 10:02:38 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isil3nm9.fsf@emptyhost.emptydomain.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1075972733 7319 80.91.224.253 (5 Feb 2004 09:18:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2004 09:18:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 10:18:47 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aofep-000712-00 for ; Thu, 05 Feb 2004 10:18:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aofdw-0006zh-Vc for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2004 04:17:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1075971746 33162296 213.203.244.156 ([73968] 10430) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:iVskLdg4zFfLx2OjS2NKwRQFAas= Original-Xref: shelby.stanford.edu gnu.emacs.help:120710 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:16658 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16658 "hans nieuwenhuizen" writes: > I use emacs 21.2.1, have studied Cameron and Glickstein, and read most of > elisp-manual-21-2-7, emacs-lisp-intro-2.04, elisp-20.2.5, as well as the > underlying .texi files for searching subjects, but did not find even a > suggestion how to solve my problems. I have asked for a quotation for > the printed version but not yet received it and I would very much appreciate > to receive a hint from you how to solve this, or --- better --- hear what > books may contain what I need. Quite often, Emacs already has a package for what you want. For example, see the Autotype manual (C-h i d m Autotype RET) for automatically inserting stuff. > After an update I want emacs to change the 'Lastedit" date Emacs comes with time-stamp.el which is reasonably easy to use. However, by default it expects a somewhat different format of the given line. But time-stamp.el is configurable so you can get something that's closer to your format, at least. > and write the old date with a leading "Intermediate comment" lined > up wth the others under 'Changelog". Hm. Writing the old date does not automatically work. Hm. What to do? In any case, the indent-new-comment-line function is proably useful for inserting the ChangeLog stuff. Another way to get a similar effect is to use a revision control system, such as RCS. With RCS, you put $Log$ into the file and then RCS will take care of automatically writing the log message at that spot. Of course, this requires you to type C-x v v to create a new version, but I hope that's not too terrible. As an added value, you get access to old versions. Kai