[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Has anybody got a tool for manipulating dribble files?
From: |
Alan Mackenzie |
Subject: |
Re: Has anybody got a tool for manipulating dribble files? |
Date: |
Thu, 13 Oct 2011 21:05:57 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi, Michael.
On Wed, Oct 12, 2011 at 10:21:26PM -0400, Michael Welsh Duggan wrote:
> Alan Mackenzie <address@hidden> writes:
> > Hi, Emacs.
> > I've got a rather largish dribble-file (thanks Michael!) for recreating
> > a bug. Does anybody here have or know about a tool which can replay
> > (partially or wholly) such a file, or anything similar?
> I asked this a little while ago, and got no response. So I wrote the
> following function:
[ .... ]
Excellent man!
> This function reads a dribble file and creates a keyboard macro from
> it. It is heuristic in nature. You cannot tell the difference between
> `RET' being pressed and the key sequence "<return>" in a dribble file,
> along with a couple of other similar things.
OK.
> Once you have the macro, it can then be edited using M-x edit-kbd-macro
> (of `C-x e'). Unfortunately, the macro will stop on any C-g or any
> command that raises an error, so the macro must be edited to elide
> these.
> In this particular case, I have done the work, and I will be posting an
> exact recipe for recreating the problem in Bug 9560. (Once nice thing
> about using a keyboard macro to replicate the problem is that you can
> trim it to look at intermediate state.)
:-)
> --
> Michael Welsh Duggan
> (address@hidden)
--
Alan Mackenzie (Nuremberg, Germany).