From: Nick Dokos <nicholas.dokos@hp.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: Matt Lundin <mdl@imapmail.org>, Org Mode <emacs-orgmode@gnu.org>,
nicholas.dokos@hp.com
Subject: Re: org-toggle-checkbox bug
Date: Thu, 24 Feb 2011 19:26:52 -0500 [thread overview]
Message-ID: <6119.1298593612@alphaville> (raw)
In-Reply-To: Message from John Hendy <jw.hendy@gmail.com> of "Thu\, 24 Feb 2011 18\:09\:56 CST." <AANLkTik4mzUievAJUsLnPXJRs5EH9670pYeVMGPUjTUb@mail.gmail.com>
John Hendy <jw.hendy@gmail.com> wrote:
> On Thu, Feb 24, 2011 at 5:52 PM, Matt Lundin <mdl@imapmail.org> wrote:
>
> According to the docstring of org-toggle-checkbox, the function can be
> called on headlines:
>
> ,----
> | If the cursor is in a headline, apply this to all checkbox items
> | in the text below the heading, taking as reference the first item
> | in subtree, ignoring drawers.
> `----
>
> When I call org-toggle-checkbox on the following entry, [I get (shortened from your example)]:
>
> --8<---------------cut here---------------start------------->8---
> * Test
> - [ ] Now
> - [ ] Not now ---> [x]
> - [ ] Later ---> [x]
> - Not yet
> - Never
> --8<---------------cut here---------------end--------------->8---
>
> Then if I call org-toggle-checkbox on the headline again, nothing
> happens. The two boxes remain checked.
>
> Odd; this is not the behavior I get. I just tried on a structure and got this cycling:
> ,-----
> | * top
> | ** next
> | *** next
> | - [x] item 1 --> [ ] --> [x]
> | - [ ] item 2 --> [ ] --> [x]
> | - [ ] item 3 --> [ ] --> [x]
> | - [ ] item 4 --> [ ] --> [x]
> `-----
>
> So... it seems to be working for me, though I was not sure based on the docstring whether "taking as reference the first item in subtree" meant it would toggle the rest to be like it or everything to be the opposite of it. It appears it's the latter definition.
>
> Maybe provide your version? I'm using 7.4.
>
Not working for me: I can reproduce the behavior that Matt reported.
Org-mode version 7.4 (release_7.4.529.gb23d.dirty)
Nick
next prev parent reply other threads:[~2011-02-25 0:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 23:52 org-toggle-checkbox bug Matt Lundin
2011-02-25 0:09 ` John Hendy
2011-02-25 0:26 ` Nick Dokos [this message]
2011-02-25 5:03 ` Nick Dokos
2011-02-25 17:17 ` Nicolas
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=6119.1298593612@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
--cc=mdl@imapmail.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 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.