Re: Code Review Request: Step 1 for [FR] Allow emojis in tags (was: emojis in tags?)

2025-05-11 Thread Ihor Radchenko
Shuo Shen writes: > This is the first patch for the feature request: [FR] Allow emojis in > tags (was: emojis in tags?) > (https://list.orgmode.org/orgmode/87wn4pdarh.fsf@localhost/) (Note that the exact changes needed to support emoji or other things may need to be discussed first.) > It's my

[BUG] When call org-html-export-to-html from org-export-dispatch, ext-plist is empty with #+OPTIONS: set [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-05-11 Thread Sébastien Gendre
Hello, I was modifying the ox-html options alist to add an OPTION key to `:html-extension'. I do it like this: (:html-extension nil "html-extension" org-html-extension) But after re-evaluate the ox-html backend definition and adding this to my org-mode file: #+OPTIONS: html-extension:

Re: Question about contribution to improve svg handling in latex export

2025-05-11 Thread Emin Martinian
A patch is attached. Ihor: I tried looking at the link you sent but could not understand how to use org-persist cache. The conversion program needs an output location to write a file to. Is there some variable or function which indicates a cache directory to use? If so, I couldn't figure it out (a

Re: [PATCH] Improved mode line clock truncation behavior

2025-05-11 Thread Rohit Patnaik
I'm so sorry it took this long to get back to you. I got busy, and unfortunately this patch slipped off my radar. > Rather than hard-coding number 5, I'd rather > 1. Let-bind "%s (%s) " value > 2. Compute spaces-and-parenth-length by formatting that value with %s >placeholders being empty. Th

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-05-11 Thread Ihor Radchenko
Sébastien Gendre writes: > With the ox-html option `:html-divs', the value is list of lists that > look like this: > > '((preamble "div" "preamble") > (content "div" "content") > (postamble "div" "postamble")) > > It is to long to be set as an OPTION. But a KEYWORD only accept string

Re: Language support for C# in org-babel

2025-05-11 Thread Ihor Radchenko
poverobuosodonati writes: > I've documented it accordingly and wrote a test for it here: > ... > > There is now also a "proper" test for > `org-babel-csharp-additional-project-flags` and updated documentation > for the intended use of this customization: > ... Thanks! Looks like you have addre

Re: Seeking guidance for starting timezone patch

2025-05-11 Thread Ihor Radchenko
David Minh-Duy Cao via "General discussions about Org-mode." writes: > I was thinking of contributing a patch to add timezone support for > org-mode, and I was curious if I could get some pointers on where & how > I should start. I’ve seen both the proposed syntax [0] and the most > recent org me

Re: [FR] Accept nil outline path for file+olp+datetree org-capture-templates target

2025-05-11 Thread Kristoffer Balintona
On Sun, May 11 2025, Ihor Radchenko wrote: > Kristoffer Balintona writes: > >> Thank you for the help. I've attached a diff for a set of proposed >> changes. It has `org-capture-expand-olp' and >> `org-capture-expand-headline' return the symbol 'file in certain cases >> and has `org-capture-set-t

Re: [BUG] Warning I don't understand [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-05-11 Thread Ihor Radchenko
Nicolas Buduroi writes: > This happens randomly, I don't understand it nor know how to reproduce it. > There's nothing wrong as far as I can tell outside of the warning showing > up. I was just editing bullet points inside a headline, nothing fancy. I'm > sending this message as suggested in the

Re: [BUG] org-element--cache [9.6.7 (9.6.7-??-ca873f7fe @ ~/.config/emacs/.local/straight/build-30.1/org/)]

2025-05-11 Thread Ihor Radchenko
pranavkalsi via "General discussions about Org-mode." writes: > Usually whenever I write a heading in org mode for example > ... > The following error(Warning) was prompted: > > " Warning (org-element-cache): org-element--cache: Got element without > parent. Please report it to Org mode mailing

Re: Subject: [BUG] Org request me to submit bug report; The error was: (error "Invalid search bound (wrong side of point)") [9.7.29 (9.7.29-79781b @ /home/mfl/.emacs.d/elpa/org-9.7.29/)]

2025-05-11 Thread Ihor Radchenko
kf writes: > Subject: [BUG] Org request me to submit bug report; The error was: (error > "Invalid search bound (wrong side of point)") [9.7.29 (9.7.29-79781b @ > /home/mfl/.emacs.d/elpa/org-9.7.29/)] > > Emacs : GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.49, cairo version

Re: [PATCH] ox-md.el: Respect `:html-prefer-user-labels' for target type

2025-05-11 Thread Ihor Radchenko
Markus Huber-Liebl writes: > Subject: [PATCH] ox-md.el: Respect `:html-prefer-user-labels' for target type > > * lisp/ox-md.el (org-md-link): Use `raw-path' as reference for > targets to match behaviour of `org-html-target'. > > `org-md-link' always called `org-export-get-reference' regardless of

Re: [BUG] gc-lock.eld [9.7.26 (9.7.26-07e380 @ /home/pradmin/.emacs.d/elpa/org-9.7.26/)]

2025-05-11 Thread Ihor Radchenko
prad writes: > org--warnings '("org-element--cache: Org parser error in > zzotes.org::30996. Resetting.\n The error was: (error \"Invalid search > bound (wrong side of point)\")\n Backtrace:\n\" backtrace-to-string(nil)\n > org-element-at-point()\n org-at-item-p()\n > org-indent-add-prop

Re: [FR] Accept nil outline path for file+olp+datetree org-capture-templates target

2025-05-11 Thread Ihor Radchenko
Kristoffer Balintona writes: >> Why not just using nil value as you initially suggested? > > Currently, both `org-capture-expand-headline' and > `org-capture-expand-olp' error when the expanded headline or olp, > respectively, return nil. I wanted to preserve that assuming there was a > good reas

Re: Question about contribution to improve svg handling in latex export

2025-05-11 Thread Ihor Radchenko
Emin Martinian writes: > If latex experts and/or maintainers of org-mode are broadly in agreement > with the above, I would be happy to try and take the pull request to > el-easydraw and > incorporate something like that into a PR for Org-mode. I

Seeking guidance for starting timezone patch

2025-05-11 Thread General discussions about Org-mode.
Hey y’all! I was thinking of contributing a patch to add timezone support for org-mode, and I was curious if I could get some pointers on where & how I should start. I’ve seen both the proposed syntax [0] and the most recent org meetup notes [1] on the matter, and since the latter recommended reac

Re: Join the Org Mode project as the Worg maintainer

2025-05-11 Thread Christian Moe
Bastien writes: > Several Org users have offered to help, some already contributing to > Worg, which is great! > > Ihor and I are happy to announce that Christian Moe is the new Worg > maintainer 🦄 Hello, everybody! Thank you for the confidence -- I'll do my best to live up to it. I'm very happy

Re: [BUG] Unintuitive indentation behavior when editing org-src blocks

2025-05-11 Thread Ihor Radchenko
Ihor Radchenko writes: >>> May you elaborate on the edge cases you encountered? >>> It may be a good idea to add such cases to the tests as well. >> >> I think they all reduced to the case where adding the spaces increased >> the minimum indent of the block, in which case `org-indent-line' would

org-html-export-to-html and export options alist

2025-05-11 Thread Sébastien Gendre
Hello, I was modifying the ox-html option alist to add an OPTION to `:html-extension'. I do it like this: (:html-extension nil "html-extension" org-html-extension) But after re-evaluate the ox-html backend definition and adding this to my org-file: #+OPTIONS: html-extension:"bear" The

Re: org-html-export-to-html and export options alist

2025-05-11 Thread Ihor Radchenko
Sébastien Gendre writes: > If I debug the function `org-html-export-to-html', `ext-plist' is empty > and so the function don't use the value of option `:html-extension' but > of variable `org-html-extension' instead. > > Is it a bug, or is it planned ? Bug. -- Ihor Radchenko // yantar92, Org m

Re: [BUG] gc-lock.eld [9.7.26 (9.7.26-07e380 @ /home/pradmin/.emacs.d/elpa/org-9.7.26/)]

2025-05-11 Thread Ihor Radchenko
prad writes: > Hi Ihor! Sorry for the confusion, but I don't really understand the > error myself. I just reported it because it tells me to do so. > > What happens is sometimes when I come out of suspend I see in a buffer > (not the messages one afaik), that it can't find the gc-lock.eld file >

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-05-11 Thread Ihor Radchenko
Sébastien Gendre writes: > What do you mean by "Allow KEYWORD" ? > > You mean a #+KEYWORD ? But these keyword only accept string as values, > if I made no mistake. I mean #+KEYWORD + modifying parts of ox-html that use :html-divs to understand its value to be a string in addition to alist. --

Re: [FR] Accept nil outline path for file+olp+datetree org-capture-templates target

2025-05-11 Thread Ihor Radchenko
Kristoffer Balintona writes: > Thank you for the help. I've attached a diff for a set of proposed > changes. It has `org-capture-expand-olp' and > `org-capture-expand-headline' return the symbol 'file in certain cases > and has `org-capture-set-target-location' treat those cases specially, > inse

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-05-11 Thread Sébastien Gendre
What do you mean by "Allow KEYWORD" ? You mean a #+KEYWORD ? But these keyword only accept string as values, if I made no mistake. signature.asc Description: PGP signature

Re: [PATCH] lisp/ox-html.el: Add file level option to manage headlines self link

2025-05-11 Thread Sébastien Gendre
What if I add new export options in the alist: * :html-div-preamble * :html-div-content * :html-div-preamble Each one have nil as default value and can have one of these 2 values: * "tag-name": A tag name (ex: "div") as a string * (:tag "tag-name" :id "id-name" :class "class-name"): A plist