[TxMt] Re: `mate <file>` from Terminal is occasionally very slow to open <file> in TextMate

Daniel Vollmer lists at maven.de
Mon Nov 12 08:53:06 UTC 2018


Hello,

I haven’t really managed to diagnose this further, but occasionally I get the feeling that this might be due to how `fish` shell triggers execution of binaries (but again, I’ve only observed this in conjunction with `mate` — but that’s probably my most-used command-line utility that connects to the WindowServer by a large margin).

	Daniel.

> On 12. Nov 2018, at 05:30, Kevin Reid <kpreid at switchb.org> wrote:
> 
> 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.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list