From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly Date: Mon, 25 Mar 2013 22:32:52 +0200 Message-ID: <83ehf31aq3.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1364243588 14191 80.91.229.3 (25 Mar 2013 20:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 20:33:08 +0000 (UTC) Cc: 14030@debbugs.gnu.org, michael.albinus@gmx.de, vidagabor@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 25 21:33:27 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 1UKE56-00060T-Al for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 21:33:24 +0100 Original-Received: from localhost ([::1]:32951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKE4i-0003GW-HL for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 16:33:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKE4a-0003GN-Gr for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:32:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKE4V-0002Kx-F4 for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:32:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKE4V-0002Ks-Bi for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:32:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UKE6f-0001Zb-OC for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 16:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Mar 2013 20:35: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.13642437016040 (code B ref 14030); Mon, 25 Mar 2013 20:35:01 +0000 Original-Received: (at 14030) by debbugs.gnu.org; 25 Mar 2013 20:35:01 +0000 Original-Received: from localhost ([127.0.0.1]:45078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKE6e-0001ZM-Ju for submit@debbugs.gnu.org; Mon, 25 Mar 2013 16:35:00 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41520) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKE6c-0001ZA-AO for 14030@debbugs.gnu.org; Mon, 25 Mar 2013 16:34:59 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MK800300GYY2D00@a-mtaout22.012.net.il> for 14030@debbugs.gnu.org; Mon, 25 Mar 2013 22:32:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MK8002L9H2HD9F0@a-mtaout22.012.net.il>; Mon, 25 Mar 2013 22:32:41 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il 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:72892 Archived-At: > From: Stefan Monnier > Cc: Michael Albinus , vidagabor@gmail.com, 14030@debbugs.gnu.org > Date: Mon, 25 Mar 2013 14:49:49 -0400 > > >> Sorry, but I think this is a grave bug. > > Agreed, but it might be in the byte-compiler rather than in Tramp. > > At least, nowhere does Tramp seem to request that > > tramp-drop-volume-letter be inlined, so the call should stay in. > > I think I know what's going on: > The byte-compiler now optimizes aliases to a function in the same way as > that function (so if you alias `my-add' to `+', (my-add 5 6) can be > optimized to 11 as well). > > So your alias to `identity' is optimized just like `identity', IOW it's > compiled away. Can the optimizer be taught not to optimize like that if the condition includes one of a list of known symbols? Then we could maintain a list of platform-dependent symbols whose optimization could lead to platform-dependent .elc files.