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: Sun, 24 Mar 2013 19:32:00 +0100 Message-ID: <877gkwfy3j.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364149979 1325 80.91.229.3 (24 Mar 2013 18:32:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2013 18:32:59 +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 Sun Mar 24 19:33:25 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 1UJpjO-0007Ku-GS for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 19:33:22 +0100 Original-Received: from localhost ([::1]:58661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpj0-0004pE-PL for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Mar 2013 14:32:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpix-0004p2-9f for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:32:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJpiw-00031a-5y for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:32:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJpiw-00031R-2W for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:32:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UJpl0-0004TH-D0 for bug-gnu-emacs@gnu.org; Sun, 24 Mar 2013 14:35: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: Sun, 24 Mar 2013 18:35:02 +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.136415005917134 (code B ref 14030); Sun, 24 Mar 2013 18:35:02 +0000 Original-Received: (at 14030) by debbugs.gnu.org; 24 Mar 2013 18:34:19 +0000 Original-Received: from localhost ([127.0.0.1]:43636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJpkH-0004SH-86 for submit@debbugs.gnu.org; Sun, 24 Mar 2013 14:34:18 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:58645) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJpkE-0004S9-VB for 14030@debbugs.gnu.org; Sun, 24 Mar 2013 14:34:15 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.28]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MPb5D-1UNya534fh-004h2u for <14030@debbugs.gnu.org>; Sun, 24 Mar 2013 19:32:04 +0100 Original-Received: (qmail invoked by alias); 24 Mar 2013 18:32:02 -0000 Original-Received: from p57BB8660.dip0.t-ipconnect.de (EHLO arthur.gmx.de) [87.187.134.96] by mail.gmx.net (mp028) with SMTP; 24 Mar 2013 19:32:02 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18KhSEZaRAK2cz0mcJVRmJphV4CwsTWLwRvNPUmlf 06AjATndPztvWA In-Reply-To: <83mwts3dm9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 Mar 2013 19:35:10 +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:72858 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Cc: vidagabor@gmail.com, 14030@debbugs.gnu.org >> Date: Sun, 24 Mar 2013 18:21:48 +0100 >> >> > So, somehow, compiling tramp-sh.el on Unix replaces the call to >> > tramp-drop-volume-letter with nothing. Perhaps the condition, viz. >> >> Yes, that is intended. tramp-drop-volume-letter is not needed on GNU/Linux. > > ??? But byte-compiled files are supposed to be platform-independent. > The release tarball includes all of the *.elc files, which were > compiled on Unix when the release was tarred, and they are not > recompiled when Emacs is built on Windows (or on any other platform). > Now you seem to be saying that all the *.elc files need to be compiled > as part of the build on the target platform. I think this isn't a > good thing. Yes, you are right. >> Does this mean, this declaration requests Tramp to be compiled on MS >> Windows? > > No, it means tramp-drop-volume-letter has a bug that needs to be > fixed, IMO. 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. >> We shall repackage Emacs 24.3 for MS Windows then. > > Lisp files are not supposed to be recompiled on the target platform. > They are architecture-independent, and are installed in a directory > which can be shared among different architectures. > > Sorry, but I think this is a grave bug. Yes. Unfortunately, all pretests for MS Windows were compiled on MS Windows. So this hasn't been detected earlier. 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. Alternatively there could be an Emacs 24.3a with a changed tramp.el. But this sounds too heavy to me. Best regards, Michael.