From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Override :clock-in (hence org-clock-in) behavior for a specific capture template Date: Sat, 14 Jul 2018 08:16:22 +0200 Message-ID: <87muuuwde1.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feDr5-0004IA-L1 for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 02:16:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feDr0-0001c6-LM for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 02:16:31 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:48023) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1feDr0-0001ZZ-E9 for emacs-orgmode@gnu.org; Sat, 14 Jul 2018 02:16:26 -0400 In-Reply-To: (Cody Goodman's message of "Fri, 13 Jul 2018 23:59:50 -0500") 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: Cody Goodman Cc: emacs-orgmode@gnu.org Hello, Cody Goodman writes: > 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' You can execute arbitrary Elisp code in a capture template: %(sexp) You can use it for side effects, i.e., clocking in the appropriate place. Regards, -- Nicolas Goaziou