emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] MobileOrg


From: Nick Dokos
Subject: Re: [O] MobileOrg
Date: Wed, 25 Jun 2014 15:17:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Aric Gregson <address@hidden> writes:

> Sean Escriva <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]