[Patch] Show org file title in org-clock clocktable

2022-08-12 Thread Duy Nguyen
Hello, Please find attached a patch to allow users to show the org file titles (i.e. the value of #+title) instead of the file name in the org-clock clocktable. I created this patch as I am using a combination of org-roam and org-agenda to manage my tasks, where each project has its own org-roam

Re: [Patch] Show org file title in org-clock clocktable

2022-08-13 Thread Duy Nguyen
> > Please use the built-in org-collect-keywords instead. > Thanks for the pointer, I changed the function in the attached patch. This is a user-facing change and should be documented in etc/ORG-NEWS file. Updated both the etc/ORG-NEWS and the doc/org-manual.org files. Not sure how you normall

Potential bug: Invalid function: org-encode-time

2022-08-15 Thread Duy Nguyen
Hi everyone, I am having issues trying to use the latest version of Org with straight (the built-in version works fine. Currently testing with a minimal config, i.e. I only have the necessary code to enable straight and use-package in my init.el, and I have added the following as well: (use-packa

[PATCH v2] Show org file title in org-clock clocktable

2022-08-15 Thread Duy Nguyen
e consider a document title to be concatenation of all > the values of #+TITLE keyword inside buffer. Thank you once again for your comments Ihor. Please find attached a new patch with your comments addressed. Duy From 090811a1bce0d6c6f3469564c4e7cf89b07e8fb6 Mon Sep 17 00:00:00 2001 From: Duy

Re: Potential bug: Invalid function: org-encode-time

2022-08-16 Thread Duy Nguyen
> > I just pushed a workaround that should hopefully fix the issue. > Thanks Ihor, it seems to work for me now! Before when I evaluated ~(org-matcher-time "<2022-08-15 Mon 00:00>")~ manually it would give me the error, however I don't have it anymore with the latest main branch. Duy

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-17 Thread Duy Nguyen
this is OK, otherwise please let me know how to improve. Duy From f4a320a8aded88d0af3fb8202b64ea7e99ccb10b Mon Sep 17 00:00:00 2001 From: Duy Nguyen Date: Fri, 12 Aug 2022 18:40:10 +0200 Subject: [PATCH v3] lisp/org-clock.el: Show file title in org-clock clocktable * lisp/org-clock.el (org-clockta

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-21 Thread Duy Nguyen
> Thanks for the update! > Applied onto main via 2cc2d8f1f with amendments. > I fixed on double space " " between sentences, removed autoload cookie > (that function is not used outside org-clock), and altered the docstring > making the first line a single sentence and clarifying about the return

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-28 Thread Duy Nguyen
Duy Nguyen writes: >> Thanks for the update! >> Applied onto main via 2cc2d8f1f with amendments. >> I fixed on double space " " between sentences, removed autoload cookie >> (that function is not used outside org-clock), and altered the docstring >> mak

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-28 Thread Duy Nguyen
Duy Nguyen writes: > Duy Nguyen writes: > >>> Thanks for the update! >>> Applied onto main via 2cc2d8f1f with amendments. >>> I fixed on double space " " between sentences, removed autoload cookie >>> (that function is not used outside org-cl

Re: [PATCH v3] Show org file title in org-clock clocktable

2022-08-28 Thread Duy Nguyen
That is fine, thanks. Regards, Duy Duy Nguyen writes: > Duy Nguyen writes: > >> Duy Nguyen writes: >> >>>> Thanks for the update! >>>> Applied onto main via 2cc2d8f1f with amendments. >>>> I fixed on double space " " betwe