From: Ihor Radchenko <yantar92@posteo.net>
To: Jack Kamm <jackkamm@gmail.com>
Cc: emacs-orgmode@gnu.org, jeremiejuste@gmail.com
Subject: Re: [PATCH] ob-comint,R,python: Options for more robust non-async session output
Date: Wed, 23 Oct 2024 17:24:08 +0000 [thread overview]
Message-ID: <87jzdyvikn.fsf@localhost> (raw)
In-Reply-To: <878qui3t7b.fsf@gmail.com>
Jack Kamm <jackkamm@gmail.com> writes:
> I've reattached the patch with this option removed, and also rebased
> onto latest main.
Thanks!
I think that we need to do the same things as with your
`org-babel-comint-async-register' patch: (1) ORG-NEWS; (2) possibly use
more descriptive values.
> - ;; Filter out prompts.
> - (org-babel-comint--prompt-filter string-buffer)))))
> + (if ,no-cleanup-prompt
> + (save-match-data
> + (string-match (regexp-quote ,eoe-indicator) string-buffer)
> + (org-babel-chomp (substring string-buffer 0 (match-beginning 0))))
> + (org-babel-comint--prompt-filter string-buffer))))))
May you please explain this additional filtering of eoe-indicator here?
Why did it become necessary and why you did not change anything when
NO-CLEANUP-PROMPT is nil - `org-babel-comint--prompt-filter' does
nothing about eoe-endicator.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-10-23 17:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 21:20 [PATCH] ob-comint,R,python: Options for more robust non-async session output Jack Kamm
2024-10-19 7:20 ` Ihor Radchenko
2024-10-21 5:45 ` Jack Kamm
2024-10-23 17:24 ` Ihor Radchenko [this message]
2024-11-03 18:05 ` Jack Kamm
2024-11-10 15:22 ` Ihor Radchenko
2024-11-13 4:09 ` Jack Kamm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzdyvikn.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jackkamm@gmail.com \
--cc=jeremiejuste@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).