orgmode
orgmode copied to clipboard
Choose the default TODO keyword on new created headlines when you don't want the first keyword
Describe the bug
If you define the next keywords order because is the one you want it to have in the agendas
org_todo_keywords = {
"WAITING(w)",
"DOING(d)",
"READY(r)",
"TODO(t)",
"INACTIVE(i)",
"|",
"DONE(e)",
"REJECTED(j)",
"DUPLICATE(u)",
},
When you create a new headline with org_insert_todo_heading or org_insert_todo_heading_respect_content the TODO keyword will be WAITING instead of TODO.
Steps to reproduce
Create a headline with the scenario described above
Expected behavior
The new created headline has the TODO keyword, or the one the user chooses
Emacs functionality
No response
Minimal init.lua
-- Enter your minimal_init.lua here
Screenshots and recordings
No response
OS / Distro
Linux
Neovim version/commit
0.10.4
Additional context
I implemented a fix for this case in this pr using the org_todo_default_state configuration option