Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about syncing linked files #252

Open
stormlash opened this issue Oct 22, 2019 · 3 comments
Open

Questions about syncing linked files #252

stormlash opened this issue Oct 22, 2019 · 3 comments
Labels
enhancement Categorizes issue or PR as enhancing existing behavior sync Categorizes issue or PR as related to sync behaviors, dropbox, icloud, webdav, etc

Comments

@stormlash
Copy link

My mobileorg takes a long time to sync because it tries to download a long list of files that are linked to from my main .org documents. That prompts a few questions:

  1. How would I utilize this feature? I haven't been able to figure out how I'd get these linked files exported to where mobile org could see them as part of org-mobile-push.
  2. Is this feature actually utilized? I'd prefer to just disable syncing linked files entirely since I haven't found a way to use it.
@dive
Copy link
Member

dive commented Oct 22, 2019

Hi @stormlash,

I did not try it, but that's what I see in the code: by default, as I can see in the org-mobile.el implementation, it syncs only files mentioned in agendas or located directly in org-directory. If you want to sync additional files you have to specify org-mobile-files with an explicit list of files/directories.

org-mobile-files:
Files to be staged for MobileOrg.
This is basically a list of files and directories. Files will be staged directly. Directories will be search for files with the extension ‘.org’.

@stormlash
Copy link
Author

Sorry to revisit this after so long - somehow I missed this reply and only just now thought to check in again.

In my case, I'm not interested in having the files be staged for mobileorg at all - but the fact that MobileOrg is looking for them on every sync accounts for about 80% of the sync time. Would y'all be receptive to a PR to add a toggle to the settings to configure whether sync operations should attempt to download referenced files?

@webframp
Copy link
Member

webframp commented Jan 2, 2020

Hey @stormlash I wouldn’t be opposed to that if it’s a feature you want to add, default can just be current behavior but the toggle in the settings can switch to what you’ve mentioned

@webframp webframp added enhancement Categorizes issue or PR as enhancing existing behavior sync Categorizes issue or PR as related to sync behaviors, dropbox, icloud, webdav, etc labels Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Categorizes issue or PR as enhancing existing behavior sync Categorizes issue or PR as related to sync behaviors, dropbox, icloud, webdav, etc
Projects
None yet
Development

No branches or pull requests

3 participants