Hi Abdó, Abdó Roig-Maranges <abdo.r...@gmail.com> writes:
> Let's say I have an org file structured like this > > * Project 1 > ** Tasks > foo > ** Ideas > > * Project 2 > ** Tasks > bar > > When I search 'foo' I'd like the agenda search-view to display 'Project > 1' instead of the closer, but less informative 'Tasks' > > The attached patch solves this by adding a configuration parameter that > sets the maximum outline level for the headings displayed in the results > of a search-view. This way, I can have a custom search on the above org > file with org-agenda-search-view-max-outline-level set to 1. Thanks. I've applied your patch with a few some cosmetic changes. I hesitated before applying this patch because maybe we want this for other agenda views as well. But after some thinking, I see how this is useful for search views and I'm not sure whether this would be useful for other agenda views. Best, -- Bastien