[FR] A more general case than footnotes

2023-10-13 Thread Maske
Hi Ihor It seems Rick gave a step towards the direction of links to points? It would seem that if the Search Option would be available for internal links, it would work. Then maybe we would just miss a convenient way for generating unique <>. Bests. On 09/10/2023 13:24, Ihor Radchenko wrote

Re: [proof of concept, tip] 'Templates with arguments' using org src blocks

2023-10-13 Thread Max Nikulin
On 06/10/2023 15:07, Juan Manuel Macías wrote: And, finally: ┌ │ #+header: :var table = table1 │ #+header: :var notes = "\\item [1] First note\n\\item [2] Second note" │ {{{template(tptable,table notes)}}} └ Usage is quite close to "#+call:", but it does not support specifying argumen

Re: Help me contribute to org

2023-10-13 Thread Ihor Radchenko
Ihor Radchenko writes: >> I have looked into the org-clock-clocktable-language-setup variable and I am >> not sure what do two of the columns mean: "L" (second after the language) >> and "ALL" (I do not know the context so I am not sure about how to translate >> it. >> Do you know where can I

Re: Logging previous SCHEDULED property before changing TODO state of a habit

2023-10-13 Thread Ihor Radchenko
Ilya Chernyshov writes: > Is there anything I can do with my Org config so that every time I > change the TODO state of my habit (example below), Org logs inactive > timestamp from SCHEDULED property before TODO state change? > > For example, I have this habit, which I have been forgetting to mar

Re: Clock becomes a paragraph by prefixing with not-really-affiliated-keyword

2023-10-13 Thread Ihor Radchenko
"Tom Alexander" writes: > This test document incorrectly parses as a paragraph: > ``` > #+NAME: foo > CLOCK: [2023-04-21 Fri 19:43] > ``` Fixed, on main. Also, fixed a similar edge case with inlinetask. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0d214ef00 -- Ihor Radchenko

Re: [BUG] org-babel-tangle may fail due to (org-babel-tangle-collect-blocks lang-re tangle-file) [9.6.9 ( @ /home/andrea/.emacs.d/elpa/org-9.6.9/)]

2023-10-13 Thread Ihor Radchenko
Andrea writes: > Thanks Ihor! I found out that there was (likely) an encoding issue on > one of the source block. I had something like: > :PROPERTIES: > :ID: some-id > :END: > > #+being_src emacs-lisp > > And trying to evaluate (org-babel-get-src-block-info 'no-eval) at the > beginning of the sou

Re: Exporting elisp: and shell: links

2023-10-13 Thread Max Nikulin
On 12/10/2023 18:35, Ihor Radchenko wrote: Max Nikulin writes: I like more how ox-ascii (without the proposed diff) handles the situation via footnote-like link. That is why I believe that extracting fragments of code into helper functions is important. If ox-ascii.el had a function that adds

[BUG] org-clock-auto-clockout does not actually use x11idle on X11 [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]

2023-10-13 Thread Vladimir Nikishkin
For some time I have been wondering why auto-clockout does not use x11idle on my machine. Today I finally got to studying this issue. Here is `org-clock-auto-clockout-insinuate' #+begin_src elisp (defun org-clock-auto-clockout-insinuate () "Set up hook for auto clocking out when Emacs is idle.