-
Notifications
You must be signed in to change notification settings - Fork 113
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
Changes in org-dblock-write:org-ql #184
Conversation
Now org-agenda-files can be included as well as any other list of files that work for org-ql. Useful if you are doing your weekly, quarterly or yearly reviews.
Hey! I made a similar change in my config file, and I found that the links generated don't work, because they do not include the full path. That's a limitation of the original code... You can check that yourself by making a dynamic block that gathers headlines from other files and following the generated links. I'm pretty new with ELisp so I wasn't able to fix it. Best! |
Further to this reply - alphapapa#184 (comment), I used the buffer name from org-marker element.
@timinou, I haven't done extensive tests, but seems to serve my purpose. Thanks @alphapapa and others for developing such a lovely package! |
Thanks @balaramadurai ! I imported your code to my config.org and I had to make two changes:
I fixed (2) by changing your "format" string to include org-directory, but I don't know if that's the most idiomatic way of doing it, so I didn't push it. Let's see if @alphapapa has a better solution at hand! Thank indeed to everyone involved for such a useful package! It opens up org-mode's customisation to yet another level. |
- `:link t` option gives the user an option whether to make the headings a link or not - an element with `:file` to be added via `org-ql.el` - this `:file` will be used here for the file-name with its path
`:file` needed to add the path and file name to the org-link
Thanks @timinou for the feedback. I made changes to two files - Please let me know if this works for you. It seems to be working for me. I tested my setup with my org-agenda-files and in a scratch buffer. Seems to be working. Thanks and have a good day! |
- `:link t` option gives the user an option whether to make the headings a link or not - an element with `:file` to be added via `org-ql.el` - this `:file` will be used here for the file-name with its path Further to this reply - alphapapa#184 (comment), I used the buffer name from org-marker element. Now org-agenda-files can be included as well as any other list of files that work for org-ql. Useful if you are doing your weekly, quarterly or yearly reviews.
Thanks for your patience. I think this PR isn't suitable for merging, because it seems to contain some changes unrelated to the matter at hand (controlling the scope of the block's search). As well, this enhancement will have to be carefully considered to avoid security risks. e.g. what kind of argument does the Since this PR doesn't address those issues, I'm closing it. Thanks for sending it, though. Please feel free to continue the discussion on #151. |
Now org-agenda-files can be included as well as any other list of files that work for org-ql.
Useful if you are doing your weekly, quarterly or yearly reviews.
#151 is something that triggered my thoughts.