Re: keeping subtree heading on export

2024-04-26 Thread Matt Price
thanks for the response, Ihor -- reply inline below: On Fri, Apr 26, 2024 at 9:45 AM Ihor Radchenko wrote: > Matt Price writes: > > > ... I need to export each individual page > > of the "book" to its own markdown page. However, jupyter-book expects to > > find the title of the page in the

help: org-mode menu presence mysteriously disappearing and reappearing when I navigate the document

2024-04-26 Thread Cook, Malcolm
Hiya org-mode-philes, I have a org document that, when I navigate through it, the org-mode menu disappears and reappears. I am having trouble debugging this or creating a reproducible example and welcome any suggestions as to how to do either, or insight into what might be going on. I do use

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

2024-04-26 Thread Max Nikulin
On 26/04/2024 18:08, Ihor Radchenko wrote: Max Nikulin writes: My guess is that GPLv2 BASH on macOS does not support associative arrays. Perhaps these tests should be skipped if BASH_VERSION is not fresh enough (not supplied by Apple).

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

2024-04-26 Thread Alexander Adolf
Ihor Radchenko writes: > Bastien Guerry writes: > >> Ihor Radchenko writes: >> >>> Thanks! >>> The patch is ready to be merged. >>> Bastien, may you please confirm the FSF records? >>> Alexander should have the copyright signed. >> >> Yes, he has, thanks! > > Applied, onto main. > [...] >

Re: keeping subtree heading on export

2024-04-26 Thread Ihor Radchenko
Matt Price writes: > ... I need to export each individual page > of the "book" to its own markdown page. However, jupyter-book expects to > find the title of the page in the initial first-level heading. So I'd like > to retain the subtree "title" as a first-level heading, and demote the >

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

2024-04-26 Thread Ihor Radchenko
Rudolf Adamkovič writes: > 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{}')}" >

Re: org-babel: complete control over org-babel-execute-src-block behavior

2024-04-26 Thread Ihor Radchenko
Justin Veilleux writes: > Hi. I'm currently trying to write a org-babel-julia backend and I am > having problems. The way I wanted it to work is by executing the code, > and then inserting the results block manually using > `org-babel-insert-result`. I would have passed either :output or a mime

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

2024-04-26 Thread Ihor Radchenko
Max Nikulin writes: > Actually script arguments (and :stdin) might be applied to python and at > least some other languages, so support of this feature should be moved > from ob-shell to common org-babel code. > > My point: > - header arguments should have as close as possible meaning across

[DISCUSSION] The meaning of :cmdline header argument across babel backends (was: [PATCH] Re: [BUG] ob-shell: :shebang changes interpretation of :cmdline)

2024-04-26 Thread Ihor Radchenko
Max Nikulin writes: > However looking wider, I do not like that :cmdline for ob-shell has > different meaning than for other languages, see e.g. ob-sql. Only for > shell this parameter is treated as arguments of a *script*. In other > cases :cmdline is used to specify arguments of

Re: [BUG] org-forward-paragraph [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-26 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use Reply All or Wide reply to keep the conversation public ] > Okay I can't reproduce with emacs -Q The next step is trying to pinpoint what is causing the problem in your config. If it is some Org mode option, please let us know. -- Ihor

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

2024-04-26 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Thanks! >> The patch is ready to be merged. >> Bastien, may you please confirm the FSF records? >> Alexander should have the copyright signed. > > Yes, he has, thanks! Applied, onto main.

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

2024-04-26 Thread Bastien Guerry
Ihor Radchenko writes: > Thanks! > The patch is ready to be merged. > Bastien, may you please confirm the FSF records? > Alexander should have the copyright signed. Yes, he has, thanks! -- Bastien Guerry

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

2024-04-26 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Hopefully all remarks addressed.. > Best, /PA Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f124b616d -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

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

2024-04-26 Thread Ihor Radchenko
Alexander Adolf writes: > 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,

Re: org-clock-display calculate clock time record wrong

2024-04-26 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I run "org-clock-display" command on an Org file. Here is the screenshot: See `org-clock-display-default-range'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [BUG] org-forward-paragraph [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2024-04-26 Thread Ihor Radchenko
Joe Gilder writes: > org-forward-paragraph stops working when it reaches a line that begins with an > org-link. > > It throws off this error: > > org-forward-paragraph: Wrong type argument: integer-or-marker-p, nil > > For example, in the following text, org-forward-paragraph gets stuck on that

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

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

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

2024-04-26 Thread Ihor Radchenko
Max Nikulin writes: >>> My guess is that GPLv2 BASH on macOS does not support associative >>> arrays. Perhaps these tests should be skipped if BASH_VERSION is not >>> fresh enough (not supplied by Apple). >> >> I guess so. Which bash versions should we cut off? > > /usr/share/doc/bash/NEWS.gz

Re: [PATCH] ox-publish: Do not store :title, :date, and :index in project cache

2024-04-26 Thread Ihor Radchenko
Ihor Radchenko writes: > This patch fixes situation when :title/:date/:index properties are > stored in the project cache and then not updated even when the > corresponding project file does get updated. Applied, onto main.

Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-26 Thread Max Nikulin
On 26/04/2024 15:17, Protesilaos Stavrou wrote: Since we are now using labels for the HTML export, I think it makes sense to optionally use those for the anchor tags as well. [...] +(defcustom org-html-footnote-use-label-for-anchor-text nil Another option may be to rely on the existing one:

Re: [BUG] bug in 'ox-man?

2024-04-26 Thread Ihor Radchenko
Ihor Radchenko writes: >> presumably one might have backslash sequences in example blocks, or in >> the main text, or ...? i don't know enough to have any idea if there is >> some general mechanism that might solve all those. > > See the attached tentative patch. Fixed, on main.

org-babel: complete control over org-babel-execute-src-block behavior

2024-04-26 Thread Justin Veilleux
Hi. I'm currently trying to write a org-babel-julia backend and I am having problems. The way I wanted it to work is by executing the code, and then inserting the results block manually using `org-babel-insert-result`. I would have passed either :output or a mime type (such as application/org)

HowTo: Upgrade org-mode installation from the command-line

2024-04-26 Thread Cook, Malcolm
The section on org-mode [[https://orgmode.org/org.html#Installation][Installation]] entitled "Using Emacs packaging system" might be improved with the following advice: ** Upgrade org-mode installation from the command-line The Emacs packaging system can be used to upgrade an org-mode

Can we add PLOT to org-element-multiple-keywords?

2024-04-26 Thread Jeff Trull
Hi all, I notice that multiple #+PLOT lines before a table will be coalesced and handled as one. However, this is accomplished through specific code in org-plot.el that does a reverse search through the buffer for additional lines. org-element has a built-in mechanism for this,

Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-26 Thread Protesilaos Stavrou
Hello again! A follow-up on the patches below: > From: Protesilaos Stavrou > Date: Fri, 26 Apr 2024 10:55:50 +0300 > [... 41 lines elided] > Thank you! I just tried it. I encountered two problems with it, which I > am addressing with the two attached patches (feel free to modify as > needed).

Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-04-26 Thread Protesilaos Stavrou
> From: Ihor Radchenko > Date: Sat, 13 Apr 2024 14:00:48 + > > Protesilaos Stavrou writes: > >> With regard to the disambiguation scheme, I am playing around with >> various scenaria to see how Org HTML export behaves. Using the >> following: >> ... >> This is test 2 >