Aric Gregson <aorc...@mac.com> writes: > Sean Escriva <sean.escr...@gmail.com> writes: > >> org-mobile.el which is responsible for the sync has a custom var defined >> called 'org-mobile-files-exclude-regexp' which should exlude files that >> match. > > OK. I've tried to play with this, but clearly my understanding of emacs > and regex is inadequate for this. Ideally I would like to exclude all of > the files except for two, agenda.org and organizer.org. Alternatively, > is there a way to list all files you want excluded in the regex match > pattern? > > I tried [[:name.of.file:]][[:name.of.another:]] but it didn't like > that. I can exclude a single file just by putting it's name in, but I am > not clear on how to make a list of files to exclude. >
Instead of starting with everything and trying to exclude most of them, go the other way: start with nothing and include just what you want: C-h v org-mobile-files RET Something like this: (setq org-mobile-files '("/path/to/agenda.org" "/path/to/organizer.org")) Nick