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: Fri, 30 Aug 2019 12:38:51 -0500 Message-ID: References: <874l9amgou.fsf@llwynog.ekleog.org> <87lg2jlgxt.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000008f747c0591591a34" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48983) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3ks4-0006Va-Qe for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 13:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3ks0-0003ZP-HR for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 13:39:33 -0400 Received: from cadilhac.name ([163.172.56.42]:51624 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 1i3ks0-0003P3-76 for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 13:39:32 -0400 Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) by mattermost.cadilhac.name (OpenSMTPD) with ESMTPSA id 7a38636c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 30 Aug 2019 17:39:28 +0000 (UTC) Received: by mail-vs1-f50.google.com with SMTP id r17so2387265vso.1 for ; Fri, 30 Aug 2019 10:39:28 -0700 (PDT) In-Reply-To: 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: Org-Mode mailing list --0000000000008f747c0591591a34 Content-Type: multipart/alternative; boundary="0000000000008f74790591591a32" --0000000000008f74790591591a32 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable By the way, I've been using this for quite some time, and I find it quite useful. It may be worth considering it for inclusion=E2=80=94see attached = patch. Opinions? On Thu, 14 Feb 2019 at 06:32, Micha=C3=ABl Cadilhac wrote: > 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. > --0000000000008f74790591591a32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
By the way, I've been using this for quite some time, = and I find it quite useful.=C2=A0 It may be worth considering it for inclus= ion=E2=80=94see attached patch.=C2=A0 Opinions?



On Thu, 14 Feb 2019 at 06:32, Micha=C3=ABl Cadilhac <michael@cadilhac.name> wrote:
Hi Leo;

On Wed, 13 Feb 2019 at 17:46, Leo Gaspard <orgmode@leo.gaspard.io> wrote:
> Micha=C3=ABl Cadilhac <michael@cadilhac.name> 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 -> lin= k to
> a task (that may be generated with org-id's task ID, [[*foobar]] l= inks
> or whatever) in my `init.el`.

Alright, can you give this patch a spin and see if that's what you want= ?

Cheers;
M.
--0000000000008f74790591591a32-- --0000000000008f747c0591591a34 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org-clock-let-user-provide-a-list-of-default-clock-i.patch" Content-Disposition: attachment; filename="0001-org-clock-let-user-provide-a-list-of-default-clock-i.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jzyei8yf0 RnJvbSBhZWY2ZjZkM2FiNTk5OTk1M2ZmODNmNWNjOWI3YzBhZDI2YzVjZDJmIE1vbiBTZXAgMTcg MDA6MD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KKwkJKGluc2VydCAob3JnLWFkZC1wcm9wcyAi RGVmYXVsdCBUYXNrc1xuIiBuaWwgJ2ZhY2UgJ2JvbGQpKSkKKwkgICAgICAoc2V0cSBzIChvcmct Y2xvY2staW5zZXJ0LXNlbGVjdGlvbi1saW5lIChjYXIgY2hhcmlkKSBtKSkKKwkgICAgICAocHVz aCBzIHNlbC1saXN0KSkpKQogCShydW4taG9va3MgJ29yZy1jbG9jay1iZWZvcmUtc2VsZWN0LXRh c2staG9vaykKIAkoZ290by1jaGFyIChwb2ludC1taW4pKQogCTs7IFNldCBtaW4taGVpZ2h0IHJl bGF0aXZlbHkgdG8gY2lyY3VtdmVudCBhIHBvc3NpYmxlIGJ1dCBpbgotLSAKMi4yMy4wCgo= --0000000000008f747c0591591a34--