emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Yasushi SHOJI <yasushi.shoji@gmail.com>,
	emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Another case which org-insert-todo-heading doesn't work
Date: Thu, 26 Mar 2020 02:31:44 +0000	[thread overview]
Message-ID: <87pnczsv73.fsf@kyleam.com> (raw)
In-Reply-To: <CAELBRWKSgdC_g9=X=WmGEYj3LVw6=W2-FhwSwtRKyK=NRCu9NA@mail.gmail.com>


Yasushi SHOJI <yasushi.shoji@gmail.com> writes:

> There seems to be another case where org-insert-todo-heading doesn't
> work.  Let's say we have the following doc.
> #+begin_src org
>   ,* foo
>     - [ ] a
>       - [ ] b
> #+end_src
> If the list is unfolded, org-insert-todo-heading works everywhere. But
> once you fold the list at "a" so that what we see is "- [ ] a...", the
> function doesn't work but creates a next heading with "TODO" with it.
> Does anyone see this?

No, I tried on master (5b9698870) as well as maint (685b2c441) and
didn't see the behavior you describe.  In both cases, an unchecked box
is inserted.

What Org version are you using?  Can you trigger the behavior without
any customization?

  reply	other threads:[~2020-03-26  2:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25  6:23 Another case which org-insert-todo-heading doesn't work Yasushi SHOJI
2020-03-26  2:31 ` Kyle Meyer [this message]
2020-03-28 13:18   ` Yasushi SHOJI

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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnczsv73.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yasushi.shoji@gmail.com \


* 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 public inbox


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