1

org-mode を使用して、コードのチャンクを含むレポートを作成しています。出力 (通常は PDF) を生成したい場合、org-mode はファイル内のすべてのコマンドを実行しますが、これで問題ありません。ただし、問題は、その実行中は emacs で他に何もできず、すべてのコマンドが終了するまで待たなければならず、永遠にかかる可能性があることです。

実行を非同期に行う方法はありますか、または少なくとも実行を開始したら停止する方法はありますか?

ご協力ありがとうございました!

4

1 に答える 1

1

It sounds like you should use this to avoid executing those blocks.

(setq org-export-babel-evaluate nil)

It doesn't make sense to run them asynchronously during export, because then the output won't be available for the report. Alternatively, you could try doing an asynchronous export. After you type C-c C-e then type C-a to turn async export on. That should do the export in another process, and not block your current one.

于 2016-02-22T00:43:20.077 に答える