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-ql-block is an alias for ‘org-ql-search-block’, which is not defined. #76

Closed
novoid opened this issue Dec 17, 2019 · 2 comments
Closed

Comments

@novoid
Copy link

novoid commented Dec 17, 2019

I tried to come up with a stuck project agenda similar to https://github.com/alphapapa/org-ql/blob/master/examples.org#stuck-projects-block-agenda

This is my setup which is yet to be tested:

[...]
                ("x" "Stuck Projects: tagged with \"project\", open sub-tasks not scheduled"
                ((org-ql-block '(and (tags "project")
                              (not (done))
                              (not (descendants (not (done))))
                              (not (descendants (scheduled))))
                        ((org-ql-block-header "Stuck Projects: tagged with \"project\", open sub-tasks not scheduled")))))
                ("1" "Stuck todos: open sub-tasks not scheduled"
                ((org-ql-block '(and 
                              (not (done))
                              (descendants (not (done)))
                              (not (descendants (scheduled))))
                        ((org-ql-block-header "Stuck todos: sub-tasks not scheduled")))))
                ("2" "Stuck todos: scheduled open todos with scheduled sub-tasks"
                ((org-ql-block '(and 
                              (not (done))
                              (scheduled)
                              (descendants (scheduled)))
                        ((org-ql-block-header "Stuck todos: scheduled open todos with scheduled sub-tasks")))))
[...]

When I start one of these agendas, I get funcall: Symbol’s function definition is void: org-ql-block and C-h f of org-ql-block shows me:

org-ql-block is an alias for ‘org-ql-search-block’, which is not
defined. Please make a bug report.

So I file this bug report as being told ;-)

@alphapapa
Copy link
Owner

As with #75, this is because the package isn't installed correctly.

@alphapapa
Copy link
Owner

Further reports have shown that there is a bug here, depending on how or whether the user loads the package. See #53.

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

No branches or pull requests

2 participants