From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mPFbC2gXpWAbKQEAgWs5BA (envelope-from ) for ; Wed, 19 May 2021 15:49:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qEEFB2gXpWCCQwAAbx9fmQ (envelope-from ) for ; Wed, 19 May 2021 13:49:28 +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 890FA80F3 for ; Wed, 19 May 2021 15:49:27 +0200 (CEST) Received: from localhost ([::1]:45860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljMZi-0001xn-AT for larch@yhetil.org; Wed, 19 May 2021 09:49:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljMDE-0002HB-58 for emacs-orgmode@gnu.org; Wed, 19 May 2021 09:26:12 -0400 Received: from smtp.manicmind.earth ([107.20.249.12]:33130 helo=mail.manicmind.earth) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljMD7-00033J-Hs for emacs-orgmode@gnu.org; Wed, 19 May 2021 09:26:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manicmind.earth; s=mail; t=1621430761; bh=hzEcQ61qsHm0JIXu7VDPFYdslBFSQj0hRTQxfiCXkBw=; h=From:Subject:Date:To:From; b=EHZzxU1JXcGwRcJdjeepRl8ThH72UtYJzHNbJiVd4ybtWRTs8TEzDiubJSB5rzBQb 158HXtbfA6mr2hsjIMdnZERj4B7bTiJWqPWp9RuBOtbeLtmppj6Nu+1ftcep9IW1JE 3hVuxO5Hv8tJQqWLUCMWiWaQvXIexe2t3fndBPr11zpm0SLLqsXkSihUnTGiUMkgva tBEteJbsH8clfSAvm8lm3fIpixOogucrg+L/1dQBG9TW9CLNLko5+cJh2eAuRMY21G l/nF+tcbiQlGeJeSI/xX2wM0wIHj2s4E27cWXGcCCWV+LevBrXzvZRK1j2PKtuE4RZ FY/uQyKzFpeng== From: Nathaniel W Griswold Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Org-capture %K "Link to the currently clocked task" link with id? Message-Id: Date: Wed, 19 May 2021 08:26:00 -0500 To: emacs-orgmode@gnu.org Received-SPF: pass client-ip=107.20.249.12; envelope-from=nate@manicmind.earth; helo=mail.manicmind.earth X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=1621432167; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hzEcQ61qsHm0JIXu7VDPFYdslBFSQj0hRTQxfiCXkBw=; b=EUTrUViEZnh2ciM9pk+064b0xhu9d2LpB2b/B1lrYG0h/riefQSkj22VcosCdwCCV6dSeV 3eXpkqHkXys1Ks8AHoXfa8licWjNHRFL7+IdOZIk1qyYjg2s0/WVBpIXiE/zYP4OoT5e2D xD15fNhU+db1xgZ0hIeo5ejBZ9naaLp26J7kP5AhYGN5alWEdzPwTqPyUr8HHNog1r3VDx PjsXm1UQ8SjwUI63oEoJSDvuDmowM+G5h6SaJAWOHqkTCF5965//aFKlTruv39J7F3hJfn 92ne8fRjQBYxxLyV8/HSx6YdHl2y5HrX+y9QUESMiHOsmi28ozSrgVBoIf6xNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621432167; a=rsa-sha256; cv=none; b=N9M4RgUGU7b8Zh+t9mWHM8GOWTgHhxH5xJDa9Wd3Zcv9+NbMV8mAX/B+Yyyx1BkGuE0TUM LzU37b5bqdFGZlgGHMQ+UB40vvhodgZPvDh9ijU32gTi6ohCSkmkv26/QteythC1gf1NpQ adRBCkuyno0rmS9xDARKjrZBBALyya+eAP7HW185+tjs3F3jxp36eQcvLDLfZo3W1KP28X o1r2wxmqYrUpgPIMcWbygDXCmN2f7srL3jX61ATY3qb04HA9R+30HB6QtIAR5cnQuY56dt AtzMuu1MwNVyxYhyeSXj0RPsVU+ulGV5VY3pTy79JZkppVFApg0xqTguzAVU2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=manicmind.earth header.s=mail header.b=EHZzxU1J; dmarc=pass (policy=none) header.from=manicmind.earth; 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: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=manicmind.earth header.s=mail header.b=EHZzxU1J; dmarc=pass (policy=none) header.from=manicmind.earth; 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: 890FA80F3 X-Spam-Score: -1.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: DtWvmBBVNBnb Looking at the source (org-capture.el), it appears org-capture doesn't = allow you to make a permalink for "Link to the currently clocked task", = or %K in your template. `org-capture-fill-template` looks like this: ... (v-K (if (marker-buffer org-clock-marker) (org-link-make-string (format "%s::*%s" (buffer-file-name (marker-buffer = org-clock-marker)) v-k) v-k) "")) ...=20 So i guess it's hardcoded to just make a bracket link. I guess i can hack something, but can you guys make a nice change to the = source so that i can have a permalink to my clocked in task? Or is there = something i'm missing and i can actually do it already? Thank you Nate=