Raju Gandhi <
raju....@gmail.com> writes:
> I seem to have a similar problem as Tu Hoang Do .
>
> Here is the macro I am trying to record (I have a selected region in a buffer) - I want to htmlize-region, and save the resulting buffer in a file called code.html
> (SInce the file already exists emacs asks for a confirmation prior to overriding the file) - then kill the buffer and disable the selection.
>
> Macro:
>
> M-x ;; helm-M-x
> htmlize-region ;; self-insert-command * 14
> RET ;; eshell-send-input
> C-x C-s ;; save-buffer
> code.html ;; self-insert-command * 9
> RET ;; eshell-send-input
> y ;; self-insert-command
> C-x k ;; kill-buffer
> RET ;; eshell-send-input
> C-SPC ;; set-mark-command
>
> When I run this macro I get "After 0 kbd macro iterations: helm: Error: Trying to run helm within a running helm session"
>
> Am I missing something really obvious here?