Re: [BUG/FR] org-plot: replot on resize [9.7-pre (N/A @ /home/viz/lib/emacs/straight/build/org/)]

2024-06-16 Thread Visuwesh
[சனி ஜூன் 15, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >>> So, you can set DATA to (list (or dump-func 'org-plot/gnuplot-to-data) >>> table num-cols params) >> >> Done in the attached patch. > > Thanks! > >>;; Dump table to datafile >> - (let ((dump-func (plist-get type

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-16 Thread Visuwesh
[சனி ஜூன் 15, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> Sorry for the noise, I copied the wrong link in the commit message. >> Please see attached instead. > > Thanks! > I have some comments. > >> - (type (assoc (plist-get params :plot-type) >> -

Re: [BUG] orgalist send bug

2024-06-16 Thread Rustom Mody
Oops after sending the last mail, when I closed the debug window I see this warning window below ⛔ Warning (emacs): Org version mismatch. This warning usually appears when a built-in Org version is loaded prior to the more recent Org version. Version mismatch is commonly encountered in the

Re: [BUG] orgalist send bug

2024-06-16 Thread Rustom Mody
On Sun, Jun 16, 2024 at 5:42 PM Ihor Radchenko wrote: > > Please follow https://orgmode.org/manual/Feedback.html#Feedback > > 1. make repro 2. package-initialize (to get org-alist) 3. load file shown above 4. M-x orgalist-send-list Backtrace Debugger entered--Lisp error: (void-variable

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

2024-06-16 Thread Suhail Singh
Matt writes: > I agree, defining an alias within "org-babel-shell-initialize" seems > reasonable. However, it's important that "explicit-shell-file-name" > is set to the appropriate shell name. In your case, I suspect it's a > coincidence that aliasing "org-babel-sh-initiate-session" works. A

Re: ob-shell: async support in "shell" vs "bash"

2024-06-16 Thread Suhail Singh
Matt writes: > :async should work for all shell types. Thank you for confirming the expected behaviour. > Are you finding that it's not? No. However, on language-specific shell code blocks (e.g. "bash") org-lint reports warnings. > Regarding org-babel-header-args,

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

2024-06-16 Thread Matt
On Mon, 10 Jun 2024 04:48:10 +0200 Suhail Singh wrote --- > Currently (Org 9.7.3), org-babel-switch-to-session invokes > org-babel-initiate-session which tries to invoke > org-babel--initiate-session. On a related note, ob-shell defines > org-babel-sh-initiate-session (and uses it

Re: ob-shell: async support in "shell" vs "bash"

2024-06-16 Thread Matt
On Mon, 10 Jun 2024 04:33:26 +0200 Suhail Singh wrote --- > On my system both "shell" and "bash" language blocks use "bash" > However, the value of org-babel-header-args:lang differs: > > #+begin_src emacs-lisp :results value replace verbatim > org-babel-header-args:shell

Re: [BUG] "Stack overflow in regexp matcher" when tangling or noweb referencing large blocks [9.7.4 (9.7.4-1387e3 @ /home/andrea/.emacs.d/elpa/org-9.7.4/)]

2024-06-16 Thread Ihor Radchenko
Andrea writes: > Thanks again for Org Mode! > I recently moved to Org Mode 9.7 and I have a boring bug to share: > on tangling or :noweb yes <> src blocks, I get "Stack > overflow in regexp matcher". > > This was working with 9.6, maybe the regexp changed in a faulty way? The change was very

Re: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)]

2024-06-16 Thread Ihor Radchenko
Max Nikulin writes: >> +*** Trailing =-= is now allowed in plain links > > After a look into > > 7dcb1afb6 2021-03-24 21:27:24 +0800 Ihor Radchenko: Improve > org-link-plain-re > > I suspect, it worked prior to v9.5. Without a unit test it may be > accidentally broken again. No, it did not

Re: [BUG] Trailing dash is not included in link [9.7.3 (9.7.3-2f1844 @ /home/mwillcock/.emacs.d/elpa/org-9.7.3/)]

2024-06-16 Thread Max Nikulin
On 14/06/2024 21:04, Ihor Radchenko wrote: Morgan Willcock writes: i.e. Inserting "https://domain/test-; into the buffer will create a clickable link for "https://domain/test;. I improved the heuristics we use to detect plain links. Fixed, on main.

[BUG] Updating first subheading checkbox cookie resets parent cookie

2024-06-16 Thread Bruno Cardoso
Hello everyone, Consider the following tree: * Task [1/3] ** TODO test1 [/] - [x] a - [ ] b ** DONE test2 ** TODO test3 [/] - [X] x - [ ] y With point at the "test1" heading cookie ("[/]"), after =C-c C-c=, it gets updated to "[1/2]", but it also resets its parent's "Task" cookie to

Fw: place a header from an archive file back in its original location

2024-06-16 Thread JARZz
Is there any org-mode function (or even a package) that can place a header back in its original file from an archive based on the:ARCHIVE_FILE:? I understand this can be done with refile, but this a manual process which also requires the ARCHIVE properties to be cleaned. for context, I wrote

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-06-16 Thread Max Nikulin
On 15/06/2024 20:19, Ihor Radchenko wrote: The underlying cause is limitation of Emacs API for interactive shells - we cannot easily distinguish command output from prompt and other extra staff your shell/other interactive command spits into the buffer. So, we have to either filter output the

Re: Please document the caching and its user options

2024-06-16 Thread Ihor Radchenko
Daniel Clemente writes: > In particular, when setting (setq org-element-cache-persistent nil) > org-mode *should not* create an org-persist directory anywhere. And I > think it shouldn't activate org-persist timers (it does now) or hooks. > The user's preference should be respected. Nope.

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

2024-06-16 Thread Ihor Radchenko
Nafiz Islam writes: > I've updated my tests with `org-test-at-time' and updated the commit > message to fit within default column of 70. That does not help, unfortunately. My "0" time is still different from yours. If will be more reliable to use a specific timestamp. See other uses of

Re: [BUG] orgalist send bug

2024-06-16 Thread Ihor Radchenko
Rustom Mody writes: >> I cannot reproduce using the latest Org mode. >> >> > Maybe relevant to "cant reproduce" > > I tried to run it with make vanilla -- got the error of mismatching org > versions > Tried to remove the elc files as suggested in that error message -- the > error became more

Re: Please document the caching and its user options

2024-06-16 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: emacs-orgmode@gnu.org, emacs-de...@gnu.org, michael.albi...@gmx.de > Date: Sun, 16 Jun 2024 09:05:02 + > > Eli Zaretskii writes: > > >> I was referring to some kind of global option that defines cache > >> directory, data directory, etc. Something akin XDG. > >

Re: Pending contents in org documents

2024-06-16 Thread Ihor Radchenko
Bruno Barbier writes: >>- After failure, the "!" fringe indicator is visible, but it is not >> obvious at all that user can click to get details >> I first tried to click on the fringe itself to no avail. Then, I >> randomly clicked on the text and got the description buffer;

Re: Please document the caching and its user options

2024-06-16 Thread Ihor Radchenko
Eli Zaretskii writes: >> I was referring to some kind of global option that defines cache >> directory, data directory, etc. Something akin XDG. > > We already have xdg-cache-home (and a few others in xdg.el). Is that > what you meant? Yes, except that `xdg-cache-home' is limited: 1. It