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-17 Thread Visuwesh
[திங்கள் ஜூன் 17, 2024] Ihor Radchenko wrote: > Visuwesh writes: > - (type (assoc (plist-get params :plot-type) - org-plot/preset-plot-types)) + (type (cdr (assoc (plist-get params :plot-type) + org-plot/preset-plot-types)))

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

2024-06-17 Thread Suhail Singh
Unlike example blocks, source code and fixed-width blocks don't support the attr_html keyword. Contrast these outputs: #+begin_src emacs-lisp :results value replace :wrap src html (require 'org) (require 'ox-html) (org-export-string-as "#+attr_html: :class foo ,#+begin_src sh

Re: [ANN] Org mode 9.7 is out

2024-06-17 Thread JD Smith
> On Jun 6, 2024, at 4:41 PM, Juergen Fenn wrote: > > > > Am 06.06.24 um 17:17 Uhr schrieb Ihor Radchenko: >> Juergen Fenn writes: >> >>> Am 06.06.24 um 08:20 Uhr schrieb Visuwesh: Thanks for the analysis. Given that Alan says GNUStep cannot handle non-text clipboard items, I

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

2024-06-17 Thread Cook, Malcolm
> So, my workaround is to: > > (setq comint-prompt-regexp "myname@myhost> ") > > Then the filtering works perfectly. > > Of course if I change my name, this will fail. Or, more likely, connect to a > different host within the shell. > > Or if I change PS1  > > It would be useful to

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

2024-06-17 Thread Cook, Malcolm
>>>TL;DR: It is complicated. When we pull one string out, several more >>>get entangled. >> >> Might there be a solution wherein both the interactive shell buffer and Org >> are talking to a common underlying process? I would expect such to be >> significantly more complicated, but perhaps

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

2024-06-17 Thread Al Haji-Ali
On 17/06/2024, Ihor Radchenko wrote: > Makes sense. > May you prepare a patch with the proposed change? > See https://orgmode.org/worg/org-contribute.html#first-patch It's not really a long patch, just involves calling `file-truename` instead of `expand-file-name` in a couple of places. diff

Re: [ANN] Org mode 9.7 is out

2024-06-17 Thread JD Smith
> On Jun 6, 2024, at 4:41 PM, Juergen Fenn wrote: > > > > Am 06.06.24 um 17:17 Uhr schrieb Ihor Radchenko: >> Juergen Fenn writes: >> >>> Am 06.06.24 um 08:20 Uhr schrieb Visuwesh: Thanks for the analysis. Given that Alan says GNUStep cannot handle non-text clipboard items, I

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

2024-06-17 Thread Raffael Stocker
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. Cheers, Raffael >From a94c25606164678b7887e9cc45c059b025f5140c Mon Sep 17 00:00:00 2001 From: Raffael Stocker Date: Mon, 17

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

2024-06-17 Thread Suhail Singh
Ihor Radchenko writes: > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5b366a731 #+begin_src diff (put fname 'definition-name 'org-babel-shell-initialize)) +(let ((fname (intern (concat "org-babel-prep-session:" name + (defalias

Re: [BUG] orgalist send bug

2024-06-17 Thread General discussions about Org-mode.
Hello, Ihor Radchenko writes: > I can reproduce. The problem is in > > ;; FIXME: Compatibility layer. Remove when > ;; we require at least Emacs 26.1. > (funcall (if (fboundp 'org-list-to-lisp) >

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

2024-06-17 Thread Ihor Radchenko
"Cook, Malcolm" writes: >>TL;DR: It is complicated. When we pull one string out, several more >>get entangled. > > Might there be a solution wherein both the interactive shell buffer and Org > are talking to a common underlying process? I would expect such to be > significantly more

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

2024-06-17 Thread Ihor Radchenko
Max Nikulin writes: > Some shells support "semantic shell" that allows terminal applications > e.g. to copy whole command output. It is based on escape sequences. > > - > https://docs.kde.org/stable5/en/konsole/konsole/semantic-shell-integration.html > - >

Re: [BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)]

2024-06-17 Thread Ihor Radchenko
Mehul Sanghvi writes: > For patches, I'll see what I can do, but my emacs-lisp is not very great. > Also wouldn't I need to sign some > documents with FSF in order to contribute? You do, but this particular change should be relatively trivial. If you can fit things within 15LOC (and there is a

Re: [BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)]

2024-06-17 Thread Mehul Sanghvi
On Sat, Jun 15, 2024 at 9:30 AM Ihor Radchenko wrote: > Mehul Sanghvi writes: > > > I would like to be able to set =:html-htmlize-output-type= on a > > per-project basis. That does not seem to be working. If I have > > ~htmlize.el~ installed and set =:html-htmlize-output-type css=, then I > >

[FR] place a header from an archive file back in its original location

2024-06-17 Thread Ihor Radchenko
JARZz writes: > 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

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

2024-06-17 Thread Ihor Radchenko
Al Haji-Ali writes: > I have `org-refile-use-outline-path` set to t, expecting that when refiling, > the filename should not appear in the list. However, because I am opening an > org file using a symblink and I have `find-file-visit-truename` set to `t`, > the test > > `(not (equal filename

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

2024-06-17 Thread Ihor Radchenko
Raffael Stocker writes: > in columnview dblocks, attribute and tblfm lines wander to the right > instead of staying in place when the table is re-evaluated (see the > example file in the appendix). This could be cured with a couple of > ‘string-trim-left’ applications in

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-17 Thread Ihor Radchenko
Visuwesh writes: >>> - (type (assoc (plist-get params :plot-type) >>> - org-plot/preset-plot-types)) >>> + (type (cdr (assoc (plist-get params :plot-type) >>> +org-plot/preset-plot-types))) >>> gnuplot-script) >> >> This may break

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

2024-06-17 Thread Ihor Radchenko
Visuwesh writes: > From a922946b3965e117dc3bbbe5a4f3c67dcc832d68 Mon Sep 17 00:00:00 2001 > From: Visuwesh > Date: Sat, 15 Jun 2024 10:25:19 +0530 > Subject: [PATCH] org-plot: Make data-file stable for replot-on-resize Applied, onto main.

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

2024-06-17 Thread Al Haji-Ali
I have `org-refile-use-outline-path` set to t, expecting that when refiling, the filename should not appear in the list. However, because I am opening an org file using a symblink and I have `find-file-visit-truename` set to `t`, the test `(not (equal filename (nth 1 x)))` in

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

2024-06-17 Thread Cook, Malcolm
#+begin_src sh printf 'a\nb\nc\n>d\n>>> #+end_src #+RESULTS: : a : b : c : d : >>> Huh? what happened to the ">" before the "d"? >>> >>>I cannot reproduce. >>>May it be that you are setting global :session header argument? >> >> Yes, of course, so

Re: [BUG] orgalist send bug

2024-06-17 Thread Ihor Radchenko
Rustom Mody writes: > 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) Please do M-: (require 'org-element) RET here. You are getting a mix of built-in

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

2024-06-17 Thread Ihor Radchenko
Suhail Singh writes: >> The alias would need to close over "explicit-shell-file-name" like is >> done with "org-babel-execute:name". > > And what should be done in the case of org-babel-shell-initiate-session? > Should shell-file-name and explicit-shell-file-name remain unaltered > from their

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

2024-06-17 Thread Ihor Radchenko
Suhail Singh writes: >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=40d1352b > > I believe there's a bug in that commit. Specifically, the commit > message states: > > #+begin_quote > Propagate base `org-babel-header-args:shell' > to`org-babel-header-args:'. >

Re: [BUG] Updating first subheading checkbox cookie resets parent cookie

2024-06-17 Thread Ihor Radchenko
Bruno Cardoso writes: > 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

Re: Strip out #+title in #+include

2024-06-17 Thread Risto Stevcev
I tried that, and it did sort of work, but the problem is that I need to do that for dozens of org roam files that may or may not have roam_refs, so it felt really fragile. On Mon, Jun 17, 2024, 16:34 Fraga, Eric wrote: > What I do in such cases is include the file starting at some line number

Re: Strip out #+title in #+include

2024-06-17 Thread Fraga, Eric
What I do in such cases is include the file starting at some line number that avoids the header information for that file (title, date, author, document settings). Example: #+include: "introduction.org" :lines "10-" -- : Eric S Fraga, with org release_9.7.3-44-g959534 in Emacs 30.0.50

Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines

2024-06-17 Thread Ihor Radchenko
Morgan Smith writes: >>> With the default `imenu-flatten' value of nil, it is still impossible >>> to visit non-leaf headlines and no change is perceived. >> >> But no regressions, right? Especially in older Emacs versions with >> `imenu-flatten' not yet available. >> > > No regressions that I

[BUG] Set `org-yank-image-save-method` setting affects org-capture errors on Windows systems [9.7.4 (release_9.7.4-7-g165319 @ f:/App/emacs/share/emacs/30.0.50/lisp/org/)]

2024-06-17 Thread ISouthRain
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: Please document the caching and its user options

2024-06-17 Thread Daniel Clemente
> > 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. "org-persist"

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

2024-06-17 Thread Ihor Radchenko
Ihor Radchenko writes: >> I'm a bit unsure about naming the option: >> Perhaps `org-cite-csl-sentence-case-bibtex-titles-without-langid' >> would be more precise but I found it absurdly long and technical, as >> most users are probably unaware of the existence of langid fields. > > Maybe

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

2024-06-17 Thread Raffael Stocker
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.