emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Cody Goodman <codygman.consulting@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Override :clock-in (hence org-clock-in) behavior for a specific capture template
Date: Sat, 14 Jul 2018 08:16:22 +0200	[thread overview]
Message-ID: <87muuuwde1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADq_+R16-sDByJp0tRhOd-P2w-ZTU58BOjjs33wkLhsykwJqLA@mail.gmail.com> (Cody Goodman's message of "Fri, 13 Jul 2018 23:59:50 -0500")

Hello,

Cody Goodman <codygman.consulting@gmail.com> 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

      reply	other threads:[~2018-07-14  6:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14  4:59 Override :clock-in (hence org-clock-in) behavior for a specific capture template Cody Goodman
2018-07-14  6:16 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87muuuwde1.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=codygman.consulting@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).