Dear Drew, If I press C-h f , my machine doesn't know kmacro-exec-ring-item. It knows kmacro-call-macro kmacro-end-and-call-macro kmacro-end-call-mouse kmacro-end-macro kmacro-end-or-call-macro kmacro-keymap kmacro-start-macro kmacro-start-macro-or-insert-counter but nothing else. 2008/10/5 Drew Adams > I have recorded a macro and saved it in my .emacs-file. > But, unfortunately, if I run this macro, I get: > "Symbol's function definition is void: kmacro-exec-ring-item" > What is the meaning of this? > > [Please use plain-text messages for this mailing list.] > > What happens when you do `C-h f kmacro-exec-ring-item RET'? > > It should display something like this: > > ,---- > | kmacro-exec-ring-item is an autoloaded Lisp function in `kmacro'. > | (kmacro-exec-ring-item item arg) > | > | Execute item item from the macro ring. > `---- > > This function was added in Emacs 22, I believe. If you defined your macro > with > Emacs 22 or 23, and then tried to execute it with Emacs 20 or 21, that > might be > the problem. Dunno. > > If not, then try, before executing the macro, `M-x load-library kmacro'. > Does > that help? > > `kmacro-exec-ring-item' seems not to have been autoloaded by executing your > macro. It should be loaded automatically - it works for me. Which Emacs > release > are you using, how did you define your macro, and so on? Do you get the > same > result when you start with `emacs -q' (or `emacs -Q', if you have a recent > Emacs > release)? If not, something in your init file (.emacs) is causing a > problem. > >