From: Bill Wishon <bill@wishon.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: LOGBOOK Drawer Position in Capture Templates
Date: Wed, 19 Dec 2012 09:24:35 -0800 [thread overview]
Message-ID: <CAP2uJAvxCoN6PyOJN9Zb-a1PxsgtZ5sHTVM0XQn-bte0TVDesg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
Hi,
If I have a capture template as follows:
("sm" "Start a meeting and clock" entry (file "~/org/notes.org") "* %c %U
** %?" :clock-in t :clock-resume t)
What happens is that the sub-heading where the point is left is where the
LOGBOOK drawer is inserted. like this:
* Meeting Title [date]
** <point is here>
:LOGBOOK:
CLOCK [date]
:END:
I want the clock to be associated with the top level heading. Is there a
way to construct the template so that it results in the LOGBOOK drawer
being part of the primary heading? Like so:
* Meeting TItle [date]
:LOGBOOK:
CLOCK [date]
:END:
** <point is here>
Thanks,
~>Bill
[-- Attachment #2: Type: text/html, Size: 953 bytes --]
next reply other threads:[~2012-12-19 17:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-19 17:24 Bill Wishon [this message]
2012-12-24 1:33 ` LOGBOOK Drawer Position in Capture Templates Bastien
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=CAP2uJAvxCoN6PyOJN9Zb-a1PxsgtZ5sHTVM0XQn-bte0TVDesg@mail.gmail.com \
--to=bill@wishon.org \
--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).