Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!purdue!haven!mimsy!nems!ark1!dsill From: dsill@ark1.nswc.navy.mil (Dave Sill) Newsgroups: comp.emacs Subject: Re: Readable keyboard macros ? Message-ID: <207@ark1.nswc.navy.mil> Date: 27 Oct 89 21:10:09 GMT References: <8910271557.AA28037@mail-gw.ncsl.nist.gov> Sender: news@ark1.nswc.navy.mil Reply-To: Dave Sill Organization: Naval Surface Warfare Center, Dahlgren VA Lines: 18 In article <8910271557.AA28037@mail-gw.ncsl.nist.gov>, konczal@MAIL-GW.NCSL.NIST.GOV (Joe Konczal) writes: > > I want to define a keyboard macro and I want to save it or edit it later. > > Ok, I use `start-kbd-macro' and `end-kbd-macro'. Then I call > > `insert-kbd-macro' and I only get the sequences of my keyboard. > > Use `name-last-kbd-macro' to give the macro a name, then use > `insert-kbd-macro' to insert the "lisp code" into the current buffer. I think he wants to get the *real* lisp code, not the key sequence lisp. Try: generate (2.0) 87-09-02 Ciaran A Byrne, tut.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/as-is/generate.el.Z Macro-to-elisp converter. Dave Sill (dsill@relay.nswc.navy.mil)