From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#65022: 29.1; Tramp resets file buffer encoding to UTF-8
Date: Fri, 04 Aug 2023 10:19:23 +0300
Message-ID: <83a5v7w9z8.fsf@gnu.org>
References: <a76ff760-b2a0-10c7-9fe1-eeb3ba7b82a3@inbox.ru>
 <87tttgxjdi.fsf@gmx.de>
 <ec142404-f2a3-1cd1-5d6d-b51faaebc446@inbox.ru> <874jlfxwpn.fsf@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="15925"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 65022@debbugs.gnu.org, nephrite@inbox.ru
To: Michael Albinus <michael.albinus@gmx.de>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 09:20:23 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1qRp6l-0003um-48
	for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 09:20:23 +0200
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1qRp6T-0001fT-Pw; Fri, 04 Aug 2023 03:20:05 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qRp6Q-0001fK-N6
 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 03:20:03 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qRp6Q-0002bd-FG
 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 03:20:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qRp6Q-0000R2-4U
 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 03:20:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 04 Aug 2023 07:20:02 +0000
Resent-Message-ID: <handler.65022.B65022.16911335631616@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65022
X-GNU-PR-Package: emacs
Original-Received: via spool by 65022-submit@debbugs.gnu.org id=B65022.16911335631616
 (code B ref 65022); Fri, 04 Aug 2023 07:20:02 +0000
Original-Received: (at 65022) by debbugs.gnu.org; 4 Aug 2023 07:19:23 +0000
Original-Received: from localhost ([127.0.0.1]:53327 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qRp5m-0000Q0-WA
 for submit@debbugs.gnu.org; Fri, 04 Aug 2023 03:19:23 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40504)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1qRp5i-0000Pj-5L
 for 65022@debbugs.gnu.org; Fri, 04 Aug 2023 03:19:21 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1qRp5c-0001i8-5a; Fri, 04 Aug 2023 03:19:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=mHxg/Y2gl9xqF0q4H8/A0ooLOzNZ4yYRfybFkVC5JIk=; b=HonhJ3g8fxDNRL0s+O8P
 03FgQk5Fdl5T7poS/tolbf/twS7jiBKKX+/gOyv94qRLQZAm6zrpLG+lk6jO1IG9ZRjNiGdE8o/8A
 vjWbLKhbwSHIXkrAMLqaDy//KyWnRTZOk3q5PlyBgGK2K22dvN1G1O0FsMBZ0qsLsd/FEbucPyJef
 DQKlNRixwQL9EUrdwPS9EPlUD6QKowM/CH4lB9y/ZJJVSdw5uQnSc60PGBsBOiiMQuaAtXiRV1FNP
 Q6HgiSCtZn6Tr/P3Ogb0ByYFmtlpLni7LmHay2OPePmVpmFFSsN0dEjqzoml+KynGQPLgviIxfIJX
 X1S0QfJEBzPFnQ==;
Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@gnu.org>)
 id 1qRp5b-0005Qi-C7; Fri, 04 Aug 2023 03:19:11 -0400
In-Reply-To: <874jlfxwpn.fsf@gmx.de> (message from Michael Albinus on Fri, 04
 Aug 2023 06:23:00 +0200)
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:266648
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/266648>

> Resent-To: bug-gnu-emacs@gnu.org
> Cc: 65022-done@debbugs.gnu.org,
>  Георгий Потапов <nephrite@inbox.ru>
> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Fri, 04 Aug 2023 06:23:00 +0200
> 
> Version: 29.2
> 
> Георгий Потапов via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@gnu.org> writes:
> 
> Hi Georgij,
> 
> >> It is a little bit tricky to install the patch, because it is in a
> >> defmacro of tramp.el. This macro is used in tramp-sh.el. You must
> >> compile both files in this order. Could you pls check?
> >
> > Yes, I've installed the patch and now saving works as intended.
> >
> > No more encoding switching.
> 
> Thanks for the feedback. I've installed the patch in the repositories,
> will appear with Emacs 29.2.

Am I missing something, or did you install this on master, not on
emacs-29?