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: Tramp patch for emacs-24 branch Date: Wed, 16 Apr 2014 09:05:58 +0200 Message-ID: <874n1trbxl.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1397631984 29077 80.91.229.3 (16 Apr 2014 07:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2014 07:06:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 16 09:06:17 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WaJvF-0008Gf-5u for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2014 09:06:17 +0200 Original-Received: from localhost ([::1]:53118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaJvE-0001TD-Nz for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2014 03:06:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaJv5-0001KC-Dx for emacs-devel@gnu.org; Wed, 16 Apr 2014 03:06:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaJuz-0004l0-6h for emacs-devel@gnu.org; Wed, 16 Apr 2014 03:06:07 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:62486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaJuy-0004kp-Ts for emacs-devel@gnu.org; Wed, 16 Apr 2014 03:06:01 -0400 Original-Received: from detlef.gmx.de ([93.202.48.111]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lg0wl-1XKLme3NpT-00pZ9H for ; Wed, 16 Apr 2014 09:06:00 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:1ElC5cHKDWpK42ccO0au+4ItNyGwEaCUGts1WXVO/1/UWLXZq6m oyK5dVUf34XBGwl3WPLcbXURQonyYQcuVrNZWHoOunM5raJwc06nrYb/hanGeb+Ea5xZd6l t1VczAstfLauvo4aKQxiueYzqXspuvSdLMFG2vSEdupbpaOb1rvOjKSw9yrlmWzaIWJ9C/Y 75MhJG2hvGF7vmp1dTppg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171446 Archived-At: Hi, Last days, I have worked on a fix for a nasty Tramp problem: it loads itself recursively, when default-directory is already a remote file name. One could reproduce it with emacs -Q -batch --eval '(let ((default-directory "/ssh::")) (expand-file-name "foo"))' There is no related bug report; I've been pointed to this on #emacs of irc.freenode.net. I believe I've fixed this, including a respective test in tramp-tests.el for checks. But I'm wondering, whether the patch shall go into the emacs-24 branch. It changes the autoload behaviour of Tramp, and cannot be regarded as simple. And I believe the problem doesn't happen with "normal" use of Emacs (whatever this is :-) Comments? To be applied in emacs-24 or trunk? Best regards, Michael.