[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Override :clock-in (hence org-clock-in) behavior for a specific
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Override :clock-in (hence org-clock-in) behavior for a specific capture template |
Date: |
Sat, 14 Jul 2018 08:16:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Cody Goodman <address@hidden> 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