Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] HISTORY conversion to ChangeLog format

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] HISTORY conversion to ChangeLog format
  • Date: Tue, 30 Sep 2003 01:16:10 +0200

On Mon, Sep 29, 2003 at 06:50:36PM -0400, Sergey A. Lipnevich wrote:
> This program does the job:
> gawk 'BEGIN { print "-*- mode: change-log -*-" }; { gsub(/[[:blank:]]+/,
> " "); gsub(/* /, "") }; /^[[:blank:]][^a-z]/ { print "\t*" $0 };
> /^[[:blank:]][a-z]/ { print "\t " $0 }; /^[^[:blank:]]/ { print "\n" $0
> };' HISTORY
> Please try and let me know if you like what you see. The first
> instruction, mode: ..., is in order not to rename HISTORY to ChangeLog
> but make Emacs recognize the format of existing file.
>
> Sergey.

Doesn't look much different from what we've been using so far, where is
that script supposed to insert '*' characters? It did this on one line
in the MPlayer HISTORY file ...

Another note: the emacs mode line should be at the end of the file, not
the beginning to make editing easier. Also there should a vim line added
as well:
vim:syntax=changelog

--
Arwed v. Merkatz
Grimoire Guru for video
Grimoire Guru for xfce
Sourcemage GNU/Linux
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page