From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly Date: Mon, 25 Mar 2013 20:23:41 -0400 Message-ID: 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> <83ehf31aq3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364257436 14550 80.91.229.3 (26 Mar 2013 00:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Mar 2013 00:23:56 +0000 (UTC) Cc: 14030@debbugs.gnu.org, michael.albinus@gmx.de, vidagabor@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 26 01:24:20 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 1UKHgY-0003Rt-0i for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Mar 2013 01:24:18 +0100 Original-Received: from localhost ([::1]:52358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKHgA-0007Iv-69 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Mar 2013 20:23:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKHg6-0007Gb-7g for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 20:23:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKHg4-0007zB-L5 for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 20:23:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKHg4-0007z7-I3 for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 20:23:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UKHiE-0007Sj-Dw for bug-gnu-emacs@gnu.org; Mon, 25 Mar 2013 20:26:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Mar 2013 00:26: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.136425756028676 (code B ref 14030); Tue, 26 Mar 2013 00:26:02 +0000 Original-Received: (at 14030) by debbugs.gnu.org; 26 Mar 2013 00:26:00 +0000 Original-Received: from localhost ([127.0.0.1]:45200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKHiC-0007ST-7b for submit@debbugs.gnu.org; Mon, 25 Mar 2013 20:26:00 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:36886) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UKHiA-0007SM-Ge for 14030@debbugs.gnu.org; Mon, 25 Mar 2013 20:25:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbAA7Cb8OF3OCHgEBBAFWIxALNBIUGA0QAROIHgbBLY0Wg3QDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbAA7Cb8OF3OCHgEBBAFWIxALNBIUGA0QAROIHgbBLY0Wg3QDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="5768757" Original-Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.174]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Mar 2013 20:23:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4EEAB67AC0; Mon, 25 Mar 2013 20:23:41 -0400 (EDT) In-Reply-To: <83ehf31aq3.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 25 Mar 2013 22:32:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:72895 Archived-At: >> 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? The byte-compiler does not look at the `defalias' expression, only at the resulting value of (symbol-function 'tramp-drop-volume-letter), so it would require significant changes to be able to keep track of the corresponding info. Also, `defalias' is a function, so by the time it is called it has no idea what expression was computed to get the function definition. Stefan