Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronous process of pandoc in batch mode #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

minyez
Copy link

@minyez minyez commented Jul 23, 2024

This PR implements synchronous run of pandoc process when Emacs runs in batch mode.

It addresses #6, where the asynchronous pandoc process will be killed before successful conversion when the master process of Emacs exits. The feature is achieved by checking the noninteractive variable, following the suggestion in the issue.

@yantar92
Copy link
Member

It looks like some of the changes have nothing to do with running pandoc synchronously. May you please cleanup the pull request, leaving only relevant parts? You can create a separate request with unrelated improvements.

@minyez
Copy link
Author

minyez commented Aug 8, 2024

Hi @yantar92 thank you very much for checking and sorry for late reply. I'm not experienced in lisp programming and hence not sure which parts are irrelevant. To make pandoc run synchronously in batch mode, I use call-process after branching out from the noninteractive condition. It would be appreciated to hear your opinion.

@yantar92
Copy link
Member

Sorry, I confused things. May you please squash the commits into a single commit for easier review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants