Re: [PATCH] BUGFIX for dpi calculation

2025-05-04 Thread Karthik Chikmagalur
>> The patch retrieves its data from `display-monitor-attributes-list` >> which seems more consistent than the previously used functions, albeit >> having more overhead (parsing is to be done). It also accounts for the >> scaling field provided by the aforementioned function. > > Not all the monito

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

2025-05-04 Thread Kristoffer Balintona
On Mon, May 05 2025, Kristoffer Balintona wrote: > It would be nice if the top-level datetree in would simply > be used if the function supplied for function-returning-list-of-strings > returns nil. Seems like the attached diff can accomplish this, though I'm not sure if it's the most elegant so

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

2025-05-04 Thread Kristoffer Balintona
Hi, In my org-capture-templates, I use a function to return the outline path of my datetree target: (file+olp+datetree function-returning-list-of-strings) However, in my desired workflow, sometimes the function I use for function-returning-list-of-strings returns an outline path of nil; in su

[PATCH] ox-overview.org: Add new section and make minor edits

2025-05-04 Thread Raoul Comninos
0001-ox-overview.org-Add-new-section-and-make-minor-edits.patch Description: application/mbox

Re: ox-html anchor

2025-05-04 Thread Sébastien Gendre
Ok, that noted. Thank you. signature.asc Description: PGP signature

Re: commit d2e1c6789 incompatible with non-dev Emacs versions?

