There are quite some commands that when invoked result in an error. The error itself is correct in a way, but most of the time not very helpful, and I think they can be avoided by adding some preconditions to these commands.

Take for example "Browse Annotated File (Blame)"; when running without having a file open or selected in the filebrowser, it displays the following error:

Or the scm gutter; when deleting or renaming a folder outside of TextMate, but which is currently open in TextMate, then after deleting closing one of the tabs displays the following error:

I think all  these kinds of errors have to be solved at bundle level, but like to hear some opinions before I start opening pull requests.

– Koen

Sent from Nylas N1, the extensible, open source mail client.