shime / emacs-livedown

Emacs plugin for Livedown.
115 stars 6 forks source link

Can't edit buffer after livedown:preview #1

Open paidi opened 9 years ago

paidi commented 9 years ago

After calling livedown:preview I can no longer edit my buffer. It looks like emacs is waiting for the livedown process to return before returning control to the editor.

I made a tiny change, substituting async-shell-command for call-process-shell-command, which seems to work (https://github.com/paidi/emacs-livedown/commit/bc87c3ab91dce85217177d3579cb336ab62fcaf0)

nephewtom commented 9 years ago

Same here. I don't know how the Look ma, realtime! of the animated image demo was done. It does not work for me.

Using async-shell-command seems to make emacs respond, but it opens *Async Shell Command* buffer, and it would be nice if it was created in the background, i.e.: not visible.

Also, when modifying the markdown file again, it prompts in the minibuffer: A command is running in the default buffer. Use a new buffer? (yes or no), and it is annoying that appears each time for refreshing changes. Any solution?