Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!ll-xn!ames!pasteur!ucbvax!PEBBLES.BBN.COM!jr From: jr@PEBBLES.BBN.COM (John Robinson) Newsgroups: comp.emacs Subject: Re: Using the dribble file? Message-ID: <15357.576767052@pebbles> Date: 11 Apr 88 13:04:12 GMT References: <250@gould.doc.ic.ac.uk> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: jr@bbn.com Organization: The Internet Lines: 15 >> What I would like to know is - is there a command for replaying a file of >> keystrokes or perhaps for converting it to a file of lisp that can be obeyed >> (the latter would certainly be easier to modify) ? Yes to the first: read in the file and pick it up as a string to pass to execute-kbd-macro (see below). There have also been attempts at a macro-to-elisp converter posted here, but I don't think I saved one. execute-kbd-macro: Execute MACRO as string of editor command characters. If MACRO is a symbol, its function definition is used. COUNT is a repeat count, or nil for once, or 0 for infinite loop. /jr jr@bbn.com or jr@bbn.uucp