Re: [PATCH] Re: Q: org-export-headline-levels doc problem?

2025-04-27 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> Ah, should've used the MIME commmand -- resending PATCH. > > This is a diff, not a patch :) Oops > A patch would also need to have a commit message. > See https://orgmode.org/worg/org-contribute.html#patches I'll look at that. >> #+begin

Re: [PATCH] Add option to disable mapping of linked org files to md during export to Markdown

2025-04-27 Thread ian martins
Thanks for reviewing. I did a FSF copyright assignment a few years ago. I see my name is still on the Org contributors list [1] so does that mean it's still active? [1] https://orgmode.org/worg/contributors.html On Sat, Apr 12, 2025 at 1:36 PM Ihor Radchenko wrote: > > ian martins writes: > > >

Re: [PATCH] Fix for cache error when using org-publish-find-(title|date)

2025-04-27 Thread Ihor Radchenko
Thomas Ingram writes: > Thanks, I've reformatted my patch to follow that format. I have also > reached out to the FSF regarding copyright assignment. Please let me > know if any other corrections are needed. Note that you do not have to do the copyright assignment for a small patch like this o

Re: [PATCH] Fix for cache error when using org-publish-find-(title|date)

2025-04-27 Thread Thomas Ingram
Hi Ihor, > Please follow our changelog format as described in > https://orgmode.org/worg/org-contribute.html#commit-messages > > Also, please add TINYCHANGE cookie as you do not appear to have a > copyright assignment. Thanks, I've reformatted my patch to follow that format. I have also reached

