Nick Dokos <ndo...@gmail.com> writes: > Arthur Miller <arthur.mil...@live.com> writes: > >> I have a simple question, but I wasn't able to find answer on the web, >> so finally I'll try my luck here. >> > >> I know I can setq org-todo-keywords with a list '((sequence "TODO" >> DONE")), as an example. But what variable is used for per-file keywords? >> Once that are set with #+TODO: ... line? >> >> I guess when org mode parses a file when starting up the mode, it has to >> parse that line into some var, where do I find it? >> > > It is parsed into a buffer-local variable by the name of > `org-todo-keywords-1'. Do `C-h v org-todo-keywords' and `C-h v > org-todo-keywords-1' for all the details. > > BTW, when the interwebs fail you (or even before that), use the source :-)
Yes indeed! I used the source Luke! :) I found that one, unfortunately it is not enough to set that one to my keywords. There are also two lists in play org-todo-kwd-alist and org-todo-key-alist which are set in one mastodont method, but I think I can refactor that out. I have to figure out how to build alist comming from out org-collect-keywords which is input to that part of code. Didn't had time last night, will see if I have time today.