[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57279: Tramp slows down some edits of a remove file
From: |
Michael Albinus |
Subject: |
bug#57279: Tramp slows down some edits of a remove file |
Date: |
Fri, 19 Aug 2022 09:14:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
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.