unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Mikhail Pomaznoy <mikpom@mikpom.ru>
Cc: 57279@debbugs.gnu.org
Subject: bug#57279: Tramp slows down some edits of a remove file
Date: Fri, 19 Aug 2022 09:14:08 +0200	[thread overview]
Message-ID: <87h7281z9b.fsf@gmx.de> (raw)
In-Reply-To: <d48bdb07-6ec0-4755-38c6-d5cfa6e16e3d@mikpom.ru> (Mikhail Pomaznoy's message of "Thu, 18 Aug 2022 22:35:56 +0700")

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.





  reply	other threads:[~2022-08-19  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 15:35 bug#57279: Tramp slows down some edits of a remove file Mikhail Pomaznoy
2022-08-19  7:14 ` Michael Albinus [this message]
2022-08-20  2:17   ` Mikhail Pomaznoy
2022-08-20  6:52     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7281z9b.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=57279@debbugs.gnu.org \
    --cc=mikpom@mikpom.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).