<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jul 27, 2018 at 6:03 AM Daniel Vollmer <<a href="mailto:lists@maven.de">lists@maven.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">when opening (existing) files from Terminal.app using the `mate` command, it occasionally (but not always) takes a fairly long time (more than 5secs) to open the file in TextMate. TM in all these instances is already running, but doesn't necessarily have any open windows.<br>
<br>
This is for small files (e.g. 30 short lines of code), so it cannot be the file size making a difference. If I open the files directly through TM's File -> Open... menu, no such delay happens. <br>
<br>
During such a delay, if I click on the already running TM in the dock to activate it, the desired document that `mate` is trying to open immediately appears.<br></blockquote><div><br></div><div>I also have this problem, consistently. It started about when I upgraded to High Sierra. </div><div><br></div><div>My TM always has already-open windows. I also found that in general, switching apps (even to apps other than TextMate) sometimes triggers it to finish.</div><div><br></div><div>Initially I thought it might be related to the problem with slow Finder updates in the presence of sync apps (see e.g. <a href="https://apple.stackexchange.com/questions/264463/capturing-screenshots-on-macos-sierra-is-very-slow">https://apple.stackexchange.com/questions/264463/capturing-screenshots-on-macos-sierra-is-very-slow</a> <a href="https://apple.stackexchange.com/questions/300633/screenshot-taking-a-very-long-time-to-appear-on-desktop">https://apple.stackexchange.com/questions/300633/screenshot-taking-a-very-long-time-to-appear-on-desktop</a> ) but I haven't gotten around to testing that theory.</div><div><br></div><div><div dir="ltr" style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br class="gmail-Apple-interchange-newline">On Fri, Jul 27, 2018 at 6:50 AM jason <<a href="mailto:jgavris@gmail.com">jgavris@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:georgia,serif">This actually sounds exactly like the problem I was trying to address with this PR. I'm glad someone else is experiencing it! </div><div style="font-family:georgia,serif"><br></div><div><font face="georgia, serif"><a href="https://github.com/textmate/textmate/pull/1405" target="_blank" style="color:rgb(17,85,204)">https://github.com/textmate/textmate/pull/1405</a></font></div></div></blockquote><br></div><div>For myself, I agree with the comments in that PR that a bring-to-front of all of TextMate would be undesirable.</div></div></div>