Re: What is `org-html-prefer-user-labels' setting

2025-07-27 Thread Ihor Radchenko
Sébastien Gendre writes: > In ox-html.el, their is a custom that I can't understand : > `org-html-prefer-user-labels' > > I have read its doc string, but I still don't understand it. > > Can someone explain it ? Thank you very much. Export usually generates internal ids for references dynamicall

Re: Numeric priorities in Column View

2025-07-27 Thread Ihor Radchenko
"Jacob S. Gordon" writes: > Oh great! I’m new to this list too, so I don’t know what the > convention is. Maybe it’s replying to the older thread with this > different manifestation of the bug? Yeah, that would be most convenient. If everything relevant is in a single thread, it is easier to sea

Re: [PATCH] org-link: Add async-shell link

2025-07-27 Thread Ihor Radchenko
Ihor Radchenko writes: >> And with that syntax I can place any space that I want, without using >> the more typical link format [1] [[shell: inkscape &]] but > inkscape &> > > Maybe we can update the manual hinting about this feature. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/

Re: [Pre-PATCH] From ad-hoc to API: A function to get and test block boundaries in Org mode

2025-07-27 Thread Ihor Radchenko
Jens Schmidt writes: > It's been a while since my question on this mailing list about block > boundaries [1]. For my private code I came up with the function below > to both get and test on all sorts of block boundaries. Like this: > > (and-let* ((element (or element (org-element-at-point)))

Re: Suggestion: Link Org Src Python buffer to ob-python session for completions

2025-07-27 Thread Ihor Radchenko
Ângelo Lopes writes: > When editing Python blocks in Org Mode using C-c ', the temporary edit > buffer opened in python-mode is not automatically linked to the REPL > session defined via the :session header argument. This breaks important > features like auto-completion (python-shell-completion-a

Re: orgmode website loads a CSS from gnu.org

2025-07-27 Thread Ihor Radchenko
jman writes: > Quick question to Bastien about the website: because of the gnu.org downtime > I noticed that > orgmode.org loads the css from gnu.org so also the orgmode website was > affected. > I was curious about this choice - is there's a specific reason for loading > the CSS there or it'

Re: An idea of efficient calculation of Org-tables

2025-07-27 Thread Ihor Radchenko
"John Wiegley" writes: > 1. Use =org-table-to-lisp= to parse the Org table into a Lisp matrix (list of >lists). > > 2. Map through all of the cells in this matrix, converting each into a closure >that maps from a matrix of strings to a string. > >The work of each such closure is to ca

Re: Suggestion: Document `org-extend-today-until` in Clock Table section

2025-07-27 Thread Ihor Radchenko
Flinner Yuu writes: > > In the Clock Table[1] documentation, I think that > `org-extend-today-until` should be documented. For users that don't > start their day at 00:00 midnight due to overnight shifts. People seem > to be applying hacks around this [2] to get the desired effect. Agree. May

Re: Revert of commit "org-faces.el: Use fixed-pitch"

2025-07-27 Thread Ihor Radchenko
Sean Whitton writes: >> Looking at it now, it probably is safer to just ':inherit fixed-pitch'. It >> might not look nice on some platforms, though this should be fixed >> elsewhere. The goal is to avoid combining outline and bitmap fonts, if >> possible, especially given the default white backgr

Re: Revert of commit "org-faces.el: Use fixed-pitch"

2025-07-27 Thread Sean Whitton
Hello, On Sun 27 Jul 2025 at 05:18pm GMT, Ihor Radchenko wrote: > Sean Whitton writes: > >>> Looking at it now, it probably is safer to just ':inherit fixed-pitch'. It >>> might not look nice on some platforms, though this should be fixed >>> elsewhere. The goal is to avoid combining outline and

Re: Revert of commit "org-faces.el: Use fixed-pitch"

