Re: Another case which org-insert-todo-heading doesn't work

2020-03-28 Thread Yasushi SHOJI
Hi,

On Thu, Mar 26, 2020 at 11:31 AM Kyle Meyer  wrote:
>
> > 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?

I've tried both emacs 26 and 27 with -Q -q.

Org mode version 9.3.6 (release_9.3.6-441-gba6855 @
/home/yashi/src/org-mode/lisp/)
GNU Emacs 27.0.90 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0)
 of 2020-03-16
GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu) of 2019-04-14

What I did was to add org-mode/lisp to the load-path and load org.  That's it.
(add-to-list 'load-path "~/src/org-mode/lisp/")
-- 
yashi



Re: Another case which org-insert-todo-heading doesn't work

2020-03-25 Thread Kyle Meyer
Hello,

Yasushi SHOJI  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?




Another case which org-insert-todo-heading doesn't work

2020-03-25 Thread Yasushi SHOJI
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