My org-mode agenda files are on a remote machine, accessed via ssh using tramp. When org-mode starts it always reads this file, which is inconvenient as it makes opening any org file very slow. I would prefer for it to read the agenda files only when I actually look at the agenda. Is there a way to do this?
My .emacs
currently sets the agenda location in this way:
(setq org-agenda-files '("/-:somehost:somefile.org"))
org-agenda-files
when you do whatever it is that is meant to query off-site files.org-agenda-files
. Yes!M-x report-emacs-bug
. It's normal that it fetches the file when you want to view your agenda, but not when you're looking at some unrelated org-mode file.