From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yasushi SHOJI Subject: Another case which org-insert-todo-heading doesn't work Date: Wed, 25 Mar 2020 15:23:56 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60597) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGzSU-0001Az-2h for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 02:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGzSS-0007Ii-Vw for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 02:24:09 -0400 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]:34582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGzSS-0007IT-SL for emacs-orgmode@gnu.org; Wed, 25 Mar 2020 02:24:08 -0400 Received: by mail-io1-xd2a.google.com with SMTP id h131so1159132iof.1 for ; Tue, 24 Mar 2020 23:24:08 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list 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