2025-07-27 Thread Sean Whitton
Hello, On Sun 27 Jul 2025 at 06:25pm +01, Sean Whitton wrote: > Hello, > > On Sun 27 Jul 2025 at 05:18pm GMT, Ihor Radchenko wrote: > >> Sean Whitton writes: >> Looking at it now, it probably is safer to just ':inherit fixed-pitch'. It might not look nice on some platforms, though this

Re: orgmode website loads a CSS from gnu.org

2025-07-27 Thread Ihor Radchenko
jman writes: > Honestly I don't remember anymore. Possibly I was referring to the orgmode > *manual* page > (https://orgmode.org/org.html) which yet loads a file from gnu.org: > > href="https://www.gnu.org/software/emacs/manual.css";> This one is certainly intentional. We simply follow Emacs

Re: How to put clock at right-hand side of mode line?

2025-07-27 Thread William Denton
On Friday, July 25th, 2025 at 11:20, Fraga, Eric wrote: > just as an example of a mode line that uses the > mode-line-format-right-align. Thanks! This got me off to a good start. I also watched Prot's video on mode lines¹ which was very helpful. I settled on this: (setq-default mode-line-fo

Re: 'auto configuration option for org-babel-python-command-nonsession

2025-07-27 Thread Jack Kamm
Ihor Radchenko writes: > Anush V writes: > >> Hello Org Maintainers, >> >> Is it possible to add an 'auto' option for the variable >> org-babel-python-command-nonsession, similar to how >> org-babel-python-command and org-babel-python-command-session already >> support it? > > I am not sure. 'au

Re: [BUG] evaluating isearch-forward to invisible text in org-mode breaks folding

