From: Ihor Radchenko <yantar92@posteo.net>
To: Jack Kamm <jackkamm@gmail.com>
Cc: Nasser Alkmim <nasser.alkmim@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Async Python src block behavior with :dir header property
Date: Mon, 05 Feb 2024 14:10:32 +0000 [thread overview]
Message-ID: <87r0hr9f3b.fsf@localhost> (raw)
In-Reply-To: <877cjj915y.fsf@gmail.com>
Jack Kamm <jackkamm@gmail.com> writes:
> It's because ob-python starts the session in buffer "*pysession*" (it
> adds earmuffs around the session name when missing). So the following
> doesn't find the inferior Python:
Good point. Some backends indeed do not have comint buffer named the
same as :session name.
What we can do is to introduce a new backend template function
org-babel-session-buffer:<lang> that will be passed a session name and
src block params and return the session buffer name.
If such function is not defined, we fall back to assumption that session
buffer is named the same as the session.
WDYT?
--
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-02-05 14:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 7:29 Async Python src block behavior with :dir header property Nasser Alkmim
2024-01-31 11:23 ` Ihor Radchenko
2024-01-31 12:17 ` Nasser Alkmim
2024-01-31 12:47 ` Ihor Radchenko
2024-01-31 15:00 ` Nasser Alkmim
2024-01-31 16:21 ` Ihor Radchenko
2024-02-01 4:16 ` Jack Kamm
2024-02-01 8:40 ` Nasser Alkmim
2024-02-01 11:59 ` Ihor Radchenko
2024-02-03 1:20 ` Jack Kamm
2024-02-03 15:51 ` Ihor Radchenko
2024-02-04 1:26 ` Jack Kamm
2024-02-04 16:30 ` Ihor Radchenko
2024-02-05 0:59 ` Jack Kamm
2024-02-05 14:10 ` Ihor Radchenko [this message]
2024-02-06 6:56 ` Jack Kamm
2024-02-06 14:06 ` Ihor Radchenko
2024-02-08 3:08 ` Jack Kamm
2024-02-08 15:43 ` Ihor Radchenko
2024-02-08 17:46 ` Bruno Barbier
2024-02-10 18:14 ` Jack Kamm
2024-02-10 21:01 ` Ihor Radchenko
2024-02-13 9:43 ` Nasser Alkmim
2024-02-13 14:31 ` Ihor Radchenko
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=87r0hr9f3b.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jackkamm@gmail.com \
--cc=nasser.alkmim@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).