↓ Skip to main content

2024-05-22T06:03:08+0000

#Emacs #OrgMode friends! help!


I need a way to exclude files containing .sync-conflict in their name from Org Agenda.
My org setup is such that it reads all the files in a folder.


Context & Details:

  • Org mode reads my syncbox folder for the agenda.
  • (syncbox syncs with beorg on the phone via syncthing, so I can see and execute on all my stuff through out the day)
  • files are open on both the desktop and the phone, and every once in a while syncthing creates a -sync.conflict file and now i have two sets of everything (sometimes 3) (for e.g. tasks.org conflicts and i get, tasks.sync-conflict-20240516-101335.2TWENY.org and tasks.sync-conflict-20240408-041556.2TWENY.org)
  • for more context, the desktop needs to reigns supreme. i don’t care about the phone. once in a while i go delete the conflicting files and then all is well
  • i tried hacking org-agenda-file-regexp , but wasn’t successful at asking it to ingore them.

is there a way I can tell org to ignore, files with a certain pattern in my org-agenda directory?




Original: https://toots.dgplug.org/@jason/112483224007964606

#emacs, #orgmode