2025-07-27 Thread Ihor Radchenko
Brett writes: > Create a 3-line file named foobar.org containing exactly this: > > * foo > ** bar > baz > > (So the first character of the file is *.) Type > > emacs -Q foobar.org > > and type > > TAB M-: (isearch-forward) RET b RET > > (this folds everything, then calls the isearch-forward func

Re: Status of the all-tex-fonts feature branch

2025-07-27 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > 1. Docs should be in sync with your last comments. Thanks! Some more comments: > + The language codes supported by Org is stored in the variable > + ~org-latex-language-alist~. *are stored > + By default, it is ~nil~ and multi-language documents are

[PATCH v3] ox-html: export timestamps via HTML5 element

2025-07-27 Thread Lukas Epple
On 7/27/25 15:55, Ihor Radchenko wrote: 1. You forgot to update the variable names from previous versions of the patch 2. :Now, ..., org will now use:. One "now" can be removed. Addressed in the attached patch. The four preceding patches haven't changed compared to . From cb6b598bc749892

Re: orgmode website loads a CSS from gnu.org

2025-07-27 Thread Ihor Radchenko
jman writes: >> This one is certainly intentional. We simply follow Emacs style of the >> manual. > > Just to clarify: my original report was that the outage of gnu.org took down > also the orgmode manual > pages, which was suprising and thought could be an unintended side-effect. > The websi

Re: orgmode website loads a CSS from gnu.org

2025-07-27 Thread jman
Ihor Radchenko writes: jman writes: Honestly I don't remember anymore. Possibly I was referring to the orgmode *manual* page (https://orgmode.org/org.html) which yet loads a file from gnu.org: https://www.gnu.org/software/emacs/manual.css";> This one is certainly intentional. We simply f

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-07-27 Thread Tor-björn Claesson
Ihor Radchenko writes: > Since there will be a another update on the patch, I am just posting what > I've done so far with this version. > ,@(pcase body > - (`((interactive . ,interactive-spec) . ,body) > - `((interactive ,@interactive-spec) ,body)) > +

Re: [PATCH] lisp/ob-screen.el: Support custom screen location and pass org-babel-screen-test

2025-07-27 Thread Ihor Radchenko
Ken Mankoff writes: > Subject: [PATCH 1/4] lisp/ob-screen.el (org-babel-screen-test): Test now > passes Please add the changelog entry to the commit message. > Subject: [PATCH 2/4] lisp/ob-screen.el: Support custom location for 'screen' > command > > * lisp/ob-screen.el: All direct calls to '

Re: [BUG] org-archive-subtree when archiving to same buffer, loses narrowing and folding

2025-07-27 Thread Ihor Radchenko
Benjamin McMillan writes: >> We cannot use `without-restriction' because it is only available since >> Emacs 29, while we still support Emacs 28. > > Got it! Will use (save-restriction (widen) ...) instead. Might as well just use org-with-wide-buffer I think. >> More importantly, this will like

Re: [PATCH v2] ox-html: export timestamps via HTML5 element

2025-07-27 Thread Ihor Radchenko
Lukas Epple writes: >> What is the motivation behind changing -- to EN DASH? > > This is not really a change. Previously, `org-html-timestamp' would > perform this replacement, but not `org-html-planning' nor > `org-html-clock'. When refactoring the code to use a common function > between thes

Re: [PATCH] Make org-yank-image-save-method dynamic.

2025-07-27 Thread Ihor Radchenko
Lockywolf writes: > Fixed all of the corrections. Thanks! Could you also attach the new version of the patch? >> This progn is redundant. > > I know, but I put it there intentionally, because seeing an `if' with > more than three subforms (condtition, left, right), seems to me > extremely ugly.

Re: [PATCH] Make org-yank-image-save-method dynamic.

2025-07-27 Thread Lockywolf
Ihor Radchenko writes: > Lockywolf writes: > >> Fixed all of the corrections. > > Thanks! Could you also attach the new version of the patch? > >>> This progn is redundant. >> >> I know, but I put it there intentionally, because seeing an `if' with >> more than three subforms (condtition, left,

Re: orgmode website loads a CSS from gnu.org

2025-07-27 Thread jman
Ihor Radchenko writes: I do not recall anything like that. I also cannot find references to gnu.org in our css files. Honestly I don't remember anymore. Possibly I was referring to the orgmode *manual* page (https://orgmode.org/org.html) which yet loads a file from gnu.org: https://www.gnu

Re: org element bug filling

2025-07-27 Thread Samuel Wales
below please find entire contents of warnings buffer [latest says look at redisplay trace buffer], followed by entire contents of redisplay trace buffer. -- Caught at Sat Jul 26 21:46:34 2025 Error: wrong-type-argument (number-or-marker-p nil) org-adaptive-fill-function() fill-match-adaptive

Re: [BUG] org-table-recalculate not fully completing its task

2025-07-27 Thread Ihor Radchenko
tbanelwebmin writes: > Here is a table with one column, and formulas for a future 2nd column. > > | n | > |---+ > | 1 | > | 2 | > | 3 | > #+TBLFM: $2=$1*11::@1$2=eleven > > Here is a test function: > > #+begin_src elisp > (defun test () >   (interactive) >   (let ((org-table-formula-create-colu

Re: how to make radio targets work when publishing to HTML (and other formats too, perhaps)?

2025-07-27 Thread Ihor Radchenko
Gregor Zattler writes: > in an org mode document I have rather at > the top a radio target > > <<> > > and near the end of the file the single > "word" 'mumpf' occurs. > > This works as a radio target within org > mode. > > But when /published/ to HTML, there is a > > mumpf > > and later a > > mu

Re: [BUG] Warning (files): Missing ‘lexical-binding’ cookie in "~/.org-timestamps/Nutzerdoku-org.cache". [9.8-pre (release_9.7.27-401-g493d4c @ /home/grfz/src/org-mode/lisp/)]

2025-07-27 Thread Ihor Radchenko
Gregor Zattler writes: > when publishing, I get the following > warning: > > Warning (files): Missing ‘lexical-binding’ cookie in > "~/.org-timestamps/Nutzerdoku-org.cache". > You can add one with ‘M-x elisp-enable-lexical-binding RET’. > See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Convertin

Re: [feature request] make yank-media backed by `org--image-yank-media-handler` support hashing image in clipboard as filename

2025-07-27 Thread Ihor Radchenko
stardiviner writes: > I hope the `yank-media` backed by `org--image-yank-media-handler` support > hashing image in clipboard as filename, so that the function > `org--image-yank-media-handler` can detect whether the clipboard image > already exists. > > Here is my PoC which is not finished. Hope

Re: [BUG] org-capture plain-text with function type target

2025-07-27 Thread Ihor Radchenko
Tianshu Wang writes: > I face similar issue with > https://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00676.html but > for plain text type. > > Here is the example for capturing plain text: > ... > ... > 4. The result of "test.org" becomes: > Plain Text > * Test Entry > But what I want

Re: 'auto configuration option for org-babel-python-command-nonsession

2025-07-27 Thread Ihor Radchenko
Anush V writes: > Hello Org Maintainers, > > Is it possible to add an 'auto' option for the variable > org-babel-python-command-nonsession, similar to how > org-babel-python-command and org-babel-python-command-session already > support it? I am not sure. 'auto implies `python-shell-interpreter'

Re: [BUG] Warning (files): Missing ‘lexical-binding’ cookie in "~/.org-timestamps/Nutzerdoku-org.cache". [9.8-pre (release_9.7.27-401-g493d4c @ /home/grfz/src/org-mode/lisp/)]

2025-07-27 Thread Gregor Zattler
Hi Ihor, * Ihor Radchenko [2025-07-27; 15:00 GMT]: > Gregor Zattler writes: > >> when publishing, I get the following >> warning: >> >> Warning (files): Missing ‘lexical-binding’ cookie in >> "~/.org-timestamps/Nutzerdoku-org.cache". >> You can add one with ‘M-x elisp-enable-lexical-binding RET’

Re: Status of the all-tex-fonts feature branch

2025-07-27 Thread Pedro Andres Aranda Gutierrez
On Sun, 27 Jul 2025 at 15:02, Ihor Radchenko wrote: > > Pedro Andres Aranda Gutierrez writes: > > > 1. Docs should be in sync with your last comments. > > Thanks! > Some more comments: > > > + The language codes supported by Org is stored in the variable > > + ~org-latex-language-alist~. > > *a

Re: [PATCH] Make org-yank-image-save-method dynamic.

2025-07-27 Thread Ihor Radchenko
Lockywolf writes: > Subject: [PATCH] lisp/org.el: generalise org-yank-image-save-method to be a > function Applied, onto main, with amendments. I changed the commit message, manual, and the news entry to follow the expected formatting. I also clarified that the function is called with no argume

Re: how to make radio targets work when publishing to HTML (and other formats too, perhaps)?

2025-07-27 Thread Gregor Zattler
Hi Ihor, * Ihor Radchenko [2025-07-27; 14:45 GMT]: > Gregor Zattler writes: > >> in an org mode document I have rather at >> the top a radio target >> >> <<> >> >> and near the end of the file the single >> "word" 'mumpf' occurs. >> >> This works as a radio target within org >> mode. >> >> But w

Re: Enhancement Request for org-babel (Support for :stdin, :stdout)

2025-07-27 Thread Ihor Radchenko
Ikki Tachikawa writes: > Is it possible to support Unix Standard Input (stdin), Standard Error > (stderr) connectivity to org-babel? Yes, but it may not be possible for some babel backends. In particular, stdin will be tricky for the backends that make use of comint repl rather than call a shell

Re: Disable creation of org-timestamps?

2025-07-27 Thread Ihor Radchenko
am...@32bit.cafe writes: > As far as I can tell, this would fall under 'feature request,' but if I've > missed the miracle variable I'm looking for that'd be great to hear about > too. > > It seems that, presently, when publishing an org-mode project, regardless > of the content of the org-publish

Re: Could org-lint-named-result check :exports before warning?

2025-07-27 Thread Ihor Radchenko
William Denton writes: > Here's something simple where `org-lint` gives a warning that isn't needed: > > # - > #+begin_src R :results value :colnames yes :exports results > 1 > #+end_src > > #+name: simple-table > #+caption: A simple table > #+RESULTS: > | x | > |---| > | 1 | > # - > > Ru