Skip to content

Conversation

@stsquad
Copy link
Contributor

@stsquad stsquad commented May 29, 2023

I was running into issues with buffer references being passed when async evaluating python code (I suspect similar to what @vidbina was seeing in #88, #89). As python has "native" :async support in the latest org-mode I wanted to use that without dumping ob-async entirely. This series does a light refactor on the skipping code and will also skip :session tagged jobs.

It also includes the previous PR #93.

…-block

Since 0625651e (Update to Org 9.6-3-ga4d38e) ob-async has been broken
on the emacs-29 branch. Fix this by expanding the function to include
&rest other-args and future proofing against org-mode adding new
arguments that ob-async doesn't need to see.

Fixes: astahlman#92
Signed-off-by: Alex Bennée <[email protected]>

---
v2
  - use &rest for the new arg
  - use apply to call the original function
v3
  - use other-args
We shall shortly be adding a new skip condition. Before that lets
re-factor the code into its own internal function.

Signed-off-by: Alex Bennée <[email protected]>
More recent versions of org-mode have proper support of async session
support so we shouldn't attempt to intercept those calls.

Signed-off-by: Alex Bennée <[email protected]>
@Lenbok Lenbok mentioned this pull request Aug 9, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant