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

Fix some bugs in handling of ID properties: #71

Merged
merged 2 commits into from
Apr 13, 2020
Merged

Fix some bugs in handling of ID properties: #71

merged 2 commits into from
Apr 13, 2020

Conversation

telotortium
Copy link
Collaborator

  • Only use an existing ID if it matches the format of the IDs created by
    org-gcal.
  • Use org-entry-get and related functions instead of org-element-property
    as much as feasible. org-element-property doesn't always read the first ID
    in an entry, which is the behavior we want.
  • Remove org-gcal--property-from-name because it's now unused.
  • Only update org-id location when buffer file name not nil

- Only use an existing ID if it matches the format of the IDs created by
  org-gcal.
- Use `org-entry-get` and related functions instead of `org-element-property`
  as much as feasible. `org-element-property` doesn't always read the first ID
  in an entry, which is the behavior we want.

Also remove `org-gcal--property-from-name` because it's now unused.
@telotortium telotortium merged commit 6b65881 into kidd:master Apr 13, 2020
@telotortium telotortium deleted the id-fixes branch April 14, 2020 02:34
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