[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Async evaluation in ob-shell
From: |
Matt |
Subject: |
Re: [PATCH] Async evaluation in ob-shell |
Date: |
Wed, 01 Mar 2023 20:36:00 -0500 |
User-agent: |
Zoho Mail |
---- On Wed, 22 Feb 2023 05:29:59 -0500 Ihor Radchenko wrote ---
> > +(defun ob-shell-async-chunk-callback (string)
> > + "Filter applied to results before insertion.
> > +See `org-babel-comint-async-chunk-callback'."
> > + (replace-regexp-in-string (concat org-babel-sh-prompt "*") "" string))
>
> Why not using `comint-prompt-regexp'?
>
> > +(ert-deftest test-ob-shell/session-async-valid-header-arg-values ()
> > + "Test that session runs asynchronously for certain :async values."
> > + (let ((session-name
> > "test-ob-shell/session-async-valid-header-arg-values")
> > + (kill-buffer-query-functions nil))
> > + (cl-loop
>
> A simple `dolist' would do here. There is no reason to use `cl-loop'.
Great points! Changed.
0002-ob-shell-Add-async-evaluation.patch
Description: Binary data
- Re: [PATCH] Async evaluation in ob-shell,
Matt <=
- Re: [PATCH] Async evaluation in ob-shell, Ihor Radchenko, 2023/03/03
- Re: [PATCH] Async evaluation in ob-shell, Matt, 2023/03/03
- Re: [PATCH] Async evaluation in ob-shell, Ihor Radchenko, 2023/03/05
- Re: [PATCH] Async evaluation in ob-shell, Matt, 2023/03/06
- Re: [PATCH] Async evaluation in ob-shell, Ihor Radchenko, 2023/03/07
- Re: [PATCH] Async evaluation in ob-shell, Matt, 2023/03/09
- Re: [PATCH] Async evaluation in ob-shell, Max Nikulin, 2023/03/09
- Re: [PATCH] Async evaluation in ob-shell, Jack Kamm, 2023/03/12
- Re: [PATCH] Async evaluation in ob-shell, Ihor Radchenko, 2023/03/18
- Re: [PATCH] Async evaluation in ob-shell, Matt, 2023/03/21