Re: [PATCH] Set Python shell in Org edit buffer

2024-01-07 Thread William Denton
On Sunday, January 7th, 2024 at 14:06, Jack Kamm wrote: > It looks like ob-R and ob-julia are the only languages that start > sessions on edit (based on grepping for "edit-prep" and > "associate-session"). > > I think their behavior is peculiar enough to have an ob-R/julia-specific > option on

Re: [PATCH] Set Python shell in Org edit buffer

2024-01-07 Thread Jack Kamm
Ihor Radchenko writes: > So, a good option could be > (1) removing (org-babel-comint-buffer-livep session) from > `org-src-associate-babel-session' > (2) Removing `org-babel-edit-prep:R' > > With the above, we can use `org-babel-python-associate-session' Sounds good to me. > I imagine that

Re: [PATCH] org-babel-demarcate-block: split using element API

2024-01-07 Thread gerard . vermeulen
On 04.01.2024 15:43, Ihor Radchenko wrote: gerard.vermeu...@posteo.net writes: Attached you'll find a new version of the patch that addresses your comments. I have modified the ERT test so that it checks most of your examples showing where the older versions of the patch failed. The test is

Re: bug#65734: [BUG] kill-whole-line on folded subtrees [9.6.8 (release_9.6.8-3-g21171d @ /home/w/usr/emacs/0/29/0/lisp/org/)]

2024-01-07 Thread Stefan Monnier
> The reported bug is a side effect of a feature when Org automatically > reveals hidden outlines that are "broken" due to edits and thus could > not be unfolded easily. For example, when destroying parent heading in a > folding subtree: I'd be in favor of changing `kill-whole-line` to do the

Re: [BUG] Get "Args out of range" when trying to link heading with completion from inside a footnote

2024-01-07 Thread Ihor Radchenko
Ihor Radchenko writes: > Yes, it is a real bug. > It has been reported previously in > https://list.orgmode.org/orgmode/db9pr06mb7753e0e548b2fb6614285847c6...@db9pr06mb7753.eurprd06.prod.outlook.com/ Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=97951352b --

Re: [BUG] completion-at-point for [[* only works at end of line [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)]

2024-01-07 Thread Ihor Radchenko
Ihor Radchenko writes: >> However, that only works if [[* is the last thing in the line. If there >> is something after point in that line, it fails with the following message: >> >> cl--assertion-failed: Assertion failed: (<= start (point)), #> 243 in foo.org>, 242 > > Confirmed. Fixed, on

Re: Feature request: export form feed as page break

2024-01-07 Thread Ihor Radchenko
Timothy writes: >> This is a fork of the ODT exporter in Emacs Orgmode. > > Should I take this to mean that the ox-odt.el in org-mode is no longer > actively > maintained? ox-odt.el in Org mode does not currently have a dedicated maintainer. So, it is maintained just as any other library

Re: [PATCH] Set Python shell in Org edit buffer

2024-01-07 Thread Ihor Radchenko
Jack Kamm writes: >> Now, the question is what to do with the existing implementation of >> `org-src-associate-babel-session'. It only runs >> org-babel--associate-session when >> >> (and session (not (string= session "none")) >> (org-babel-comint-buffer-livep session) >> (let ((f