[TxMt] Failing commands

Koen Punt koen at koenpunt.nl
Thu Dec 29 08:11:19 UTC 2016


Hi,

  

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:

  

![](cid:bizfjhc20jgghl4kq8vimca6b)  

  

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:

  

![](cid:2dc5v706024puwol0xxvkwd0w)  

  

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](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-aa207fc5-447b/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20161229/bbbffda4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pasted File.png
Type: image/png
Size: 48280 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20161229/bbbffda4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pasted File.png
Type: image/png
Size: 303789 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20161229/bbbffda4/attachment-0003.png>


More information about the textmate mailing list