Re: Please document the caching and its user options

2024-06-18 Thread tomas
On Wed, Jun 19, 2024 at 12:06:42AM +0200, Rudolf Adamkovič wrote: > Ihor Radchenko writes: > > > Can we instead store them in memory? Yes, but (1) it will make Emacs RAM > > consumption grow constantly and more and more previews are generated; > > (2) it will require significant changes in the Or

Re: Please document the caching and its user options

2024-06-18 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Can we instead store them in memory? Yes, but (1) it will make Emacs RAM > consumption grow constantly and more and more previews are generated; > (2) it will require significant changes in the Org mode codebase. And, (3) all previews would be lost every time one shuts d

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-18 Thread Al Haji-Ali
On 18/06/2024, Ihor Radchenko wrote: > Hmm. Thanks, but the patch does not apply on my side. > May you instead create a patch as a separate file, add the commit > message, and attach that patch file in the email reply? See attached. Best regards, -- Al >From 0efafc38b404bace9ff87e38349a6c64fc7b

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-06-18 Thread Punit Arya
Alright, I'll check it out when I upgrade to the latest version 9.7 from the ELPA repo. *Punit Arya* /Sent From Mozilla Thunderbird/ // On 2024-06-18 18:09, Ihor Radchenko wrote: Punit Arya writes: Sorry, I missed the "T" there in the command. The whole command is: printf "%(%F %T)T" I

Re: Please document the caching and its user options

2024-06-18 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: Eli Zaretskii , emacs-orgmode@gnu.org > Date: Tue, 18 Jun 2024 15:53:18 + > > Daniel Clemente writes: > > > What's the setting then to disable org-persist? I.e. to disable > > creating of files like ~/.cache/org-persist/gc-lock.eld > > Many people seem to want t

Re: Please document the caching and its user options

2024-06-18 Thread Ihor Radchenko
Eli Zaretskii writes: >> Can we instead store them in memory? Yes, but (1) it will make Emacs RAM >> consumption grow constantly and more and more previews are generated; >> (2) it will require significant changes in the Org mode codebase. > > I understand all that, but if the user wants it, and

Re: Please document the caching and its user options

2024-06-18 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: n142...@gmail.com, emacs-orgmode@gnu.org > Date: Tue, 18 Jun 2024 16:25:10 + > > Eli Zaretskii writes: > > >> It is impossible. We need to store files like latex previews > >> somewhere. This somewhere is org-persist-directory now. > > > > Sorry, I don't underst

Re: Please document the caching and its user options

2024-06-18 Thread Ihor Radchenko
Eli Zaretskii writes: >> It is impossible. We need to store files like latex previews >> somewhere. This somewhere is org-persist-directory now. > > Sorry, I don't understand: why do you need to store them as files? > Why not keep the previews in buffer(s)? In Org mode, in order to create latex

