From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Encoding problem with Tramp Date: Tue, 18 Mar 2008 00:06:05 +0100 Message-ID: <87tzj5eysi.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205795130 15316 80.91.229.12 (17 Mar 2008 23:05:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 23:05:30 +0000 (UTC) Cc: Kai Grossjohann , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 18 00:05:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JbOOe-0005NJ-SO for ged-emacs-devel@m.gmane.org; Tue, 18 Mar 2008 00:05:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbOO5-0005Vl-5r for ged-emacs-devel@m.gmane.org; Mon, 17 Mar 2008 19:05:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbOO2-0005UJ-3V for emacs-devel@gnu.org; Mon, 17 Mar 2008 19:04:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbONx-0005Le-FY for emacs-devel@gnu.org; Mon, 17 Mar 2008 19:04:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbONx-0005LS-CB for emacs-devel@gnu.org; Mon, 17 Mar 2008 19:04:53 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JbONw-0002gZ-Rg for emacs-devel@gnu.org; Mon, 17 Mar 2008 19:04:53 -0400 Original-Received: (qmail invoked by alias); 17 Mar 2008 23:04:50 -0000 Original-Received: from p57A22703.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.39.3] by mail.gmx.net (mp014) with SMTP; 18 Mar 2008 00:04:50 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19dJPZ7mXld1KNNzQWONAumifQucLar64dthJ+Y53 +v+5Rf6J8EVF8c In-Reply-To: (Stefan Monnier's message of "Mon, 17 Mar 2008 16:29:32 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92857 Archived-At: Stefan Monnier writes: > I suggest to fix Tramp's file-attributes by wrapping a let around it > that preserves the value of last-coding-system-used. > > If I fix it, then I get the same problem with the subsequent call to > tramp-set-file-uid-gid. I've wrapped all trailing statements in tramp-handle-write-region with a let-bind of last-coding-system-used. This shall do the job. > Stefan Best regards, Michael.