all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* LOGBOOK Drawer Position in Capture Templates
@ 2012-12-19 17:24 Bill Wishon
  2012-12-24  1:33 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Wishon @ 2012-12-19 17:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: LOGBOOK Drawer Position in Capture Templates
  2012-12-19 17:24 LOGBOOK Drawer Position in Capture Templates Bill Wishon
@ 2012-12-24  1:33 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-24  1:33 UTC (permalink / raw)
  To: Bill Wishon; +Cc: emacs-orgmode

Hi Bill,

Bill Wishon <bill@wishon.org> writes:

> 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>

No -- but I would simply use 

- <point is here>

then C-c * to convert the item at point into a heading.

2 cts,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-24  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 17:24 LOGBOOK Drawer Position in Capture Templates Bill Wishon
2012-12-24  1:33 ` Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.