Possible bugs in org-babel-temp-stable-file (was: [PATCH] Add light argument to org-babel-lob-get-info)

2022-10-23 Thread Ferdinand Pieper
Ihor Radchenko writes: > Applied onto main. Thanks > Have you seen org-babel-temp-stable-file? I have not. Seems really useful, thanks for mentioning. I wrote my functions before org-babel-temp-stable-file was added, but seems I can simplify them now quite a bit. I noticed two possible bugs

Re: Possible bugs in org-babel-temp-stable-file (was: [PATCH] Add light argument to org-babel-lob-get-info)

2022-10-23 Thread Ihor Radchenko
Ferdinand Pieper writes: >> Have you seen org-babel-temp-stable-file? > > I have not. Seems really useful, thanks for mentioning. I wrote my functions > before org-babel-temp-stable-file was added, but seems I can simplify them > now quite a bit. > > I noticed two possible bugs in org-babel-tem

Re: [PATCH] Add light argument to org-babel-lob-get-info

2022-10-19 Thread Ihor Radchenko
Ferdinand Pieper writes: > Ihor Radchenko writes: > >> I'd prefer to change LIGHT to NO-EVAL, including in >> org-babel-get-src-block-info. Changing argument name in function does >> not affect its caller in any way. Just need to update the function body >> and docstring carefully. >> >> NO-EVAL

Re: [PATCH] Add light argument to org-babel-lob-get-info

2022-10-18 Thread Ferdinand Pieper
Ihor Radchenko writes: > I'd prefer to change LIGHT to NO-EVAL, including in > org-babel-get-src-block-info. Changing argument name in function does > not affect its caller in any way. Just need to update the function body > and docstring carefully. > > NO-EVAL is already used by org-babel-parse-

Re: [PATCH] Add light argument to org-babel-lob-get-info

2022-10-17 Thread Ihor Radchenko
Ferdinand Pieper writes: > Similar to ~org-babel-get-src-block-info~ it is sometimes useful to disable > evaluation of lisp parameters when getting the info of a lob call. This patch > adds an argument for that. > > Better name for the argument could be ~no-eval~, but I decided to stick with >

[PATCH] Add light argument to org-babel-lob-get-info

2022-10-16 Thread Ferdinand Pieper
Similar to ~org-babel-get-src-block-info~ it is sometimes useful to disable evaluation of lisp parameters when getting the info of a lob call. This patch adds an argument for that. Better name for the argument could be ~no-eval~, but I decided to stick with the naming in ~org-babel-get-src-bloc