2025-05-04 Thread Kyle Meyer
Ihor Radchenko writes: > In Emacs 30 and older, we will record two points in undo history vs. a > single point in Emacs 31+ (because of `goto-char'). This is a subtle > difference that matters for us. > > Conclusion: let's not touch the working code just for the sake of > refactoring. It is way to

Re: [FR] file+olp+datetree accepting function to select target file

2025-05-04 Thread Kristoffer Balintona
On Sun, May 04 2025, Ihor Radchenko wrote: > Ihor Radchenko writes: > >>> (file+olp+datetree >>> function-returning-file-path function-returning-list-of-strings) >> >> This form is actually supported. Just not documented. You can already >> put a function there. Oh, good to know!

Re: [PATCH] todo.org: Archive completed bug task

2025-05-04 Thread Gnarled Grip
Thank you Ihor. The loss of whitespace was due to my automatic whitespace cleanup package which I have now disabled. On Sun, May 4, 2025 at 8:23 PM Ihor Radchenko wrote: > Ihor Radchenko writes: > > >> -** > >> +** > > > > This is a stray change that affects markup. Space after stars > > matter

Re: [PATCH] todo.org: Archive completed bug task

2025-05-04 Thread Ihor Radchenko
Ihor Radchenko writes: >> -** >> +** > > This is a stray change that affects markup. Space after stars > matters. Without space, it won't be a heading. Applied, after getting rid of that change. https://git.sr.ht/~bzg/worg/commit/0c8fc861 -- Ihor Radchenko // yantar92, Org mode maintainer, Le

Re: [PATCH] todo.org: Archive completed bug task

2025-05-04 Thread Ihor Radchenko
Raoul Comninos writes: > This patch archives a completed bug task that seems fixed. > -** > +** This is a stray change that affects markup. Space after stars matters. Without space, it won't be a heading. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at

Re: quarto-like "code annotation"

2025-05-04 Thread Ihor Radchenko
Matt Price writes: > the Quarto framework for markdown exports has a cool feature enabling > annotation of code: > > https://quarto.org/docs/authoring/code-annotation.html > > I've been collaborating with quarto users and wonder whether there's an > equivalent feature in org that I can use when w

quarto-like "code annotation"

2025-05-04 Thread Matt Price
the Quarto framework for markdown exports has a cool feature enabling annotation of code: https://quarto.org/docs/authoring/code-annotation.html I've been collaborating with quarto users and wonder whether there's an equivalent feature in org that I can use when working with them. Thanks so much

Re: [BUG] org-capture-templates datetree does not respect org-blank-before-new-entry [9.8-pre (release_9.7.29-321-g277344 @ /Users/izanami/.config/emacs/straight/build/org/)]

2025-05-04 Thread critbase
Can you try and see if you can reproduce with an org file with the following headlines: * 2025 * test headline then, try capturing to that file with the template. I've done some more testing, and I believe this bug occurs specifically when the datetree is the topmost item and has other items of t

[PATCH] todo.org: Archive completed bug task

2025-05-04 Thread Raoul Comninos
This patch archives a completed bug task that seems fixed. Kind regards, Raoul Comninos 0001-todo.org-Archive-completed-bug-task.patch Description: application/mbox

Re: [PATCH] org-tutorials: Add Org-mode video tutorials by Raoul Comninos

2025-05-04 Thread Rari Comninos
- Original Message - From: "Ihor Radchenko" To: "Raoul Comninos" Cc: emacs-orgmode@gnu.org Sent: Sunday, May 4, 2025 9:25:20 AM Subject: Re: [PATCH] org-tutorials: Add Org-mode video tutorials by Raoul Comninos Raoul Comninos writes: > Please find attached a patch that adds a link to

Re: Calling org-agenda Export asynchrously

2025-05-04 Thread Henrik Frisk
Den sön 4 maj 2025 kl 14:24 skrev Ihor Radchenko : > Henrik Frisk writes: > > > emacs -eval (org-batch-store-agenda-views) -kill > > > > which I can't get to work (it opens another instance of emacs). > > Then try https://orgmode.org/manual/Extracting-Agenda-Information.html > > That throws error

Re: Emacs new literate configuration approach

2025-05-04 Thread Ihor Radchenko
Moakt Temporary Email <749106659...@drmail.in> writes: >> The group system in customize UI does something similar. > > Not really. I am proposing to tag each package and option, which is much > more easier and efficient to find and discover packages and options, and even > individual choices, a

Re: [BUG] org-capture-templates datetree does not respect org-blank-before-new-entry [9.8-pre (release_9.7.29-321-g277344 @ /Users/izanami/.config/emacs/straight/build/org/)]

2025-05-04 Thread Ihor Radchenko
"critbase" writes: > (setf org-agenda-files '("~/org")) > (setf org-todo-keywords '((sequence "TODO(t!)" "NOW(n!)" "WAIT(w!)" "|" > "DONE(d!)" "CANC(c!)"))) > (setq org-blank-before-new-entry '((heading . nil) > (plain-list-item . nil))) > (setq org-capture-temp

Re: Calling org-agenda Export asynchrously

2025-05-04 Thread Ihor Radchenko
Henrik Frisk writes: >> See 11.7 Exporting Agenda Views section of the manual. It has an example >> how to do what you want. >> >> Yes, I've tried that, but even if I do: > > emacsclient --eval '(org-batch-store-agenda-views)' > > it locks up my running emacs until the process has completed (whic

Re: Calling org-agenda Export asynchrously

2025-05-04 Thread Henrik Frisk
Den fre 2 maj 2025 kl 19:38 skrev Ihor Radchenko : > Henrik Frisk writes: > > > I would like to have a script call org-agenda tat exports my agenda in an > > .ics file. I have this working fine in emacs (C-c a e in my setup). This > > locks emacs for the time it takes to parse the agenda files. T

Re: Semantic Linking saves tedious work

2025-05-04 Thread Ihor Radchenko
Jean Louis writes: >> Do you parse Org files for chunking? What is the chunking strategy? > > Yes, I parse by headings. That may not be as best. > ... > (headings (rcd-org-get-headings-with-contents)) > ... > (input (concat heading-text "\n" contents)) > (embedd

Re: [PATCH] org-tutorials: Add Org-mode video tutorials by Raoul Comninos

2025-05-04 Thread Ihor Radchenko
Raoul Comninos writes: > Please find attached a patch that adds a link to my 8-part video > tutorial series > on Org-mode fundamentals to the tutorials index page. Applied, onto master. https://git.sr.ht/~bzg/worg/commit/bbea0983 > * org-tutorials/index.org (General Introductions to Org-mode):

Re: ox-html anchor

2025-05-04 Thread Ihor Radchenko
Sébastien Gendre writes: > Ihor Radchenko writes: > >> But only update the manual for options already discussed there. > > By "there", you mean in the manual or in the mailing list ? Sorry for the confusion. What I mean is simple: 1. You go through all the export options *in the code* and updat

Re: [PATCH] Add code element inside src-block in ox-html

2025-05-04 Thread Ihor Radchenko
Nikolaos Chatzikonstantinou writes: >> So it looks like we should merge this. >> Nikolaos, may you also add an ORG-NEWS entry? Users may want to know >> about the change. For updating/improving CSS selectors, if nothing. >> > Can you add the entry? Applied, onto main, after adding news entry and

Re: [FR] file+olp+datetree accepting function to select target file

2025-05-04 Thread Ihor Radchenko
Ihor Radchenko writes: >> (file+olp+datetree >> function-returning-file-path function-returning-list-of-strings) > > This form is actually supported. Just not documented. You can already > put a function there. I now clarified this (on main) in the docstring and in the manual. http