Re: [PATCH] lisp/ob-octave.el, was [PATCH] rfc: using ert-deftest with side-effects

2022-12-21 Thread Ihor Radchenko
Ihor Radchenko writes: >> Upon confirming the FSF copyright assignment, I have applied the patch >> onto bugfix. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=01c0ebee2 > > Your patch appears to not work in some environments: > > https://builds.sr.ht/~bzg/job/906710 > > Any i

Re: [BUG] org-latex-src-block-backend is directly used as variable instead of querying export option (was: [Syntax discussion] Should we treat src blocks without LANG as paragraphs?)

2022-12-21 Thread Ihor Radchenko
Timothy writes: > I can’t find this in my personal dev branch, but I can see it at > . > It seems I resolved this in > . > > Hmmm, the generated preamble comm

Re: [FR] Add support for racket images in org-babel

2022-12-21 Thread dalanicolai
Thanks for your answer! > You likely need to extend `org-babel-scheme--table-or-string' to > understand Image: type. > It looks to me that when `org-babel-execute:scheme` gets executed, then the result will not get inserted as a link, as that would require the results type 'file', right? >From t

Re: [BUG] commit 7048876f broke Figure link with caption [9.6 (release_9.6 @ /Users/powellb/src/org-mode/lisp/)]

2022-12-21 Thread Ihor Radchenko
Brian Powell writes: > It seems that the following commit broke the ability to link to a figure > with a caption. > > commit 7048876f6fa519513763c83bc5baa791420cddab > Author: Ihor Radchenko > Date: Tue Dec 13 11:44:22 2022 +0300 > > org-export-get-ordinal: Do not i

Re: [PATCH] Fix missing null check for tangle links during export

2022-12-21 Thread Ihor Radchenko
Tom Gillespie writes: > Hi, >Here is a patch that fixes broken tangling during export. I don't have a > simple reproduction, but was able to run git bisect to find the originating > commit. The commit text explains the issue in detail. Best, > Tom Thanks! Applied onto bugfix. https://git.sav

org-persist files in /tmp

2022-12-21 Thread Fraga, Eric
Dear all, for some reason, I am now getting many (tens) directories of the form org-persist-NN in /tmp. These seem to include an index file and a cache type sub-directory structure. Why are these there and does anything clean them up? I have nothing related to org-persist in my configuratio

Re: Bug? Error in HTML export of links with search options

2022-12-21 Thread Ihor Radchenko
Daniel Fleischer writes: > Org offers the ability to run a search inside a link, see (org) Search > Options. E.g. [[File.c::100]] to get to line 100 in File.c. When > exporting this to HTML I get the following error: > > org-export-data: Unable to resolve link: "‘recenter’ing a window that >

Re: Babel (scheme): Evaluation errors are not shown

2022-12-21 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> Note that we currently have no maintainer for ob-scheme and hence can >> only provide very limited support. New features are hard for us >> without experience with scheme and geiser. > > I volunteer to maintain `ob-scheme'. > > (I use Scheme

Re: org-persist files in /tmp

2022-12-21 Thread Ihor Radchenko
"Fraga, Eric" writes: > for some reason, I am now getting many (tens) directories of the form > org-persist-NN in /tmp. These seem to include an index file and a > cache type sub-directory structure. Why are these there and does > anything clean them up? > > I have nothing related to org-pe

Re: org-persist files in /tmp

2022-12-21 Thread Fraga, Eric
On Wednesday, 21 Dec 2022 at 15:06, Ihor Radchenko wrote: > If you run something like make test or emacs -Q + org, it is expected. > These are throwaway directories used by org-persist for emacs -Q. I am not explicitly running either of those (at the moment). I wonder if this is somehow related t

Re: org-persist files in /tmp

2022-12-21 Thread Ihor Radchenko
"Fraga, Eric" writes: > On Wednesday, 21 Dec 2022 at 15:06, Ihor Radchenko wrote: >> If you run something like make test or emacs -Q + org, it is expected. >> These are throwaway directories used by org-persist for emacs -Q. > > I am not explicitly running either of those (at the moment). > > I w

