From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id N4UXJvhLzGBCzgAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 09:32:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SFJOIfhLzGBDJQAA1q6Kng (envelope-from ) for ; Fri, 18 Jun 2021 07:32:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1526027BA3 for ; Fri, 18 Jun 2021 09:32:08 +0200 (CEST) Received: from localhost ([::1]:57720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lu8yz-0007yR-3b for larch@yhetil.org; Fri, 18 Jun 2021 03:32:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lu8y0-0007vm-Mc for emacs-orgmode@gnu.org; Fri, 18 Jun 2021 03:31:04 -0400 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:40494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lu8xy-0007tw-LP for emacs-orgmode@gnu.org; Fri, 18 Jun 2021 03:31:04 -0400 Received: by mail-ej1-x62d.google.com with SMTP id my49so14278938ejc.7 for ; Fri, 18 Jun 2021 00:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=j4bnfnmbabpS3+jCnH5cGiS+QVFSjEG4HfrdjZjlpr0=; b=W652rCKWtdhuQ3pypMkrWl7f16J7shumROnw32Mol6tUtz4ZiNgLLXs+9Be/CEdKDl 0SiecjSwI9HPVRRooXoA7ihQ0YgRa+r2fPLQjtGlx32uwJ37xuFKqEgbHCN9SVQ1cMbD bOvhS/cJIuMHBDm899fHpsedDWgey95vztvv2XIeKIlune6MRQDoEc7sSkoFclnLHOr3 bBmXazaQSfD0yYwuRyZ7KptsKwHN1hTRP91EPngXxxwt8BNbAXpRGJy+j1GVHfhOMgRr qC+otXdJEbB9h5JkuEy7sfXBNVK2WejWlFIGOD5xi62Au5G7hNkX3e3Bp4oYCtCOeOmu Mz7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=j4bnfnmbabpS3+jCnH5cGiS+QVFSjEG4HfrdjZjlpr0=; b=qA6HR+To+Ysj8bieoRrcqZARaNfu6bQQhdd8qtD3KJ8sRvNRtSgnRkFB6igozohrXR m0GBAZvd6cZXtnkv1yqagS0QKm3xdGPzzwm8a6AwhTt80VJA8YHcVyHKd+cGupwOVmPG 2NAbmXwONTXF1q3bSkLiUX/KeHp8hxWXz5laSxJxL2CD7w28mxzLAywijp7GUDG9uw0L jW3Zy8qQW1kyqrylzpl3n0WLGmtvZ1qHurHQxj/wy+4Nm+Ll1pPQvooI6G91x0t5Zf+O C4c9wcuZ2iNF/4yGxTunzThPKgbOt7rU46VEN2myHvNmqZoFVXEOlD1mJ5OZdjaYc4T2 8PCw== X-Gm-Message-State: AOAM532LircC0dEUxUBOs5NhY1tQt8JSvi63fYK2VYtU1cPFE+pRM2rM tpq8uUSNXPSUdJcW4/3HTvlECxG17kIyo17sdQ8D1eUV X-Google-Smtp-Source: ABdhPJzKyl+tieyEQHiDXJ1i5uFh02VSVlVZvTSm2liZboz7G0nsSq3nWFC4rBurxNeVcqf8wTLvcyjOQLDoIYzwy30= X-Received: by 2002:a17:906:4483:: with SMTP id y3mr9815885ejo.92.1624001458943; Fri, 18 Jun 2021 00:30:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a55:8c0a:0:b029:e9:8d1a:45bf with HTTP; Fri, 18 Jun 2021 00:30:57 -0700 (PDT) From: Dave D Date: Fri, 18 Jun 2021 17:30:57 +1000 Message-ID: Subject: clock doesn't respect org-id-link-to-org-use-id To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=wenlong.dai@gmail.com; helo=mail-ej1-x62d.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624001528; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j4bnfnmbabpS3+jCnH5cGiS+QVFSjEG4HfrdjZjlpr0=; b=X85utvfrWP0DHQ5+1F5JaNKHBl9cqQc5TFsnJn35PrIR6z9vjhXryC22lvNIwuGL/lSku7 kxAWW75SsgUUDUUsLX1kc0TSr0FZoSEPZOABwcPd4QpJHkZsLIGYoJneXSYsgGIeMQSN0d BpTEm9i2lQdXfjOL/9VzdFAB6uiP2Q2854gEGYWfG2uO4XoEpS0iDWwcTHkEapN4smKuOX iEa+o2rNfh83iutO9TGVvzPnre9HGKq8wWvBETJNotU3eTG516F4jFxTQLC/JlgGH/lkIF rXizRu1Ce1xbbkpMC76Zy6ZC42snyCXoSicl+4EM5ovFAxs408mzcWsjcEDbLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624001528; a=rsa-sha256; cv=none; b=b3qoWjbWT5JxFkUaZ1j34RO2/xRJi99KoPqPDaihCDEt4CTyYMgPSDFygXNuOazn2hq04l Z300WK5dNws+yPQilSJp5p3msEMY6t8iqN8VE3VOR+voR1ntVdlosfPZ7s8ZgehUiE7kzq nU4K2j4m/QOW+Q1hMXxS72eW7KFdgjS+AqaVIzznEV19eV4NaDkIu296MOxtZKtP+UmG0k jgaZ3cmW3HqvRMIjpJ8bmSGpxWfImXhO8WuWWOUZWiJTUaJJxrLvhQQgMWlcIO7iQuM1YM ceZ0gQtnLXWtuGnMvQGc6wi7NQpU/77onir+CJnwRqxbAkfqVFv6MmWR92T2cA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W652rCKW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W652rCKW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1526027BA3 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: CCLFbOnv0EEC 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