emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Dave D <wenlong.dai@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: clock doesn't respect org-id-link-to-org-use-id
Date: Sun, 21 Nov 2021 16:11:19 +0800	[thread overview]
Message-ID: <87fsrqudw8.fsf@localhost> (raw)
In-Reply-To: <CAP=AKM_GnnDLGAnr8j1JU5dUSdyNhj58VWdWvyC66MiKaNASrQ@mail.gmail.com>

Dave D <wenlong.dai@gmail.com> writes:

> 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).

Thanks for reporting! Could you provide an example of such heading?

> 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.

Your analysis looks reasonable, but a concrete reproducer would help (at
least to create a test case).


      reply	other threads:[~2021-11-21  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  7:30 Dave D
2021-11-21  8:11 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsrqudw8.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wenlong.dai@gmail.com \
    --subject='Re: clock doesn'\''t respect org-id-link-to-org-use-id' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).