I recently decided to redo my entire org setup and make it more efficient. I used to have .org files all over my machine, but they now reside in 2 folders:
~/work/org
~/personal/org
I reset where org-mode looks for agenda files with
;; set agenda files
(setq org-agenda-files (quote ("~/work/org"
"~/personal/org")))
However, when I pull up the todo list (C-c a t
), I get errors of the form:
Non-existent agenda file [filename]. [R]emove from list or [A]bort?
for files that were in the old list. If I remove all these files, I eventually get an Org Agenda buffer that simply shows:
Global list of TODO items of type: ALL
Available with `N r': (0)[ALL]
Any idea on what I am doing wrong?
Ensure you don't have org-agenda-files set in a "customize" block in your .Emacs file. This is a common source of errors.
Try this:
(setq org-agenda-files
(append
(file-expand-wildcards "~/work/org/*.org")
(file-expand-wildcards "~/personal/org/*.org")))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With