help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org mode checkboxes from file


From: Bastien
Subject: Re: org mode checkboxes from file
Date: Wed, 22 Jan 2014 22:57:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Zebee,

Zebee Johnstone <zebeej@gmail.com> writes:

> and I have a set of steps  that I have to go through when raising a purchase 
> order such as
>  
>  - [ ] get quotes
>  - [ ] update cost forecasts
>  - [ ] request PO
>  - [ ] check note and match

> Pain to type all those each time...

>From a plain list, go back to the beginning and type C-u C-c C-c to
add checkboxes to all items at once.
>
> But if I put them in a file, then do C-x i to import that file under
> the todo item and add [/] to the todo item, that checkbox counter is
> not updated.  

Inserting from the file will not update the counter,
updating at least one checkbox will.

> I think this means the todo item does not see the imported checkboxes
> as its children.  
>
> How do I convince it that they are?
>
> Is it a matter of whitespace before the -?

Nope.

> Is there some toggle I can use to associate them to the TODO?

No need :)

> However.. if I position cursor on the TODO and hit TAB then the
> checkboxes vanish meaning that they are seen as children?

No, the list is seen as contents.  "children" is for subtrees.
A subtree can be the child of another subtree, but each subtree
contains "contents", like the list in your example.

> If I position the cursor at the end of the TODO line then delete until
> the first line of the imported file moves to that line, then hit RET,
> well suddenly all is well...

You lost me here...

> Has to be a more sensible way?

Updating a checkbox should do.

Let us know,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]