<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">#1</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Is there a $TM_... path that can tell me the top-level directory for the open window?</FONT></DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">For a project yes, TM_PROJECT_DIRECTORY<BR></DIV></DIV></BLOCKQUOTE><BR></DIV>I mean achieve the same result without using "projects".<BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The file list that shows up when launching mate from the terminal (mate projectdir) is obviously called "project drawer" even if we just opened a directory.  Anyway, the list of files there, The top-directory, that is what I want.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>best</DIV><DIV>d</DIV></BODY></HTML>