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.