Re: LaTeX export is broken with 'num:nil` and 'ALT_TITLE`

2024-12-29 Thread Pedro Andres Aranda Gutierrez
Hi, just an MWE to show how this can be done without ALT_TITLE. The first part is close to what Rudolf was looking for, so it might be something we could see to include in org-mode, right? Happy New Year, /PA On Fri, 27 Dec 2024 at 19:07, Pedro Andres Aranda Gutierrez < paag...@gmail.com> wrot

Re: Link preview generation with new link preview property

2024-12-29 Thread Björn Bidar
Karthik Chikmagalur writes: ... Considering this, it might be better to just split `org-link-preview-file' into two public functions, where the "inside" function accepts an image instead of a file. >>> >>> Agree. >>> Would you be interested to create a patch? >> >> Did you thi

Re: [BUG] org-link-preview-file emits image not supported in daemon [9.8-pre (release_9.7.10-127-g07dd3b @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2024-12-29 Thread Björn Bidar
Ihor Radchenko writes: > Karthik Chikmagalur writes: > I will remove that message from org-link-preview-file. >>> >>> +1 >> >> Patch attached. > > Thanks! > Applied, onto main, after adding a link to this thread to the commit > message. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2024-12-29 Thread Paul Stansell
> > Ok. Then, may you try another version of the patch? > sure, I've done it.

Re: [BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8566bc @ /home/arne/.emacs.d/elpa/org-9.7.13/)]

2024-12-29 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: >> Why? What's wrong with `org-element-begin' and `org-element-end'? > > I didn’t know that I could also use these ☺ > > What’s wrong is only that I had to fix showing the first paragraph of > articles on my website with this change:¹ > - (begin (plist-get (car

Re: [BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8566bc @ /home/arne/.emacs.d/elpa/org-9.7.13/)]

2024-12-29 Thread Dr. Arne Babenhauserheide
Ihor Radchenko writes: > "Dr. Arne Babenhauserheide" writes: > >> In the Org Element API article describes that all elements share :begin >> and :end: >> https://orgmode.org/worg/dev/org-element-api.html#fnr.1 > > Yes. > >> I don’t know where that changed, but I found that nowadays I have to use

Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue

2024-12-29 Thread Max Nikulin
On 28/12/2024 23:58, Ihor Radchenko wrote: Max Nikulin writes: I do not like "spawn empty page". See the attachment for another variant of wording. You modified more than just "spawn empty page". It was the trigger. What about the attached? After "TL;DR" I expect more verbose explanation

Re: [BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8566bc @ /home/arne/.emacs.d/elpa/org-9.7.13/)]

2024-12-29 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: > In the Org Element API article describes that all elements share :begin > and :end: > https://orgmode.org/worg/dev/org-element-api.html#fnr.1 Yes. > I don’t know where that changed, but I found that nowadays I have to use > `org-element-contents-begin' and

[BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8566bc @ /home/arne/.emacs.d/elpa/org-9.7.13/)]

2024-12-29 Thread Dr. Arne Babenhauserheide
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: Month-week and quarter-week datetrees (RFC and package announcement)

2024-12-29 Thread Ihor Radchenko
Jack Kamm writes: > I attach a pair of patches for this. Thanks! See my comments inline. > +(defun org-datetree-find-create-entry > +(time-grouping d &optional keep-restriction) > + "Find or create an entry for date D. > +TIME-GROUPING specifies the grouping levels of the datetree, and > +

Re: Month-week and quarter-week datetrees (RFC and package announcement)

2024-12-29 Thread Jack Kamm
Ihor Radchenko writes: > Jack Kamm writes: > >>> The API of `org-datetree--find-create' is generally very limiting. >>> It would be nice to come up with something less limiting. >> >> Thanks for the feedback -- I'll start working on something along these >> lines. Though this might take me a li

Re: [BUG] Inconsistent org-babel tangle behaviour

2024-12-29 Thread Ihor Radchenko
Thibaut Meyer writes: > I see. I just assumed that header arguments and switches were > "recognized" and not considered as the language if placed positionally > first. > >> Src block without language could indeed be tangled in your case. > > That would be indeed nice... > >> However, if the :tang