help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TRAMP not saving files the first time?


From: Michael Albinus
Subject: Re: TRAMP not saving files the first time?
Date: Mon, 02 Sep 2024 09:31:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Martin Kjær Jørgensen <me@lagy.org> writes:

> Hello,

Hi Martin,

> I have noticed weird behaviour when editing remotely using TRAMP+SSH. When
> editing configuration text files on a remote server using TRAMP+SSH I
> sometimes have to save the text file twice in order for the server to get the
> changes. Saving the buffer once makes Emacs thinks its saved, but `cat' -ing
> the file on the server afterwards shows nothing new is saved. If I then have
> Emacs make a slight change, like adding a white space and delete it again, and
> save again, the changes becomes visible on the server.
>
> Have any of you seen similar behaviour, or maybe have ideas how to debug it?

I haven't seen this. However, I recommend to set tramp-verbose to 6, and
rerun your test. Once you see the problem (Tramp doesn't save for the
first time), copy the Tramp debug buffer. Send it, with a precise
explanation what you have done.

If the buffer is too large, or if the buffer might contain sensible data
you like to hide, send the message directly to me.

> /Martin

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]