emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clock doesn't respect org-id-link-to-org-use-id


From: Dave D
Subject: clock doesn't respect org-id-link-to-org-use-id
Date: Fri, 18 Jun 2021 17:30:57 +1000

Hi All,

I use org-mode clock table to generate report for the tasks I clocked.
The header of my clock table looks like this:
#+BEGIN: clocktable :block 2021-06-18 :scope agenda :maxlevel 5
:fileskip0 t :link t

I have :link t so that I can jump to a task directly from the clock
table. I have noticed that sometimes the link doesn't work because of
a heading having strange characters ( in my case my heading is
suffixed with date time).

I traced it back to function org-clock-get-table-data, which seems to
construct the link itself from scratch without leveraging the existing
function org-store link. This also results in it not respecting the
value of org-id-link-to-org-use-id. If use org-store-link in
org-clock-get-table-data, a few lines of code can be reduced and the
behavior can be more consistent and robust.

If I'm correct so far, anybody mind work or this? I can do that as
well, but i'm not fluent with lisp or the workflow, so I'd appreciate
if someone else can help.

Thank You.
Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]