[O] org-mobile-push: Non-existent .#flagged.org angenda - how to avoid this message?

2014-08-13 Thread Shavkat Rustamov
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.


Re: [O] org-mobile-push: Non-existent .#flagged.org angenda - how to avoid this message?

2014-08-13 Thread Nick Dokos
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 \\.\\#.*)

I don't use MobileOrg, so this is completely untested, and even if it
works, the regexp can probably be improved.

--
Nick






Re: [O] org-mobile-push: Non-existent .#flagged.org angenda - how to avoid this message?

2014-08-13 Thread Nick Dokos
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