[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix ob-python.el initiate session error with py-shell
From: |
Bastien |
Subject: |
Re: [PATCH] Fix ob-python.el initiate session error with py-shell |
Date: |
Thu, 20 Feb 2020 18:46:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi all,
in future releases of Org, we will move toward stricter rules on what
to accept as ob-* libraries and what modes these libraries should rely
upon.
This was briefly mentioned in this email:
https://lists.gnu.org/archive/html/emacs-orgmode/2020-02/msg00714.html
For example, we can have a rule that we don't include ob-* libraries
for languages that are not somehow known by Emacs. It would mean that
e.g. ob-clojure.el would have to live outside Org's core.
Also, for included ob-*, the idea would be to use the mode that are
bundled with Emacs core. For Python, it would mean that ob-python.el
should support python.el, not python-mode.el.
This is not to say that python.el is better than python-mode.el: I
have no opinion on this and I'm confident both meet different users.
But that's something to consider.
We can always have another ob-python-mode.el file for users who use
python-mode.el: even the names would make it clear that Org babel uses
one mode and not the other.
I suggest we have the discussion on such rules after Org 9.4, but in
the meantime, this is something you may consider when fixing hacking
on ob-python.el.
Best,
--
Bastien
- [PATCH] Fix ob-python.el initiate session error with py-shell, stardiviner, 2020/02/18
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Bastien, 2020/02/18
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Jack Kamm, 2020/02/18
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Jack Kamm, 2020/02/18
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Bastien, 2020/02/18
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, address@hidden, 2020/02/19
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Jack Kamm, 2020/02/19
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Bastien, 2020/02/19
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, stardiviner, 2020/02/20
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Andreas Röhler, 2020/02/20
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell,
Bastien <=
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Jack Kamm, 2020/02/20
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, Bastien, 2020/02/20
- Re: [PATCH] Fix ob-python.el initiate session error with py-shell, stardiviner, 2020/02/22