[TxMt] Re: `mate <file>` from Terminal is occasionally very slow to open <file> in TextMate
Kevin Reid
kpreid at switchb.org
Mon Nov 12 04:30:34 UTC 2018
On Sun, Nov 11, 2018 at 7:42 PM Allan Odgaard <mailinglist at textmate.org>
wrote:
> On 29 Jul 2018, at 16:57, Kevin Reid wrote:
>
> I can't confirm right now because the problem is not happening (it's
> intermittent and I haven't identified a cause).
>
> Try run something like this from a terminal to see if it is reproducible:
>
> for (( i = 1; i < 50; i++ )); do echo -n "Edit $i..."; mate -w "/tmp/test
> $i.txt"; echo "Done!"; done
>
> I did this myself but only issue I saw was that sometimes TextMate
> wouldn’t activate, mostly addressed in these two commits:
> https://github.com/textmate/textmate/compare/cc9faa602...d93972f95 and
> should only hapen when `mate` is used in succession.
>
No hang/slow when I ran your test. However, in my experience since the last
discussion, the problem seems to come and go on a long time scale. Like
there's something else about the system, like maybe the state of
Spaces/fullscreen, that determines whether it happens; it isn't random each
time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20181111/fadc078b/attachment-0001.html>
More information about the textmate
mailing list