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

org-create-file-source RECURING EVENT fix #145

Closed

Conversation

fauxmight
Copy link

Fix recurring events in single-org-file sources

Prior to this change, recurring events worked
in org-create-source, but NOT in org-create-file-source.
This is not the cleanest lisp code, because I am
cookbooking my way through making something work
and not properly understanding what I am doing,
BUT org-create-file-source NOW handles recurring
events correctly.

Ideally, instead of making separate sets of functions for
cfw:org-file-schedule-period-to-calendar and
cfw:org-file-collect-schedules-period
I should have made the "file" argument ":optional"
(in both original functions) and handled both
org-create-file-source and org-create-source
through the same chain of
cfw:org-schedule-period-to-calendar and
cfw:org-file-collect-schedules-period
... My lisp skills were not up to completing
that approach CLEANLY, so I have done things this way.

A Frederick Christensen added 3 commits May 29, 2022 04:53
Prior to this change, recurring events worked
in org-create-source, but NOT in org-create-file-source.
This is not the cleanest lisp code, because I am
cookbooking my way through making something work
and not properly understanding what I am doing,
BUT org-create-file-source NOW handles recurring
events correctly.

Ideally, instead of making separate sets of functions for
cfw:org-file-schedule-period-to-calendar and
cfw:org-file-collect-schedules-period
I should have made the "file" argument ":optional"
(in both original functions) and handled both
org-create-file-source and org-create-source
through the same chain of
cfw:org-schedule-period-to-calendar and
cfw:org-file-collect-schedules-period
... My lisp skills were not up to completing
that approach CLEANLY, so I have done things this way.
@fauxmight
Copy link
Author

This includes changes made in #144
I will rebase this if that gets merged.

@fauxmight
Copy link
Author

Closing this in favor of #146

@fauxmight fauxmight closed this May 31, 2022
@fauxmight fauxmight deleted the org_create_file_source_RECUR_FIX branch May 31, 2022 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant