-
Notifications
You must be signed in to change notification settings - Fork 108
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
[FEATURE REQUEST] A predicate for "sibling" #287
Comments
Hello, This issue tracker is intended for reporting bugs, feature requests, proposing patches, etc, not for general support questions. As well, by asking here, only I can offer answers, and only you can benefit from them. Please ask in a more appropriate, public forum, like https://old.reddit.com/r/emacs+orgmode, #emacs:matrix.org, etc. so that other users can offer help and learn as well. |
Thanks you for your answer. Sorry, it's true that this is not the right place for this kind of question, I got carried away. My basic question is the following and it's in the "feature request" category (I don't know how to label a topic lol sorry) : Could there be a predicate for "sibling"? sibling (&optional query upOrDown) I don't know if you see the idea and if it is possible. |
Please see #105. |
Thanks you for your answer, I will check this. |
Hello !
I am currently trying to do the following: only get headings that are the next actions to be taken. A concrete example:
`
** TODO Task one, the next action that I want to see
** TODO Task two, but after the task one, not the next action`
As you can see here, the next action is the task one.
A slightly more complicated example:
`
Project
** Not next action
*** Next action
*** Not next action
** Not next action
Project
** DONE Task one
** TODO next action
`
I managed to make a function with "org-agenda-skip-function" which allows me to find its famous next action. But how to do it with org-ql ? Is there a possibility to "translate" this function into an org-ql query ?
I'm also thinking of creating a new predicate, "brother-up", which would return true if the heading has a heading of the same level before it
So maybe I could find the next action by taking the following headings:
I'm a bit lost, because I don't even know if it would work, and if I have thought about everything. I don't know in which direction to go.
Thanks in advance for your answers
The text was updated successfully, but these errors were encountered: