Mikhail Pomaznoy <mikpom@mikpom.ru> writes:
Greetings!
Hi Mikhail,
When I make the first edit (insert any char or even hit backspace) on
a remote file I just opened it lags. Any edit after that seems to be
fine. Any edit after another save is slow again.
Any help is appreciated and I am willing to help debug and investigate
if needed.
I suspect it is locking of the file. Other candidates for this behavior
could be auto-save or backup.
Locking of remote files can be suppressed by setting
remote-file-name-inhibit-locks to a non-nil value. See also the
discussion in the Tramp manual,
(info "(tramp) Auto-save File Lock and Backup")
Kind regards,
-Mikhail
Best regards, Michael.