🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189565

Nicer insert-kbd-macro function?

#189565
From: Jeff Sondeen
Date: Thu, 10 Jan 1991 19:18
23 lines
1218 bytes
;Is there a way to have kbd-macro's expanded into the current buffer with
;"real" elisp function names?  Insert-kbd-macro gives only the keys:

;(fset 'fixcif
;   ">
;what I want is:

(defun fixcif () ""
  (interactive)
  (let (var1)
    (goto-char (point-max))
    (forward-line -1)
    (setq var1 (point))
    (re-search-backward "^DF;")
    (forward-line 2)
    (kill-region var1 (point))
    (forward-line -2)
    (yank)))
-- 

/jeff	sondeen@isi.edu				"engineers were discouraged
		from bringing problems to the attention of their supervisors"
	-- John Magnus, final report, Hubble Space Telescope investigation
Technical Details
Message-ID: <16334@venera.isi.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!isi.edu!sondeen

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,a2562bc23901495e,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-01-11 05:20:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!isi.edu!sondeen
From: sondeen@isi.edu (Jeff Sondeen)
Newsgroups: gnu.emacs.help
Subject: Nicer insert-kbd-macro function?
Message-ID: <16334@venera.isi.edu>
Date: 10 Jan 91 19:18:02 GMT
Reply-To: sondeen@venera.isi.edu (Jeff Sondeen)
Distribution: gnu
Organization: Information Sciences Institute, Univ. of So. California
Lines: 23