Re: [PATCH] oc-csl: New custom option `org-cite-csl-sentence-case-bibtex-titles'

2024-06-18 Thread András Simonyi
Dear Ihor, thanks for asking -- unfortunately, I've been absurdly busy in the last few weeks but it's getting better now, so I'm going to respond shortly with a new, hopefully final, version. best wishes, András On Mon, 17 Jun 2024 at 13:37, Ihor Radchenko wrote: > > Ihor Radchenko writes: > > >

Re: Please document the caching and its user options

2024-06-18 Thread Ihor Radchenko
Daniel Clemente writes: >> Nope. "org-persist" directory is not only used by org-element. If some >> other parts of Org need to cache something, they can also store cache >> there. >> > What's the setting then to disable org-persist? I.e. to disable > creating of files like ~/.cache/org-persist/g

Re: [PATCH] [BUG] Support attr_html in source code and fixed-width blocks

2024-06-18 Thread Ihor Radchenko
Suhail Singh writes: > Unlike example blocks, source code and fixed-width blocks don't support > the attr_html keyword. Contrast these outputs: > ... > The attached patches are a straight-forward copy-paste of relevant code > from org-html-example-block. It may be better to refactor this logic

Re: Build issues

2024-06-18 Thread Ihor Radchenko
Rustom Mody writes: > $ make up1 > > Some selected lines of output > > 1. I guess harmless > Loading /extra/pdsw/org-mode/mk/org-fixup.el (source)... > WARNING: No org-loaddefs.el file could be found from where org.el is loaded. > ... > 2. absent ob-vala > Cannot open load file: No such file or d

Re: [BUG] orgalist send bug

2024-06-18 Thread Ihor Radchenko
Rustom Mody writes: >> 1. make repro >> 2. download orgalist source code separately > > > All I can find is https://elpa.gnu.org/packages/orgalist.html > That has a link > https://elpa.gnu.org/packages/orgalist-1.14.tar > which is broken > ... > When I changed the 14 in the link to 15 I could dow

Re: [BUG] org-plot: Unable to use text xtics with type:2d (+ more) [9.7-pre (N/A @ /home/viz/lib/emacs/straight/build/org/)]

2024-06-18 Thread Ihor Radchenko
Visuwesh writes: >> So, your code is ok here. > > Thanks, so please find attached. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fed19a934 Fixed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Sup

Re: [BUG] org-refile-get-location a symlinked file [9.7-pre (release_9.6.29-1443-gb4d17c)]

2024-06-18 Thread Ihor Radchenko
Al Haji-Ali writes: > It's not really a long patch, just involves calling `file-truename` instead > of `expand-file-name` in a couple of places. > > diff --git a/lisp/org-refile.el b/lisp/org-refile.el > index 20b5fbd02..7c463bc67 100644 Hmm. Thanks, but the patch does not apply on my side. May

Re: [BUG] Columnview makes attributes wander [9.7.4 (9.7.4-1387e3 @ /home/rst/.emacs.d/elpa/org-9.7.4/)]

2024-06-18 Thread Ihor Radchenko
Raffael Stocker writes: > Ihor Radchenko writes: > >> May you please convert the diff into a proper patch, so that I can >> install it under your name? > > I gave it a try, please see the attachment. Thanks! Applied, onto bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1

Re: ob-shell: possibly missing initiate-session functions?

2024-06-18 Thread Ihor Radchenko
Suhail Singh writes: > Ihor Radchenko writes: > >> Fixed, on main. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5b366a731 > ... > Am I mistaken, or does something still need to be done about > org-babel-shell-initiate-session ? True. https://git.savannah.gnu.org/cgit/emacs

Re: [BUG] Warning on executing keyboard macro that inserts time-stamp [9.6.27 ( @ /home/punit/.emacs.d/elpa/org-9.6.27/)]

2024-06-18 Thread Ihor Radchenko
Punit Arya writes: > Sorry, I missed the "T" there in the command. The whole command is: > > printf "%(%F %T)T" > > I'm working on setting up the Org mode dev environment. Will try to > reproduce in that environment and update. I tried with this command using the latest Org release. I am unab

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-06-18 Thread Ihor Radchenko
Nafiz Islam writes: > >Why (t nil)? It would be more sensible to throw an error. > > I believe that was already addressed. > + (or final-headline + (error "Invalid headline: %S" headline Right, I was only looking at pcase, which did not appear to be changed. Applied, onto main, after some

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-06-18 Thread Nafiz Islam
I've attached the patch with all of the concerns addressed, hopefully. >Why (t nil)? It would be more sensible to throw an error. I believe that was already addressed. + (or final-headline + (error "Invalid headline: %S" headline From 4cf99be212757ad910b8bbf680171434c0e6b06c Mon Sep 17 00:

Re: [BUG] orgalist send bug

2024-06-18 Thread Rustom Mody
Playing around a little more only more confusing Earlier I thought: - Normal emacs startup gives warning on send - make repro startup makes it an error But now I find that even the make repro also gives warnings or errors unpredictably. [Normal startup was never giving errors; only warnings and

Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]'

2024-06-18 Thread Ihor Radchenko
Ihor Radchenko writes: > Sławomir Grochowski writes: > >> Thank you for asking. >> Yes, I would be interested. >> I will prepare a patch. > > May I know if you had a chance to work on this? Closed. The discussion continued in another thread: https://list.orgmode.org/orgmode/87frvyps27.fsf@local

Re: [BUG] org-publish: org-element--cache: Got empty parent while parsing [9.6.18 ( @ /home/arne/.emacs.d/elpa/org-9.6.18/)]

2024-06-18 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > - Requirements: mercurial, make, Emacs (naturally :)) > > hg clone https://hg.sr.ht/~arnebab/draketo > cd draketo > autoreconf -i > ./configure > make I tried to reproduce using this recipe, but I am unable to: [yantar92:/tmp/draketo] de

Build issues

2024-06-18 Thread Rustom Mody
Its possible that the other bug I reported on orgalist and mixed org is related to some build issues So heres a report $ make up1 Some selected lines of output 1. I guess harmless Loading /extra/pdsw/org-mode/mk/org-fixup.el (source)... WARNING: No org-loaddefs.el file could be found from where

Re: [BUG] Export does not read .dir-locals.el [9.7.3 (release_9.7.3 @ /usr/local/share/emacs/30.0.50/lisp/org/)]

2024-06-18 Thread Protesilaos Stavrou
> From: Ihor Radchenko > Date: Fri, 14 Jun 2024 14:27:12 + > > Protesilaos Stavrou writes: > >> I have noticed that the export mechanism does not read the local >> variables of a file when those come from a .dir-locals.el. > > It is expected - export happens in a separate buffer that only inh

Re: [BUG] orgalist send bug

2024-06-18 Thread Rustom Mody
On Tue, Jun 18, 2024 at 2:51 PM Nicolas Goaziou wrote: > > Hello, > > Rustom Mody writes: > > > I can confirm that with orgalist 1.15 the delete behavior has been > > corrected -- Thanks! > > The warning: > > ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org > > buffer # (

Re: [BUG] orgalist send bug

2024-06-18 Thread General discussions about Org-mode.
Hello, Rustom Mody writes: > I can confirm that with orgalist 1.15 the delete behavior has been > corrected -- Thanks! > The warning: > ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org > buffer # (text-mode) I think I fixed it in release freshly submitted release 1.16.

Re: [BUG] orgalist send bug

2024-06-18 Thread Rustom Mody
On Tue, Jun 18, 2024 at 1:09 PM Ihor Radchenko wrote: > > Rustom Mody writes: > > >> 1. make repro > >> 2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path) > >> > >> > > Doing that alone does not find orgalist-mode > > If I add: > > 3. load-file "/path/to/orgalist/folder/on/elpa/dir/orgali

Re: [BUG] orgalist send bug

2024-06-18 Thread Ihor Radchenko
Rustom Mody writes: >> 1. make repro >> 2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path) >> >> > Doing that alone does not find orgalist-mode > If I add: > 3. load-file "/path/to/orgalist/folder/on/elpa/dir/orgalist-autoloads.el" > > then orgalist minor mode starts > > But on M-x orgali

Re: [PATCH] lisp/org-clock.el (org-clock-sum): Rewrite regex using rx

2024-06-18 Thread Ihor Radchenko
Morgan Smith writes: > Ihor Radchenko writes: > >> So, in the message I linked, Nicolas (the major Org mode contributor) >> was not right. I hence need to fix the parser and update Org syntax >> page. This includes fixing `org-element-clock-line-re' to account for >> CLOCK: => 1:00 syntax. > > C