From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: Re: org-clock: Custom shortcuts for C-u C-c C-x C-i Date: Thu, 14 Feb 2019 12:32:23 +0000 Message-ID: References: <874l9amgou.fsf@llwynog.ekleog.org> <87lg2jlgxt.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000e394440581d9dbcb" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guGL1-000756-2O for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 07:41:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guGCP-0005Yy-DV for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 07:33:07 -0500 Received: from cadilhac.name ([163.172.56.42]:57960 helo=mattermost.cadilhac.name) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guGCP-0005VK-30 for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 07:33:05 -0500 Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) by mattermost.cadilhac.name (OpenSMTPD) with ESMTPSA id dd4c94dc (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Thu, 14 Feb 2019 12:33:01 +0000 (UTC) Received: by mail-vs1-f45.google.com with SMTP id r201so3484059vsc.11 for ; Thu, 14 Feb 2019 04:33:01 -0800 (PST) In-Reply-To: <87lg2jlgxt.fsf@llwynog.ekleog.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Leo Gaspard Cc: emacs-orgmode@gnu.org --000000000000e394440581d9dbcb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Leo; On Wed, 13 Feb 2019 at 17:46, Leo Gaspard wrote: > Micha=C3=ABl Cadilhac writes: > > This is not possible out of the box; can you say a bit more about how > > you expect to indicate which tasks are to be always present? > > I would be thinking of something like defining a list of key -> link to > a task (that may be generated with org-id's task ID, [[*foobar]] links > or whatever) in my `init.el`. Alright, can you give this patch a spin and see if that's what you want? Cheers; M. --000000000000e394440581d9dbcb Content-Type: text/x-patch; charset="US-ASCII"; name="default-tasks.patch" Content-Disposition: attachment; filename="default-tasks.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_js4ltjub0 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWNsb2NrLmVsIGIvbGlzcC9vcmctY2xvY2suZWwKaW5kZXgg MzQzMjY0ZjdlLi4xZjA4NzBlNjIgMTAwNjQ0Ci0tLSBhL2xpc3Avb3JnLWNsb2NrLmVsCisrKyBi L2xpc3Avb3JnLWNsb2NrLmVsCkBAIC0xNjQsNiArMTY0LDEzIEBAIHdoaWNoIGNhc2UgYWxsIGRp Z2l0cyBhbmQgY2FwaXRhbCBsZXR0ZXJzIGFyZSB1c2VkIHVwIGJ5IHRoZQogICA6Z3JvdXAgJ29y Zy1jbG9jawogICA6dHlwZSAnaW50ZWdlcikKIAorKGRlZmN1c3RvbSBvcmctY2xvY2stZGVmYXVs dC10YXNrcyBuaWwKKyAgIkxpc3Qgb2YgcGFpcnMgKEtFWSAuIElEKSAuLi4iCisgIDpncm91cCAn b3JnLWNsb2NrCisgIDp0eXBlICcocmVwZWF0IChjb25zIDp0YWcgIktleSBhbmQgSUQiCisJCSAg ICAgICAoY2hhcmFjdGVyIDp0YWcgIkFjY2VzcyBjaGFyIikKKwkJICAgICAgIChzdHJpbmcgICAg OnRhZyAiVGFzayBJRCIpKSkpCisKIChkZWZjdXN0b20gb3JnLWNsb2NrLWdvdG8tbWF5LWZpbmQt cmVjZW50LXRhc2sgdAogICAiTm9uLW5pbCBtZWFucyBgb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