mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
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
This commit is contained in:
parent
09e7bb0604
commit
5e86016cf9
18
etc/ORG-NEWS
18
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user