Re: Compiling a single lisp/*.el Org source, executing a single testing/lisp/*.el Org test in the Org Git repo

2025-04-27 Thread Ihor Radchenko
Jens Schmidt writes: > Suppose my cwd is at the top-level of the Org Git repo. > > - How would I byte-compile a single Org source? Any make target > available for that? There is a Makefile inside lisp/ directory, but I strongly recommend re-compiling everything. Simply because Org source code

Re: TOC is missing in html export when using #+INCLUDE

2025-04-27 Thread Ihor Radchenko
reza writes: > I have the following org file > > #+TITLE: Some title > #+INCLUDE: another.org > > * Some section > > Some content. > > Where the file another.org only contains some section. > When I export this to html the TOC is missing, commenting out the > #+INCLUDE t

Re: [BUG] Org fontification error [9.7.11 (release_9.7.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2025-04-27 Thread Ihor Radchenko
Jordan Ellis Coppard writes: > Opening a large org document is resulting in a fontification error in > *Messages*: > > Org mode fontification error in # at 79 > > The exact version of said document can be found here: > https://raw.githubusercontent.com/tsujp/tree_sitter_noir/528281a112b86b0f54b

Re: org-timestamp: Wrong week numbers

2025-04-27 Thread Ihor Radchenko
gnu--- via "General discussions about Org-mode." writes: > It seems that Week numbers are wrong. > > '(org-display-custom-times t) > '(org-timestamp-custom-formats '("%Y-%m-%d (W%W)\12" . "%Y-%m-%d (W%W) > %H:%M")) > ... > If you send "C-c ." > And write down: W17, you get: - [2025-04-23 mi. (W1

[BUG] ox-odt cannot be used with org-export-to-file (was: An error with org-export-to-file 'odt)

2025-04-27 Thread Ihor Radchenko
Christian Moe writes: > Org-export-to-file with the odt backend gives an error when invoked > directly (void-variable hfy-user-sheet-assoc). Tested on Org 9.7.28. To > reproduce, save a minimal Org file and, from that buffer, evaluate > > : (org-export-to-file 'odt "testfile.odt") > > I'm not sur

[FR] Allow entering time/date range for :time-prompt capture template property (was: org-capture-fill-template %T drops end time)

2025-04-27 Thread Ihor Radchenko
Michael Game Dev via "General discussions about Org-mode." writes: > I'm trying to use org-capture templates (file+datetree+prompt) to enter the > time I spend on things at work. I want to have the date and begin and end > times in the note added without re-selecting the date. Note that file+d

Re: Question about getting properties of org entry

2025-04-27 Thread Ihor Radchenko
Doerthous writes: > I then wrote a draft patch (attached below) to cache the entry position > to org-id-locations, which give a 10x speedup of org-id-find, see (2). Thanks! > + (let* ((loc (org-id--find-id-location id)) > + (file (if (consp loc) (car loc) loc)) > + (pos (if (co

Re: [PATCH] Re: Better support optional weekday in Org mode timestamps

2025-04-27 Thread Ihor Radchenko
Jens Schmidt writes: > Please check the attached patch and let me know what you think. Applied, onto main. Thanks! https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=829b3556d7 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at .

Re: [PATCH] org-element.el; significant optimizations for org-element--interpret-affiliated-keywords

2025-04-27 Thread Ihor Radchenko
"Dwarshuis, Nathan J" writes: >> This is not TINYCHANGE as it is a lot more than 15LOC. > > fixed Another effect of the patch exceeding 15LOC is that I now need you to go through the copyright assignment before I can accept it. Would you be interested to do it? See https://orgmode.org/worg/org-c

Re: [PATCH] Re: Q: org-export-headline-levels doc problem?

2025-04-27 Thread Ihor Radchenko
David Masterson writes: > Ah, should've used the MIME commmand -- resending PATCH. This is a diff, not a patch :) A patch would also need to have a commit message. See https://orgmode.org/worg/org-contribute.html#patches (Note that this is not a big deal as I can write commit message and format

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2025-04-27 Thread Ihor Radchenko
Morgan Smith writes: > I hit a roadblock trying to figure out how best to implement your > suggestion. > > After running something like this: > > (setopt org-tags-sort-function (org-tags-sort-hierarchy-by > org-sort-function)) > > The help buffer for `org-tags-sort

Re: Language support for C# in org-babel

2025-04-27 Thread Ihor Radchenko
poverobuosodonati writes: >> Finally, `with-try-set-dotnet-version' is questionable. It is used once >> so you may as well put the code directly inside `with-newest-dotnet'. > Agreed, I inlined this. Another note here: you may probably use `unwind-protect' instead of progn to be safe. https://co

Re: [PATCH] Fix for cache error when using org-publish-find-(title|date)

2025-04-27 Thread Ihor Radchenko
Thomas Ingram writes: > I have attached a small patch that corrects this issue. I added the > PROJECT-NAME argument to the calls to `org-publish-cache-get-file-property'. > That ensures the cache is always initialized for the project. > > * Recreate the Error > ... Thanks for the patch! May you

Re: Emacs new literate configuration approach

2025-04-27 Thread Ihor Radchenko
Moakt Temporary Email <1ceb37432...@drmail.in> writes: > After I proposed a new customization interface for Emacs [1], I jumped > on the occasion to rewrite my literate org configuration to replicate > this interface idea there. > ... > * package1 :tag1:tag2: >** option1

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

2025-04-27 Thread Ihor Radchenko
Nikolaos Chatzikonstantinou writes: >> So, I think this is probably slightly unusual in practice, but also fine to >> do. Consistency with the klipsify version seems worth it, regardless of >> which way we go. > > In HTML they'd need a way to denote short code fragments like > int x = 0; and lo

Re: [DISCUSSION] Contributing policy for WORG

2025-04-27 Thread Ihor Radchenko
Ihor Radchenko writes: > Corwin recently noticed that our > https://orgmode.org/worg/worg-about.html page is not very consistent > about whom and how should contribute to WORG. > > One part of that page suggests to "Create an account on Sourcehut" and > then push changes freely, while another par

[ANN] Re: Join the Org Mode project as the Worg maintainer

2025-04-27 Thread Bastien Guerry
Adding the [ANN] subject prefix to let the whole world know \o/ > Worg is the community-driven documentation for Org. It complements the > Org reference manual as a resource that many users consult, with about > ~1K views per day. > > Worg is a Git repository consisting of .org files: > https://gi