rem2org #
rem2org builds agenda.org from your Remind file. It keeps everything you wrote by hand.
It matches each reminder with its entry in agenda.org by title and date. When a match exists, it leaves that entry untouched. Your TODO states, CLOSED notes and manual headings survive. When a reminder moves to a new date or time, it moves the entry instead of copying it. New reminders go in date order. It never deletes entries, so expired reminders stay where they are.
Building #
Build it with:
just build rem2org
Install it to ~/.local/bin with:
just deploy rem2org
Usage #
Run it with:
rem2org ~/notes/.reminders
If you give no file, it uses $REMIND_FILE. If that is empty too, it uses ~/notes/.reminders.
It reads the next 18 months of reminders by default. To read a different span, set REM2ORG_MONTHS:
REM2ORG_MONTHS=6 rem2org ~/notes/.reminders
It only rewrites agenda.org when something changed.
The re command, the save hook in the vis config for Remind, the Emacs mine-remind-export-org-agenda command and the remq helper all call rem2org [file].