From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Martin_Kj=C3=A6r_J=C3=B8rgensen?= Newsgroups: gmane.emacs.help Subject: TRAMP not saving files the first time? Date: Mon, 02 Sep 2024 08:04:15 +0200 Message-ID: <87le0a1ti8.fsf@lagy.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30380"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 02 08:05:07 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sl0BW-0007jC-Gk for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Sep 2024 08:05:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl0At-0006SO-Cx; Mon, 02 Sep 2024 02:04:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl0Ar-0006Rx-3T for help-gnu-emacs@gnu.org; Mon, 02 Sep 2024 02:04:25 -0400 Original-Received: from anon.cephalopo.net ([93.160.30.86]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sl0Ao-0005Kq-W7 for help-gnu-emacs@gnu.org; Mon, 02 Sep 2024 02:04:24 -0400 Original-Received: from localhost (ws.c.lan [172.18.134.9]) by anon.cephalopo.net (Postfix) with ESMTPSA id 4WxyrJ3V9pz1xnj for ; Mon, 2 Sep 2024 06:04:16 +0000 (UTC) Authentication-Results: anon.cephalopo.net; auth=pass smtp.mailfrom=me@lagy.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lagy.org; s=def2; t=1725257056; x=1725861856; bh=Bp7YyqvGSbCHLxcTM3QUls9cvuhGb1VefVqyvl+WmSs=; h=From:To:Subject:Date:Message-ID:MIME-Version:From:To:Reply-To:Cc: Message-ID:Subject:Date; b=C4pPG3JAkDkqDJXuwARkhiREIcntxJWfXZMx1tW9hIAlVgVqAjuI5i19XIawiCYBD irm0wCydqTtGNO/YjDGG881kRqJ+1fKascD05nvf81LMlcSOlptt1485zFfY8LG6/o i53WA0GIY6Ygbtz9twPNPsWZ+DCGIoIr8IGmWQJN3nSoxE7TvUNrA02O39HOm5Y9b5 arlgZy6RBGgDrknOW6MGPko5YPJUHX+oHB/UECOQbGMcIyTMkY+40yPX+8SnMegV/G rR1jeI8nGRIVfVPwoxFkWO7dNbQkDNizcv83QzCrSeVYZnjw0aaJkQfgChztAkOuZt DJtyZi4h/ZAXw== Received-SPF: pass client-ip=93.160.30.86; envelope-from=me@lagy.org; helo=anon.cephalopo.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147882 Archived-At: Hello, I'm a happy Emacs 29.4 + TRAMP 2.7.1.2 user that usually edits text reliably on my local system. 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? /Martin