From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly Date: Mon, 25 Mar 2013 09:36:07 +0100 Message-ID: <8738vjri4o.fsf@gmx.de> References: <83vc8j4e3d.fsf@gnu.org> <87li9e5n66.fsf@gmx.de> <83y5dd3lxk.fsf@gnu.org> <87ehf56bmb.fsf@gmx.de> <83r4j43hiz.fsf@gnu.org> <87620g67df.fsf@gmx.de> <83mwts3dm9.fsf@gnu.org> <877gkwfy3j.fsf@gmx.de> <83li9c38m7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364200618 13364 80.91.229.3 (25 Mar 2013 08:36:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 08:36:58 +0000 (UTC) Cc: vidagabor@gmail.com, 14030@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 25 09:37:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UK2u9-0002E4-DE for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 09:37:21 +0100 Original-Received: from localhost ([::1]:42097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK2tl-0004ZA-Kz for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 04:36:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK2th-0004Ys-CP for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 04:36:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK2te-0006AB-Ql for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 04:36:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK2te-00069x-NO for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 04:36:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UK2vm-0006if-1m for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 04:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Mar 2013 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14030 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14030-submit@debbugs.gnu.org id=B14030.136420070825790 (code B ref 14030); Mon, 25 Mar 2013 08:39:01 +0000 Original-Received: (at 14030) by debbugs.gnu.org; 25 Mar 2013 08:38:28 +0000 Original-Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UK2vD-0006hu-EC for submit@debbugs.gnu.org; Mon, 25 Mar 2013 04:38:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:61683) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UK2vB-0006hn-59 for 14030@debbugs.gnu.org; Mon, 25 Mar 2013 04:38:26 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.29]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MMZH6-1UJVBN1Kik-008LBb for <14030@debbugs.gnu.org>; Mon, 25 Mar 2013 09:36:11 +0100 Original-Received: (qmail invoked by alias); 25 Mar 2013 08:36:10 -0000 Original-Received: from p57BB99D8.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.153.216] by mail.gmx.net (mp029) with SMTP; 25 Mar 2013 09:36:10 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19YmekzIZJYBTxmO0HZaN9wnqrvLClTQ7LqUl20yD c9lHWdwq9ueNoa In-Reply-To: <83li9c38m7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 Mar 2013 21:23:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72865 Archived-At: Eli Zaretskii writes: >> The problem seems to be, that defalias is evaled during >> byte-compilation. So I will revert the definition of >> tramp-drop-volume-letter, that is is decided at runtime how it is >> defined. > > Thanks. It's probably best to do this on the emacs-24 branch. > >> What shall we do with Emacs 24.3 for MS Windows? I still believe, that >> we must repackage it, and compile tramp.el on MS Windows. Well. I have reverted the change of `tramp-drop-volume-letter' to the definition as it has been before the change in #105625. Compiled tramp.el and tramp-sh.el on GNU/Linux. Copied the resulting tramp.elc and tramp-sh.elc into the Emacs 24.3 tree on MS Windows. The problem persists. I have the impression, that there is a byte-compiler optimization, which throws away the call of `tramp-drop-volume-letter' in `tramp-sh-handle-expand-file-name'. As I have said earlier, (tramp-drop-volume-letter "c:/something") still works correctly. How could I avoid this eager optimization? > Thanks. Best regards, Michael.