more or less took the example config from the readme did not work:
(load "~/git/org-todotxt/org-todotxt.el")
(defun spiderbit/org-todotxt-auto-push-all-agendas ()
(interactive)
;; Sync in new tasks from this file and then push out
(org-todotxt-sync "~/notes/test-todo.txt")
;; Just push out to this file, overwriting whatever was there every time.
(org-todotxt-push "~/notes/test-todo.txt")
(org-todotxt-pull "~/notes/test-todo.txt"))
;; Check the docstrings for these variables
(setq org-todotxt-auto-push-function
'spiderbit/org-todotxt-auto-push-all-agendas
org-todotxt-auto-push-delay 1
org-todotxt-auto-push-file-list '("~/notes/organizer.org")
org-todotxt-inbox-for-pull "~/notes/inbox.org")
;; ;; Use settings above and install an auto-push hook
;; (org-todotxt-install-after-save-hook)
thats my code, organizer is a file from me where I have most of my
todos, the rest of the files I created as empty files now, because I was
not shure if that was the problem.
when I try to call org-todotxt-sync or
spiderbit/org-todotxt-auto-push-all-agendas
I get errors like that:
spiderbit/org-todotxt-auto-push-all-agendas
call-interactively: Wrong number of arguments: (lambda (todotxt-file)
"Pulls in any new tasks from TODOTXT-FILE into
`org-todotxt-inbox-for-pull' and then overwrite it with the result of
`org-todotxt-create-agenda-function'.
New tasks are defined as any task without an org-id marker."
(interactive) (if org-todotxt-inbox-for-pull nil (error "Define the Org
file where new tasks should be pulled into in
`org-todotxt-inbox-for-pull")) (org-todotxt-pull todotxt-file)
(org-todotxt-push todotxt-file)), 0
respected results:
- no error message
- my todo headers get somehow exported to the test-todo.txt file.
more or less took the example config from the readme did not work:
thats my code, organizer is a file from me where I have most of my
todos, the rest of the files I created as empty files now, because I was
not shure if that was the problem.
when I try to call org-todotxt-sync or
spiderbit/org-todotxt-auto-push-all-agendas
I get errors like that:
respected results: