From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: tramp (2.0.57); file-coding-system-alist not respected Date: Mon, 07 Apr 2008 20:32:48 +0200 Message-ID: <87zls5v7lb.fsf@gmx.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207593076 23426 80.91.229.2 (7 Apr 2008 18:31:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 18:31:16 +0000 (UTC) Cc: tramp-devel@gnu.org, emacs-devel@gnu.org To: William Xu Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Mon Apr 07 18:31:15 2008 Return-path: Envelope-to: tramp@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Jiw7d-0006Ai-5E for tramp@deer.gmane.org; Mon, 07 Apr 2008 18:31:13 +0000 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Jiw7n-00047a-00 for ; Mon, 07 Apr 2008 20:31:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jiw7b-0005FS-Tu for tramp@quimby.gnus.org; Mon, 07 Apr 2008 14:31:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jiw7P-00058l-3F for tramp-devel@gnu.org; Mon, 07 Apr 2008 14:30:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jiw7N-00057M-2k for tramp-devel@gnu.org; Mon, 07 Apr 2008 14:30:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jiw7M-00057B-Vn for tramp-devel@gnu.org; Mon, 07 Apr 2008 14:30:57 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jiw7M-00049e-D1 for tramp-devel@gnu.org; Mon, 07 Apr 2008 14:30:56 -0400 Original-Received: (qmail invoked by alias); 07 Apr 2008 18:30:54 -0000 Original-Received: from p57A21B37.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.27.55] by mail.gmx.net (mp040) with SMTP; 07 Apr 2008 20:30:54 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+aVf8BVfqaZdGO60e6B9iG0jeRJIC63FOi5TsNxy KZIm4QG+Jwi6TJ In-Reply-To: (William Xu's message of "Mon, 07 Apr 2008 18:03:19 +0900") 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: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:6534 gmane.emacs.devel:94603 Archived-At: William Xu writes: > I try to set file encodings matching against filenames like: > > ,---- > | (setq file-coding-system-alist > | (".*source.*" shift_jis . shift_jis) > | ("" utf-8 . utf-8)) > `---- > > Visiting files like `/source/foo' locally works fine, but not in > tramp. I fear this cannot work in Tramp. Tramp uses temporary files on the local host. They are not located at ".*source.*", rather they are somewhere at "/tmp/*". So I have no clue how to support your settings. Sorry, and best regards, Michael.