Nick Dokos <ndo...@gmail.com> writes: > Shavkat Rustamov <shavkat.rusta...@gmail.com> writes: > >> When calling org-mobile-push, org gives this message "Non-existing agenda >> file .#flagged.org". >> >> .# are lock files (create-lockfiles variable), which get created in the org >> directory. I would prefer to have them. > > Maybe org-mobile-files-exclude-regexp can help. Something > like > > (setq org-mobile-files-exclude-regexp "\\.\\#.*")
Sorry, unnecessary escapes: (setq org-mobile-files-exclude-regexp "\\.#.*") is simpler and should match the same things. -- Nick