<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<style>body{font-family:-apple-system,Helvetica,Arial,sans-serif;}blockquote{margin:0;padding:0 0 0 12px;border-left:1px solid #aaa;color:#aaa;}hr.unibox-forward{border:0;color:#888;background-color:#888;height:1px;}</style>
</head>
<body>
<blockquote type="cite">
<div>That would require the tabs to track and compare filenames, which I imagine can be expensive. And also, what if the parent directory also matches with the parent of a different file? With an option like windowTitle (I suggest tabTitle), TextMate doesn't have to make a best guess.</div>
</blockquote>
<div><br></div>
<div>Getting the name of the directory the moment tab opens and keeping it in the memory is not expensive at all.</div>
<div>Then it's just comparing strings and deciding whether to show the directory name or not.</div>
<div>Since TM renders usually around 10 tabs max it should not affect performance.</div>
<div><br></div>
<div>I don't like the tabTitle option, because the majority of files are still pretty unique and don't need any additional detailing.</div>
</body>
</html>