some customizations for supertab and pymode -- still working out the quirks