|
From: | Dmitry Gutov |
Subject: | Re: Introducing thread-safe Tramp |
Date: | Sat, 28 Jul 2018 12:36:57 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
On 7/28/18 12:18 PM, Michael Albinus wrote:
If it is a remote file, and the connetion has not been established yet, it would take more time due to the initial hand-shaking. And git's vc-refresh-state implementation takes more time for small remote files than loading the file into the buffer, due to the remote processes being called.
In both of those cases, opening the file asynchronously probably makes more sense, IMHO.
So I think a global user option should do fine. Maybe even just a boolean by default: the case you described is a remote file, so there's still no counter-argument for opening small local files asynchronously.
[Prev in Thread] | Current Thread | [Next in Thread] |