I did some editing. Then went to C-x C-k l edited the stuff to suit my needs. Saved it with C-c C-c. Gave it a name with C-x C-k b. Finally, went to ~/.emacs and did M-x insert-kbd-macro
To my surprise, it produced few words and a long series of numbers. I can still execute it using M-x macroname RET and edit it using C-x C-k e. So no problems.
But why those cryptic numbers in ~/.emacs?