From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cody Goodman Subject: Override :clock-in (hence org-clock-in) behavior for a specific capture template Date: Fri, 13 Jul 2018 23:59:50 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006548400570ee77f0" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feCew-0003hj-0O for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 00:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feCeu-0004Lf-Ov for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 00:59:54 -0400 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:38895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feCeu-0004LB-Hy for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 00:59:52 -0400 Received: by mail-qt0-x22d.google.com with SMTP id y19-v6so420441qto.5 for ; Fri, 13 Jul 2018 21:59:52 -0700 (PDT) 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: emacs-orgmode@gnu.org --0000000000006548400570ee77f0 Content-Type: text/plain; charset="UTF-8" Here is my detailed problem exposition exported from org: 1 executive summary =================== I want to start at a child node and clock into the grandparent rather than the current child at point in a capture task 2 my capture ============ ,---- | ("f" "video game" entry (file+olp+datetree "~/org/videoGameImprovement.org") | "* %<%Y-%m-%d %H:%M>\n** game notes | *** %? | ** video(s) | *** video 1 | **** note 1 for video 1 | " :clock-in t) `---- 3 what happens ============== I'm clocked into the place where `%?' takes me in the capture template 4 what I want to happen ======================= I want to land at the first child of the `game notes' node but clock into the `%<%Y-%m-%d %H:%M>' node 2 levels up 5 what I don't know how to do ============================= 5.1 In the capture template, I don't know how I could selectively use my own implementation of `org-clock-in' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5.1.1 Maybe I could have some sort of local binding surrounding just that capture which would be used? ------------------------------------------------------------------------------------------------------ * 5.1.1.1 advice? * 5.1.1.2 is an `add-hook' possible only within a certain scope? Thanks, Cody --0000000000006548400570ee77f0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Here is my detailed problem exposition exported from = org:

1 executive summary
=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

=C2=A0 I want to start at a chi= ld node and clock into the grandparent rather than
=C2=A0 the current ch= ild at point in a capture task


2 my capture
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D

=C2=A0 ,----
=C2=A0 | ("f" "= video game" entry (file+olp+datetree "~/org/videoGameImprovement.= org")
=C2=A0 |=C2=A0 "* %<%Y-%m-%d %H:%M>\n** game notes=
=C2=A0 | *** %?
=C2=A0 | ** video(s)
=C2=A0 | *** video 1
=C2= =A0 | **** note 1 for video 1
=C2=A0 | " :clock-in t)
=C2=A0 `--= --


3 what happens
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= br>
=C2=A0 I'm clocked into the place where `%?' takes me in the= capture template


4 what I want to happen
=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

=C2=A0 I want to= land at the first child of the `game notes' node but clock
=C2=A0 i= nto the `%<%Y-%m-%d %H:%M>' node 2 levels up


5 what I = don't know how to do
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

5.1 In the capture templa= te, I don't know how I could selectively use my own implementation of `= org-clock-in'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

5.1.1 Maybe = I could have some sort of local binding surrounding just that capture which= would be used?
--------------------------------------------------------= ----------------------------------------------

* 5.1.1.1 advice?
=

* 5.1.1.2 is an `add-hook' possible only within a certain scope= ?


Thanks,

= Cody
--0000000000006548400570ee77f0--