astahlman / ob-async

Asynchronous src_block execution for org-babel
343 stars 32 forks source link

The :async keyword doesn't seem to work #5

Closed stsquad closed 7 years ago

stsquad commented 7 years ago

According to the documentation I should be able to async-ify the execution of org-babel blocks by adding the :async keyword. This doesn't seem to work when I C-c C-c blocks, only if I manually call M-x ob-async-org-babel-execute-src-block.

Looking at the code I can see there is an alias but I'm not sure what the magic for overriding based on keywords is meant to do.

astahlman commented 7 years ago

Have you added the ctrl-c ctrl-c hook as described in the README?

(add-to-list 'org-ctrl-c-ctrl-c-hook 'ob-async-org-babel-execute-src-block)

stsquad commented 7 years ago

doh my bad. I did try searching for :async through the org files but missed the setup on the front page. I was obviously entranced by the animated gif ;-)