Re: problems with templates and ID in properties

2024-02-03 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >>> It might be changed. Currently, we mimic the behavior of >>> org-yank-subtree, so that we always insert captured entry under the >>> correct level regardless of the capture target. For example, when you >>> use OLP, the level will be

Re: Async Python src block behavior with :dir header property

2024-02-03 Thread Jack Kamm
Ihor Radchenko writes: >> I agree it's a problem -- if there are multiple blocks with the same >> session but different ":dir" arguments, then a ":file" result of the >> second block will be relative to the wrong :dir. >> >> This seems like a longstanding problem, and affects both async and >>

I'm not subscriber, but want to send a code.

2024-02-03 Thread Teika Kazura
Hi, list moderators. I'd like to submit a code to this mailing list without subscribing it. Or, if you can forward the following to the list. Thanks a lot for keeping this list. [Wishitem] Show the current node name in the

Re: [BUG] org-format-latex not respecting org-format-latex-options :matchers

2024-02-03 Thread Ihor Radchenko
[ CCing Timothy and Karthic ] Jacob Fong writes: > It appears that the math-matching regexes are hard-coded in > `org-format-latex`, as seen in this line: > > ``` > (let* ((math-regexp "\\$\\|[([]\\|^[ \t]*begin{[A-Za-z0-9*]+}") > ``` > > As a result of this, :matchers does not work as

Re: problems with templates and ID in properties

2024-02-03 Thread Ihor Radchenko
Uwe Brauer writes: >> It might be changed. Currently, we mimic the behavior of >> org-yank-subtree, so that we always insert captured entry under the >> correct level regardless of the capture target. For example, when you >> use OLP, the level will be adjusted. > >> May you please explain more

[BUG] org-format-latex not respecting org-format-latex-options :matchers

2024-02-03 Thread Jacob Fong
Hey everyone, It appears that the math-matching regexes are hard-coded in `org-format-latex`, as seen in this line: ``` (let* ((math-regexp "\\$\\|[([]\\|^[ \t]*begin{[A-Za-z0-9*]+}") ``` As a result of this, :matchers does not work as documented, for example with `org-latex-preview`.

Re: problems with templates and ID in properties

2024-02-03 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer via "General discussions about Org-mode." > writes: >>> Uwe Brauer writes: >> >> Thanks for you answer >>> This is expected. As per `org-capture-templates' docstring, "entry" >>> capture type inserts top-level entries into files: >> >>> entry

Re: [BUG] No result exporting combined org-agenda files to icalendar [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]. It was: org-icalendar export problems

2024-02-03 Thread Jack Kamm
Ypo writes: > I can't share my private org files. And I find myself unable to isolate > the causes of the possible errors. One strategy that might help is to "bisect" the Org file by repeatedly splitting it into 2 files, and exporting each, to find where the problematic entries are. By

Re: Another low-hanging fruit

2024-02-03 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > This is another low hanging fruit. I was a bit annoyed to have to leave an > empty label for inlined footnotes (à la LaTeX)... I don't know if this > qualifies as a TINYCHANGE... Don't you have FSF copyright assignment? -- Ihor Radchenko // yantar92,

Re: Async Python src block behavior with :dir header property

2024-02-03 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> The patch generally looks reasonable, although I am slightly concerned >> about interaction between :dir and session we describe in the manual: >> >> When ‘dir’ is used with ‘session’, Org sets the starting directory >> for a new session.

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-03 Thread Ihor Radchenko
Samuel Wales writes: >> May you please elaborate what you want to add to the manual and where? > > had been merely thinking mentioning non-brittleness for newcomers. > in handling links. Isn't it already mentioned? ... In addition or alternatively, depending on the value of

Re: [BUG] No result exporting combined org-agenda files to icalendar [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]. It was: org-icalendar export problems

2024-02-03 Thread Ypo
Thanks, Ihor I can't share my private org files. And I find myself unable to isolate the causes of the possible errors. I think I will keep waiting till somebody shares an easy and robust way to get an .ics calendar from org files. Best! On 02/02/2024 22:25, Ihor Radchenko wrote: Ypo

Re: [BUG] No result exporting combined org-agenda files to icalendar [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]. It was: org-icalendar export problems

2024-02-03 Thread Fraga, Eric
On Saturday, 3 Feb 2024 at 13:13, Ypo wrote: > I think I will keep waiting till somebody shares an easy and robust > way to get an .ics calendar from org files. Not sure what you are expecting but I can show you my (elided) shell script that generates a single ics file from multiple org files:

Re: Bug: org-html-example-block can produce multiple class attributes [9.4 (9.4-dist @/usr/share/emacs/site-lisp/elpa/org-9.4/)]

2024-02-03 Thread Ihor Radchenko
Ihor Radchenko writes: > Joshua Honeycutt writes: > >> I added a class attribute to an example block as in: >> >>#+ATTR_HTML :class cmdout >>#+BEGIN_EXAMPLE >>text text text >>#+END_EXAMPLE >> >> I expected this to produce a html tag like: >> >> >> >> but the output was

Re: [BUG] org-insert-heading changed behavior with Emacs 29.2 [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.2/lisp/org/)]

2024-02-03 Thread gusbrs
Hi, On Sat, 3 Feb 2024 at 10:27, gusbrs wrote: > On Sat, 3 Feb 2024 at 09:32, Ihor Radchenko wrote: > > Would it make sense to add a new `org-blank-after-new-entry' > > customization that will provide explicit user control over what Org does > > when inserting a new heading? > > Looking from

Re: [BUG] org-insert-heading changed behavior with Emacs 29.2 [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.2/lisp/org/)]

2024-02-03 Thread gusbrs
Hi Ihor, Thanks for looking into this. On Sat, 3 Feb 2024 at 09:32, Ihor Radchenko wrote: > The number of blank lines after newly inserted is not defined by Org > mode, unlike the number of blank lines before heading that is controlled > by `org-blank-before-new-entry'. Well, "not defined" is

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-03 Thread Ihor Radchenko
"Rick Lupton" writes: > I see. Updated to get the search string first, before the possible > properties draw appears. > > To make this work I changed `org-link-precise-link-target': instead of > accepting the RELATIVE-TO argument and rejecting unsuitable targets > internally, it now sets a

Re: [BUG] org-insert-heading changed behavior with Emacs 29.2 [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.2/lisp/org/)]

2024-02-03 Thread Ihor Radchenko
gusbrs writes: > I recently upgraded to Emacs 29.2 (from 29.1) and observed that > `org-insert-heading-respect-content' has changed behavior with regard > to how it handles blank lines at the end of the entry at which the > command was called. > > Consider the following document (with "|"