Re: [BUG] Org parser error: invalid search bound (wrong side of point) [9.7.7 (9.7.7-1ee080 @ /home/talmage/.emacs.d/elpa/org-9.7.7/)]

2024-07-17 Thread Ihor Radchenko
David Talmage writes: > What I did: I visited Planning.org, a big Org Mode file I use to plan an > extended motorcycle trip. > > What I expected: Emacs would load Planning.org, handing it off to Org > Mode to Do The Right Thing, as it usually does. > > What occurred: Emacs complained of a parsing

Re: Testing issues for Ada/SPARK support in Babel

2024-07-17 Thread Ihor Radchenko
Ihor Radchenko writes: >> If you don't mind, I attach here the patch in its current state for >> reviewing purposes. > > Sure. See my comments inline. > ... It has been two months since the last message in this thread. Francesc, did you have a chance to look into my comments? -- Ihor Radchenko

Re: Experimental public branch for inline special blocks

2024-07-17 Thread Ihor Radchenko
Juan Manuel Macías writes: > Well, next week I will continue commenting. I will try to stay up to > date with everything that is being discussed here. By the way, if > someone wants to collaborate on the branch, I can add them as a > contributor (I'm afraid it is necessary to have a GitLab accoun

Re: org-element--cache: Added org-data parent to non-headline element

2024-07-17 Thread mousebot
On 7/17/24 17:59, Ihor Radchenko wrote: martyhi...@riseup.net writes: (setq org-element--cache-self-verify 'backtrace) i have a backtrace from my file, but it contains information i don't want to post to a public mailing list (my essay/notes). i tried again in a partly lorem ipsum-ified fi

[BUG] Org parser error: invalid search bound (wrong side of point) [9.7.7 (9.7.7-1ee080 @ /home/talmage/.emacs.d/elpa/org-9.7.7/)]

2024-07-17 Thread David Talmage
What I did: I visited Planning.org, a big Org Mode file I use to plan an extended motorcycle trip. What I expected: Emacs would load Planning.org, handing it off to Org Mode to Do The Right Thing, as it usually does. What occurred: Emacs complained of a parsing error. -

Re: [SUMMARY] #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3

2024-07-17 Thread Suhail Singh
"Thomas S. Dye" writes: > Aloha Suhail, Aloha! > From my perspective, the quote is confused about the concept of "ownership". > ... > > With the distinction between a right of property and a right of person > in mind, it is clear that FSF does not claim ownership. Thank you for sharing your th

[PATCH v3.2] Re: [PATCH] add a function to only refresh inline images under current headline instead of global buffer

2024-07-17 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >>> I think that instead of changing the existing function, we can convert >>> your patch into a new function `org-toggle-inline-images-command' that >>> will be free to alter the argument order. We can then re-bind that >>> function in

Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements)

2024-07-17 Thread Nathaniel Nicandro
Ihor Radchenko writes: >> Some comments about the patch, as it currently stands, follow. >> >> - I've introduced two text properties `org-ansi' and >> `org-ansi-context'. >> >> The first is placed on the regions that actually contain ANSI >> sequences and holds information about the sequenc

Re: [SUMMARY] #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3

2024-07-17 Thread Thomas S. Dye
Aloha Suhail, Suhail Singh writes: Ihor Radchenko writes: https://list.orgmode.org/orgmode/87ppydmigz@gmail.com/t/#u Thank you for that reference. I also found a reference on lwn.net: . The article made an interesting observation, and one that I

Re: [SUMMARY] #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3

2024-07-17 Thread Suhail Singh
Ihor Radchenko writes: > https://list.orgmode.org/orgmode/87ppydmigz@gmail.com/t/#u Thank you for that reference. I also found a reference on lwn.net: . The article made an interesting observation, and one that I didn't know to be true: #+begin_quote Bu

Re: Possible bug getting bounds of URL at point?

2024-07-17 Thread Karl Fogel
On 17 Jul 2024, Ihor Radchenko wrote: The notion of "URL", and especially "URL at point" in Org mode needs to be special. Consider something like [[https://orgmode.org][this is a very long and /convoluted/ description of this url; all the text here is clickable as a link]]. Org mode will con

Re: org-element--cache: Added org-data parent to non-headline element

2024-07-17 Thread Ihor Radchenko
mousebot writes: >> It does not look like a complete backtrace. Was there anything else in >> the warning buffer? > > i copied the whole warning buffer after an error was triggered. Then, it looks like indirect buffer does not get registered for some reason. > i had another go: > > - i made a p

Re: org-element--cache: Added org-data parent to non-headline element

2024-07-17 Thread Ihor Radchenko
martyhi...@riseup.net writes: >> (setq org-element--cache-self-verify 'backtrace) >> > > i have a backtrace from my file, but it contains information i don't > want to post to a public mailing list (my essay/notes). i tried again > in a partly lorem ipsum-ified file and received the backtrace bel

Re: org-element--cache: Added org-data parent to non-headline element

2024-07-17 Thread martyhiatt
On 7/17/24 16:56, Ihor Radchenko wrote: [ Adding Org mailing list back to CC. Please use Reply All to keep the conversation public ] I think you actually wrote me privately, so reply all wasn't an option. am happy to now tho. martyhi...@riseup.net writes: i can confirm i can still cause

Re: Built a list of Org-mode files with Org-ql

2024-07-17 Thread Ihor Radchenko
Sébastien Gendre writes: > I have a directory with a few Org-mode files in it. And inside another > Org-mode file, I try to generate a table that list all the Org-mode > files of this directory. > > Each Org-mode file of this directory have a "#+TITLE", a "#+DATE" and a > "#+KEYWORDS" buffer sett

Re: HTML export: Force links that end in .jpg or .png to be exported as a tags

2024-07-17 Thread Ihor Radchenko
Rodrigo Morales writes: > My question is: How to force a link that end in =.jpg= or =.png= to be > exported as a =a= tag instead of an =img= tag? `org-html-inline-images'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org dev

HTML export: Force links that end in .jpg or .png to be exported as a tags

2024-07-17 Thread Rodrigo Morales
Consider the following Org document: #+HEADER: :tangle /tmp/a.org #+BEGIN_SRC org ,#+TITLE: My document ,#+DATE: 2024-07-17 This is a link that ends in html: foo https://example.org/a.html bar This is a link that ends in txt: foo https://example.org/a.txt bar This is a link that ends in jpg:

Re: org-element--cache: Added org-data parent to non-headline element

2024-07-17 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use Reply All to keep the conversation public ] martyhi...@riseup.net writes: > i can confirm i can still cause the problem having updated org. That is to Org >=9.7.4, right? > here's an example error, reproduced in the same way as the above: > > ⛔ W

Re: [SUMMARY] #9 [[bbb:OrgMeetup]] on Wed, July 10, 19:00 UTC+3

2024-07-17 Thread Ihor Radchenko
Suhail Singh writes: > Ihor Radchenko writes: > >> - Aside, built-in ox-odt has quite a history >> - Its original author is... (to say) no longer interested to deal >> with FSF copyright assignment (it was quite a drama at some point) > > Out of curiosity, would you happen to have a

Re: Possible bug getting bounds of URL at point?

2024-07-17 Thread Ihor Radchenko
Karl Fogel writes: > I admit that I don't immediately understand why this is a good > thing. The user asked for the bounds of the URL at point, but got > instead the bounds of some other thing (the Org "node"). > Especially in the case of a standalone URL, with no description > text, I don't

Re: [Bug] org-persist.el: xdg.el is unavailable in emacs-25.2

2024-07-17 Thread Ihor Radchenko
Ihor Radchenko writes: >> org.el in the main branch still declares >> >>> ;; Package-Requires: ((emacs "25.1")) This is no longer relevant. We only support Emacs 26+. Canceled. We will be dropping Emacs 26 as well once we start seeing breakage (Emacs 29 is the newest Emacs as for now, and we on

Re: [BUG] Emphasized text in *HEADLINE link target leaks through invisible text [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)]

2024-07-17 Thread Ihor Radchenko
Jens Schmidt writes: > - snip - > * foo =bar= baz > > * FOO BAR BAZ > > [[*foo =bar= baz][Link Title]] > - snip - > ... > =bar=Link Title > - snip - > >

Re: [BUG] org-indent-line edge case in empty Org mode buffer [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)]

2024-07-17 Thread Ihor Radchenko
Jens Schmidt writes: > The following sequence of commands: > > make vanilla > M-x org-mode RET > M-x erase-buffer RET SPC > M-: (setq org-adapt-indentation 'headline-data) > M-x org-indent-line RET Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode

Re: [BUG] Org parser error [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)]

2024-07-17 Thread Ihor Radchenko
Nina Lanyon writes: > I have no idea what was supposed to happen or why this occurred. > > Suddenly I received this message: > > > ⛔ Warning (org-element-cache): org-element--cache: Org parser error in > diary.org::1434902. Resetting. > The error was: (error "Invalid search bound (wrong side of

[BUG] Org parser error [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)]

2024-07-17 Thread Nina Lanyon
I have no idea what was supposed to happen or why this occurred. Suddenly I received this message: ⛔ Warning (org-element-cache): org-element--cache: Org parser error in diary.org::1434902. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: nil Please re