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

Unique text property for timeline lines #2

Open
alphapapa opened this issue Aug 13, 2018 · 4 comments
Open

Unique text property for timeline lines #2

alphapapa opened this issue Aug 13, 2018 · 4 comments

Comments

@alphapapa
Copy link

This looks neat! Would you mind adding a unique text property to each line you add to the buffer? That way, org-super-agenda could easily put the timeline wherever the user desires in the grouped agenda view.

@Fuco1
Copy link
Owner

Fuco1 commented Aug 13, 2018

Do you mean each line of the timeline has the same unique ID or every line really has a different unique one? I guess the former, but just in case..

@alphapapa
Copy link
Author

Yes, I meant that each line could have, e.g. the org-agenda-timeline property set to t.

@Fuco1
Copy link
Owner

Fuco1 commented Jan 2, 2019

@alphapapa

So I've added an org-timeline to the timeline lines but it seems like they are not picked up by org-super-agenda.

I'm using this to define the section

(:name "Timeline"
 :pred (lambda (x) (get-text-property 0 'org-timeline x)))

@Fuco1
Copy link
Owner

Fuco1 commented Jan 2, 2019

Oh, this happens because you are using an advice on org-agenda-finalize-entries.

Do you think it would be too much trouble to use the finalize hook? Otherwise I don't see how to make this work together :/

@Fuco1 Fuco1 added this to Triage Mar 18, 2024
@github-project-automation github-project-automation bot moved this to To triage in Triage Mar 18, 2024
@Fuco1 Fuco1 moved this from To triage to Backlog in Triage Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants