Re: [PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-05-01 Thread Bastien
Hi Ivan, thanks for the explanations. I applied your patch in maint with commit 45ca597f9, adding a commit message to it. See https://orgmode.org/worg/org-contribute.html#commit-messages Thanks, -- Bastien

Re: [PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-30 Thread Ivan Sokolov
> what you want to do? I want to indent some sql in the src block in an org file. > what happens instead Buffer becomes unusable -- text is entered in the opposite direction until the Org-Src buffer is closed. NOTE: I am not opening this buffer myself, it is opened by org-indent-line, but is not

Re: [PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-30 Thread Bastien
Hi Ivan, thanks for the bug report. Ivan Sokolov writes: > user-error in sql-set-product interrupts normal execution flow in > org-indent-line for sql blocks without :engine. Sorry, I don't really understand what is the exact problem here. Can you restate it by explaining what you want to do,

[PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-20 Thread Ivan Sokolov
user-error in sql-set-product interrupts normal execution flow in org-indent-line for sql blocks without :engine. Provided patch is not the best solution, but I do not have the time or inclination to mess around with anything outside of the org-mode itself. >From 8768e1c245ab0c0d2d8f8ac830f39ac89