emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yasushi SHOJI <yasushi.shoji@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Another case which org-insert-todo-heading doesn't work
Date: Wed, 25 Mar 2020 15:23:56 +0900	[thread overview]
Message-ID: <CAELBRWKSgdC_g9=X=WmGEYj3LVw6=W2-FhwSwtRKyK=NRCu9NA@mail.gmail.com> (raw)

Hi,

https://www.mail-archive.com/emacs-orgmode@gnu.org//msg122319.html

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?

#+begin_src org
  ,* foo
    - [ ] a
      - [ ] b

  ,* TODO
#+end_src
-- 
           yashi

             reply	other threads:[~2020-03-25  6:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25  6:23 Yasushi SHOJI [this message]
2020-03-26  2:31 ` Another case which org-insert-todo-heading doesn't work Kyle Meyer
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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='CAELBRWKSgdC_g9=X=WmGEYj3LVw6=W2-FhwSwtRKyK=NRCu9NA@mail.gmail.com' \
    --to=yasushi.shoji@gmail.com \
    --cc=emacs-orgmode@gnu.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 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).