From: Bastien <bzg@altern.org>
To: Zebee Johnstone <zebeej@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: org mode checkboxes from file
Date: Wed, 22 Jan 2014 22:57:17 +0100 [thread overview]
Message-ID: <87ppnjel36.fsf@bzg.ath.cx> (raw)
In-Reply-To: <slrnle0dnu.289k.zebeej@gmail.com> (Zebee Johnstone's message of "Wed, 22 Jan 2014 21:24:15 +0000 (UTC)")
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
next prev parent reply other threads:[~2014-01-22 21:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 21:24 org mode checkboxes from file Zebee Johnstone
2014-01-22 21:39 ` Thorsten Jolitz
2014-01-22 21:57 ` Bastien [this message]
[not found] ` <mailman.12592.1390427861.10748.help-gnu-emacs@gnu.org>
2014-01-22 23:50 ` Zebee Johnstone
2014-01-23 6:37 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppnjel36.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=help-gnu-emacs@gnu.org \
--cc=zebeej@gmail.com \
/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 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.