plans: some context-sensitivity in tab-completion