-
Notifications
You must be signed in to change notification settings - Fork 110
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] Add :file header argument to org-ql dynamic blocks #151
Comments
Thanks, good idea. |
One good example how this feature can be used is automatic backlinks. It becomes trivial to list all the headings containing links to current heading. |
@yantar92 I post something like that here : org-roam/org-roam#1336 |
I would love to see this! My personal need is just to be able to select the options of either using the |
This should probably depend on the fixes discussed in #228. |
Retargeting this for 0.7. 0.6 has been delayed for too long. |
I'm looking forward to this feature coming. I also noticed that |
Any news about this feature? Would be awesome in combination with org roam and todo lists. |
Actually, yes. I pushed a WIP branch with some improvements, including adding a It also includes some other small improvements, like using relative timestamps for and adding a Feel free to try it out and let me know what you think. It could probably go into a v0.8-pre commit soon. |
See also this branch, which I think will be very useful: 70cfee6 |
Looks awesome, i will give it a try. |
Ah, great I have been wanting dynamic blocks that source from other files. I added |
Any updates on that branch? This feature would be really useful for people with multiple agenda files and would bring |
Hi, If you mean the branch at https://github.com/alphapapa/org-ql/compare/wip/dynamic-block-improvements, then I'd be glad to hear any feedback from anyone who'd like to test it. It should probably be rebased, though. Maybe I can do that this weekend... |
I would try to make time to test it. I have been using the elisp from here #239 (comment) with success for about 9 months. |
Hi, I tried to test the branch (https://github.com/alphapapa/org-ql/compare/wip/dynamic-block-improvements) but I can't a find a way to make it work. Should the :from header also accept a simple string with the file name? With either: I get: Looking at the debugger it seems that the :from header is correctly picked up: PS: The code in #239 works correctly |
Dynamic blocks are great, could we add
:file
(or:from
if you want to stay consistent with your documentation) as a header argument to specify what files org-ql searches?Example:
The text was updated successfully, but these errors were encountered: