From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#55247: [29.0.50; TRAMP] Tramp Always Thinks Buffer Changed On Disk After Edit -> Save Date: Fri, 06 May 2022 13:22:50 +0200 Message-ID: <87czgqj46t.fsf@gmx.de> References: <87levfhwz9.fsf@gmx.de> <87ee17hueh.fsf@elite.giraud> <87levfnfba.fsf@gnus.org> <87bkwa6hbu.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25726"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 55247-done@debbugs.gnu.org, Lars Ingebrigtsen , Jacob Faibussowitsch To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 06 13:23:54 2022 Return-path: Envelope-to: geb-bug-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 1nmw3t-0006UX-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 13:23:53 +0200 Original-Received: from localhost ([::1]:52514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmw3s-0002oT-GX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 07:23:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmw37-0002mQ-G9 for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:23:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmw33-00045w-TJ for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmw33-0007Zn-Oe for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 07:23:01 -0400 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2022 11:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55247 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 55247@debbugs.gnu.org, michael.albinus@gmx.de, jacob.fai@gmail.com Original-Received: via spool by 55247-done@debbugs.gnu.org id=D55247.165183617929096 (code D ref 55247); Fri, 06 May 2022 11:23:01 +0000 Original-Received: (at 55247-done) by debbugs.gnu.org; 6 May 2022 11:22:59 +0000 Original-Received: from localhost ([127.0.0.1]:47254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmw31-0007ZE-H5 for submit@debbugs.gnu.org; Fri, 06 May 2022 07:22:59 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:45985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmw30-0007Z2-Fa for 55247-done@debbugs.gnu.org; Fri, 06 May 2022 07:22:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1651836171; bh=m6fkGqgk5nctsgsu6ubhTe0oognLAoP/3JcHOkGMPP4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=CIleGGkvV7rdmyq3ZolLCz+9Z6qMu91pSE4hclkfDvSmvmWxza5vcKywtveomuG5/ uu3UfANapwy/zkpOHG215jUtiiGunA4zVnxHYPj7H+XOey6n7/DjvTNOErJGQJL6hZ 55gbeielNDjJ45tRePgHw50YSUIJk6KUff8nVR+U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.124.244]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M8QS8-1niYKh18zo-004X63; Fri, 06 May 2022 13:22:51 +0200 In-Reply-To: <87bkwa6hbu.fsf@elite.giraud> (Manuel Giraud's message of "Fri, 06 May 2022 13:17:25 +0200") X-Provags-ID: V03:K1:HbsOetVVTNouK/0DVWPACgD0iV2rnD1JLrm308moq48WjT9RFaX CqeGK05Io93XK99pqVX+7o5FYMnbLZDIu2d+G2ibq9xLkFOqeO8PjljMSLU7zksam4c9hgQ fTxCscKcBNqWKOM6O76MLITYj4tXGUW/8fIFzwHZ+3MuuEF3kSbGMAI8UCpnkZ5J9W1rsRm fcjp5vsv0YuTq/BO9UGQw== X-UI-Out-Filterresults: notjunk:1;V03:K0:cH1oqlZZARw=:5wJ+ZkN5j9AMYUTEJQzEWh PfTsChTX2KxB5EERWBUWy+7/CguYM86O7dnhXKgZa6Zo1gMZ4YBY9gEVjg7WAu7F8CpPRg4n7 1wKnQBQFEelICyzdFoF27ag5/NBkcr+IAY1v8GVe4y62wfqREjbTWhqLKCi2EdHJPODVZrA12 C1kYlOpr5kmKV7iDeViRcOJ4EaJ6xjuOefWO6SbyYNb4xePz58q1n7MzBzpaSgbUHegl8qdqR fxejGurOppG1hH28O6O876b5lKbzUDAdvcByF+tRnipflthJv3eJ64NsRDRPfZuzNZLoiAGdT Vif2D4rzdld0r/04i4CdmJ/AhyJoCQ0l2yoatqN+Q7daFNTz1jhJDdb+gLqfqzQR3gEDGbTLV eVY3lo4aeY4t1JuPxJa+iwEpS94SjYC+AeV2MnGDxmXyw77Hybh0717q2YczLyomDVIWk6axR mb0OFOWonVZ8QkTMFrm9rYrOcg9MBd5BTM14yzoDmHWBthbzmwSXKP2dNkZqUOVVfXulERmj7 dsnc0TpDZFlwrYQghCc/9DrlFsykw2W5awCtM375EyPbJC9RsaqPDzlfzUTDu3cl2vszlNTL2 Ev/LEkwt9gH3acKkuVD7N6sJu1+PQoJrqwXRPzR7MhjkBgLj2zJVRCRNUci3Jgh5vmeUIAQhl A8RRa0gcueYunluTzskT3mj4U7V4+7uHZSidL4F/TdLTXMdSuxXycSXhGGexyd+CjKzjVLLFg hP7bwkGkI37N8HXCSE9SQknoOgJRBrFIU3rSIbDak1CTuft/um0C1ELrGE/csw0wYfvhmE7P X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231491 Archived-At: Version: 29.1 Manuel Giraud writes: Hi Manuel, > Sorry my bad. It works after a "make bootstrap". Thanks Michael! Thanks for confirmation, I'm closing the bug. > But how come emacs does not install the new .elc for a freshly patch .el > with a classical "make && make install"? I've patched tramp-skeleton-write-region, a macro in tramp.el. This file has been recompiled. However, in your use case the function tramp-sh-handle-write-region of file tramp-sh.el is called, which uses that macro. Since tramp-sh.el hasn't been recompiled, the old (erroneous) macro definition was still used. Best regards, Michael.