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

Add filename to outline-path #259

Open
gsingh93 opened this issue Apr 11, 2024 · 1 comment
Open

Add filename to outline-path #259

gsingh93 opened this issue Apr 11, 2024 · 1 comment
Assignees
Milestone

Comments

@gsingh93
Copy link

I have two org files that have content under the same heading:

* Heading 1
** TODO Item 1

I have this in my org-agenda-custom-commands:

(setq org-agenda-custom-commands
...
  (org-ql-block '(todo "TODO")
                ((org-super-agenda-groups '((:auto-outline-path t)))))
...

And this is what I see in the agenda view:

Query:(todo "TODO")  In:org-agenda-files

 Heading 1
  TODO Item 1 
  TODO Item 1 

What I would like to see is:

Query:(todo "TODO")  In:org-agenda-files

 file1.org/Heading 1
  TODO Item 1 

 file2.org/Heading 1
  TODO Item 1 

If there isn't a way to do this already, could it be added? I know there are some other issues discussing groups of groups, multiple org-ql-blocks in an agenda view, multiple org-ql-search queries in a single buffer, etc, which may be alternative solutions for distinguishing between these headings, but I think just having the filename in the outline path is a simpler solution for what I need.

@alphapapa alphapapa self-assigned this Jun 29, 2024
@alphapapa alphapapa added this to the 1.4 milestone Jun 29, 2024
@alphapapa
Copy link
Owner

Sure, this would be simple to add. Patches welcome, or I'll get to it someday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants