emacs keyboard macro converted to function

2008-09-12 Thread Martin
In emacs I can record keyboard macro, name it with M-x name-last-kbd-macro snd save it in buffer with M-x insert-kbd-macro When I do this I get something like: (fset 'mymacro "\C-[OA\C-[OA\C-[OC\C-[OC") I would like to have something like this: (defun mymacro () (previous-line 1)

emacs keyboard macro converted to function

2008-08-24 Thread Misko
In emacs I can record keyboard macro, name it with M-x name-last-kbd-macro snd save it in buffer with M-x insert-kbd-macro When I do this I get something like: (fset 'mymacro "\C-[OA\C-[OA\C-[OC\C-[OC") I would like to have something like this: (defun mymacro () (previous-line 1)