Sometimes I want to selectively archive all entries in a subtree with timestamps in the past, whilst keeping all entries with timestamps in the future. `org-archive-subtree' only lets you selectively archive entries depending on whether they have open TODO items. The attached patch adds a new `org-archive-all-old' counterpart to `org-archive-all-done' which does timestamp-selective archiving. It also extends `org-archive-subtree' so it can optionally be invoked for timestamp-based archiving instead of TODO-based archiving. Toby -- Dr T. S. Cubitt Royal Society University Research Fellow Fellow of Churchill College, Cambridge Centre for Quantum Information DAMTP, University of Cambridge email: tsc25@cantab.net web: www.dr-qubit.org