ob-groovy.el must be hand-loaded?

2022-12-21 Thread Galaxy Being
Don't know why, but in my "spare time" I snoop around Babel. So I've revisited Groovy in Babel and have found a bizarre situation where, yes, there appears an ob-groovy.el in my ~/.emacs.d/elpa/org-9.6/ , but I have to do a specific load-file to get it seen and functioning. And no, it's not because

Re: org-persist files in /tmp

2022-12-21 Thread William Denton
On 21 December 2022, Ihor Radchenko wrote: Could be. If so, it may indicate some issue with logic. The index should not be written if the only entry inside index file is index version itself. You should _not_ see something like ((:container ((index "2.7")) :persist-file "d0/5078fe-5e31-4ddb-

Re: org-persist files in /tmp

2022-12-21 Thread Ihor Radchenko
William Denton writes: >> You should _not_ see something like >> >> ((:container >> ((index "2.7")) >> :persist-file "d0/5078fe-5e31-4ddb-95a0-93ceae58df0c" :associated nil >> :expiry never :last-access 1671637032.483552 :last-access-hr >> "2022-12-21T18:37:12+0300")) >> >> as the only conten

Recommended way to work on main without upgrading Org?

2022-12-21 Thread Karthik Chikmagalur
Hi, I'm trying to work on the main branch of Org, with the intent of creating a patch. However, I need to continue using Org 9.5 for everyday work in a separate Emacs session as I can't have things breaking. Is there a recommended way to run two simultaneous instances of Emacs using two diffe

Re: Recommended way to work on main without upgrading Org?

2022-12-21 Thread General discussions about Org-mode.
Karthik Chikmagalur writes: > Hi, > > I'm trying to work on the main branch of Org, with the intent of creating a > patch. However, I need to continue using Org 9.5 for everyday work in a > separate Emacs session as I can't have things breaking. Is there a > recommended > way to run two simu

Re: org-persist files in /tmp

2022-12-21 Thread Greg Minshall
hi, Ihor, > Do we need to care about cleaning up /tmp? my two cents is that maybe one should not care so much about cleaning up /tmp, but i think it's worthwhile trying not to clutter it up too much. cheers, Greg

Re: Recommended way to work on main without upgrading Org?

2022-12-21 Thread Tim Cross
Karthik Chikmagalur writes: > Hi, > > I'm trying to work on the main branch of Org, with the intent of creating a > patch. > However, I need to continue using Org 9.5 for everyday work in a separate > Emacs session as > I can't have things breaking. Is there a recommended way to run two > s

Re: org-persist files in /tmp

2022-12-21 Thread Tim Cross
Ihor Radchenko writes: > "Fraga, Eric" writes: > >> for some reason, I am now getting many (tens) directories of the form >> org-persist-NN in /tmp. These seem to include an index file and a >> cache type sub-directory structure. Why are these there and does >> anything clean them up? >>

Re: Recommended way to work on main without upgrading Org?

2022-12-21 Thread Karthik Chikmagalur
I can get it to work with emacs -Q as well, and this is good for testing, thank you. But I'm looking for a way to retain the rest of my configuration and swap out Org as required. Otherwise I can't do any interactive development. Another alternative is to set up a completely different init di

Re: Recommended way to work on main without upgrading Org?

2022-12-21 Thread Greg Minshall
i would also think it would be possible to have two different straight recipes -- one for "org-mode", and one for "org-mode-test" -- which you would enable or disable (by editing .emacs, if no other way) on different invocations of emacs. and, be careful not to have both enabled at the same time!

Re: Recommended way to work on main without upgrading Org?

2022-12-21 Thread Milan Glacier
On 12/21/22 19:19, Karthik Chikmagalur wrote: Hi, I'm trying to work on the main branch of Org, with the intent of creating a patch. However, I need to continue using Org 9.5 for everyday work in a separate Emacs session as I can't have things breaking. Is there a recommended way to run two