emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Capture and checkitem
@ 2010-08-12 16:10 julien cubizolles
  2010-08-15 14:11 ` David Maus
  0 siblings, 1 reply; 3+ messages in thread
From: julien cubizolles @ 2010-08-12 16:10 UTC (permalink / raw)
  To: emacs-orgmode

I'm also confused about the checkitem type of template.

The following template :

("T" "test" checkitem (file+headline "~/org/orgfiles/test.org" "Test")
"%?")

doesn't work as I expected : the capture buffer is not narrowed and no
item is created...

However, the item template type works as a checkitem should if one adds
a "[ ]" in the text : 

("T" "test" item (file+headline "~/org/orgfiles/test.org" "Test")
  " [ ] %?")

What is the checkitem type supposed to do ?

Julien.

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

* Re: Capture and checkitem
  2010-08-12 16:10 Capture and checkitem julien cubizolles
@ 2010-08-15 14:11 ` David Maus
  2010-08-16  8:26   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: David Maus @ 2010-08-15 14:11 UTC (permalink / raw)
  To: julien cubizolles; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 910 bytes --]

julien cubizolles wrote:
>I'm also confused about the checkitem type of template.

>The following template :

>("T" "test" checkitem (file+headline "~/org/orgfiles/test.org" "Test")
>"%?")

>doesn't work as I expected : the capture buffer is not narrowed and no
>item is created...

I can confirm this for

Org-mode version 7.01trans (release_7.01h.115.g1f17)

on

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of
 2010-08-14 on raven, modified by Debian

with emacs -Q an this capture template:

(setq org-capture-templates
      '(("t" "Todo" checkitem (file+headline "/tmp/org/inbox.org" "TEST")
	 "Test")))

The file and the headline do exists; when calling `org-capture' Org
creates the indirect buffer, does not narrow to headline TEST and
point is at the beginning of this headline.

Best,
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Capture and checkitem
  2010-08-15 14:11 ` David Maus
@ 2010-08-16  8:26   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-08-16  8:26 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode


On Aug 15, 2010, at 4:11 PM, David Maus wrote:

> julien cubizolles wrote:
>> I'm also confused about the checkitem type of template.
>
>> The following template :
>
>> ("T" "test" checkitem (file+headline "~/org/orgfiles/test.org"  
>> "Test")
>> "%?")
>
>> doesn't work as I expected : the capture buffer is not narrowed and  
>> no
>> item is created...
>
> I can confirm this for
>
> Org-mode version 7.01trans (release_7.01h.115.g1f17)

This bug is fixed now.  There were two issues.  One was that the  
checkitem
stuff was not handled correctly.  The other problem did affect both
item and checkitem:  When there is currently no plain list in the  
outline
entry, it would place the item into another list found in the same  
direction,
even it it was in another outline entry.

Both issues are fixed, I think.

Thanks for report and confirmation!

- Carsten

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

end of thread, other threads:[~2010-08-16  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-12 16:10 Capture and checkitem julien cubizolles
2010-08-15 14:11 ` David Maus
2010-08-16  8:26   ` Carsten Dominik

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