Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-24 Thread Pedro Andres Aranda Gutierrez
Hopefully all remarks addressed.. Best, /PA On Wed, 24 Apr 2024 at 19:05, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > Oops, you are right. My local copy got a bit messed up. > > > > Here is a hopefully clean patch. I have tried it out on a local > test-patch > > branch

[PATCH] updating org-plot.org on worg, was Re: Can we add PLOT to org-element-multiple-keywords?

2024-04-24 Thread Leo Butler
I looked at the documentation on worg for org-plot and much of it is out-of-date and/or no longer works (e.g. dead links, non-working examples). Attached is a patch for the first half of the documentation. The patch ends at the end of the section on 2d graphs. Comments are appreciated. I also ask

Re: columnview dynamic block - different time summing behaviour for EFFORT and CLOCKSUM

2024-04-24 Thread Alexander Adolf
Ihor Radchenko writes: > [...] >>> If you can, please add some more tests like mine checking >>> `org-columns--clean-item'. > [...] I have added one test for each new feature (headline linkification, and formatting function). Also, there's a third patch, which moves the call to `org-quote-vert'

Re: PATCH allow explicit style= in #+cite_export: biblatex

2024-04-24 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Oops, you are right. My local copy got a bit messed up. > > Here is a hopefully clean patch. I have tried it out on a local test-patch > branch of current main and it applied. Thanks! May you also add NEWS entry? Also, a few comments inline. > Subject:

Re: [BUG] No space after footnote with org-export-with-footnotes set to nil [9.6.1 ( @ /Users/test/.emacs.d/elpa/28.0/develop/org-9.6.1/)]

2024-04-24 Thread Max Nikulin
On 27/03/2023 21:16, Ihor Radchenko wrote: +++ b/etc/ORG-NEWS @@ -145,6 +145,27 @@ execution completes. The new ~:async~ header allows users to continue editing with Emacs while a ~:session~ block executes. ** Miscellaneous +*** Blank lines after removed objects are not retained during

Re: FAILED test-ob-shell/bash-uses-assoc-arrays

2024-04-24 Thread Max Nikulin
On 24/04/2024 19:54, Ihor Radchenko wrote: Max Nikulin writes: On 15/04/2024 23:46, Alexander Adolf wrote: FAILED test-ob-shell/bash-uses-assoc-arrays ((should (equal "two" (org-trim (org-babel-execute-src-block :form (equal "two" "three") :value nil :explanation

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-24 Thread Rudolf Adamkovič
Ihor Radchenko writes: > May you create a test for this with expected failure? Sure! Here is one: (should (equal "{B}" (org-test-with-temp-text "src_lua{return string.match('A {B} C', '%b{}')}" (org-babel-execute-src-block The return value from

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > P.S. #1 > > We still have an old bug where > > src_lua{return string.match("A {B} C", "%b{}")} > > is misjudged to be a table: > > org-babel-insert-result: Inline error: list result cannot be used May you create a test for this with expected failure? > P.S. #2 >

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-04-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > * etc/ORG-NEWS > (New and changed options): Describe the new option > 'org-babel-lua-multiple-values-separator'. > (New features): Describe the main change, as per the title of this > commit message. Thanks! Applied, onto main, after removing redundant :version

Re: FAILED test-ob-shell/bash-uses-assoc-arrays

2024-04-24 Thread Ihor Radchenko
Max Nikulin writes: > On 15/04/2024 23:46, Alexander Adolf wrote: >> FAILED test-ob-shell/bash-uses-assoc-arrays ((should (equal "two" >> (org-trim (org-babel-execute-src-block :form (equal "two" "three") >> :value nil :explanation (arrays-of-different-length 3 5 "two" "three" >>

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-24 Thread Ihor Radchenko
Max Nikulin writes: >> +shell-file-name > ... >> +(list shell-command-switch >> + (concat (file-local-name script-file) " " >> cmdline > > Using `shell-command-switch' unconditionally may lead to executing >

Re: [BUG] Exporting to text fails when there are broken links

2024-04-24 Thread Ihor Radchenko
Pablo Aguado writes: > #+NAME: source-broken-links-mark > #+begin_src org > ,#+OPTIONS: broken-links:mark > > ,* Some title > > ... > 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported > correctly to text. > #+end_src > > #+begin_src elisp :results output >

keeping subtree heading on export

2024-04-24 Thread Matt Price
I'm writing a primitive exporter for jupyter-book , which is a neat way to maintain static documentation and executable jupyter notebooks from the same source files. The source files are written in Myst flavored markdown , so I

FAILED test-ob-shell/bash-uses-assoc-arrays

2024-04-24 Thread Max Nikulin
On 15/04/2024 23:46, Alexander Adolf wrote: FAILED test-ob-shell/bash-uses-assoc-arrays ((should (equal "two" (org-trim (org-babel-execute-src-block :form (equal "two" "three") :value nil :explanation (arrays-of-different-length 3 5 "two" "three" first-mismatch-at 1)) FAILED

Re: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline

2024-04-24 Thread Max Nikulin
On 23/04/2024 17:28, Ihor Radchenko wrote: I propose the attached patch. +++ b/lisp/ob-shell.el @@ -322,14 +322,12 @@ (defun org-babel-sh-evaluate (session body params stdin cmdline) (with-temp-buffer (with-connection-local-variables (apply