[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 5e86016cf9 2/2: NEWS entry for the new argument of
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 5e86016cf9 2/2: NEWS entry for the new argument of org-babel-comint-async-register |
Date: |
Fri, 1 Nov 2024 22:08:23 -0400 (EDT) |
branch: externals/org
commit 5e86016cf97d2f97dcf722e7c0733fa35f91a3d5
Author: Jack Kamm <jackkamm@gmail.com>
Commit: Jack Kamm <jackkamm@gmail.com>
NEWS entry for the new argument of org-babel-comint-async-register
The optional argument was added on bugfix branch, but we are adding
this extra NEWS entry on main. See also:
https://list.orgmode.org/875xpnrubg.fsf@localhost/T/#m179d313e1db284ff28eb4098129bb49418824a25
---
etc/ORG-NEWS | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 5d421172f8..de4f11b252 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -186,6 +186,24 @@ accept the INFO channel and return a string. This makes
it possible
to dynamically generate the content of the resulting ~<head>~ tag in
the resulting HTML document.
+*** ~org-babel-comint-async-register~: New optional argument controlling
prompt handling
+
+The new argument ~prompt-handling~ allows Babel languages to specify
+how prompts should be handled when passing output to
+~org-babel-comint-async-chunk-callback~. If equal to
+~filter-prompts~, prompts are removed beforehand, same as the
+default behavior of ~org-babel-comint-with-output~. If equal to
+~disable-prompt-filtering~, then the prompt filtering is skipped. If
+unset, then the default behavior is the same as ~filter-prompts~ for
+backwards compatibility.
+
+Prompt filtering is needed for some Babel languages, such as ob-shell,
+which leave extra prompts in the output as a side effect of
+evaluation. However other Babel languages, like ob-python, don't
+leave extra prompts after evaluation, and skipping the prompt
+filtering can be more robust for such languages (as this avoids
+removing false positive prompts).
+
** Miscellaneous
*** Org mode no longer prevents =flyspell= from spell-checking inside
=LOGBOOK= drawers