Hi Suvayu, could you describe your use case for this addition? When would you need this above calling org-occur again and using the minibuffer history to repeat your search?
- Carsten On Aug 24, 2011, at 1:47 AM, Suvayu Ali wrote: > Hi Bastien and everyone, > > I wanted to implement a history facility for sparse trees. Since sparse > trees use org-occur and org-scan-tags any such facility would need to > be aware of both functions. My lisp foo proved to be too weak to > understand org-scan-tags, so I implemented this only for org-occur > searches. > > With this patch one can traverse the sparse tree history for date, > regular expression and TODO keyword searches with the > org-occur-history-forward and org-occur-history-backward functions. One > can also call the org-occur-history-next function interactively to jump > to the nth history entry. This should also work for any other searches > that uses org-occur as the backend. > > Please feel free to modify the patch if there are better ways to > implement this facility. Thank you. > > -- > Suvayu > > Open source is the future. It sets us free. > <0001-Implement-history-facility-for-org-occur-searches.patch> - Carsten