[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comint-output-filter-functions and multi-line input
From: |
Stefan Monnier |
Subject: |
Re: comint-output-filter-functions and multi-line input |
Date: |
Tue, 18 Oct 2022 09:38:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> There could be multiple such blocks in the script. And it may not be
> bash, but something else (fish, csh, posh, etc). Finding ways to do the
> wrapping for all the shell flavours will be maintenance hell.
>
> So, I'd prefer comint-based solution.
> Such solution may also benefit other comint uses beyond this specific
> issue with Org.
Comint is designed for interactive use.
You're trying to use to get output like you'd get from a batch use.
And you want it to work for "arbitrary" shells.
I think you can get 2 of the above 3 without too much trouble, but
combining all 3 is going to be really hard.
Stefan
Re: comint-output-filter-functions and multi-line input, Stefan Monnier, 2022/10/17