From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.bugs Subject: bug#1020: url-expand-file-name expands wrongly on Windows Date: Wed, 24 Sep 2008 14:19:34 +0200 () Message-ID: Reply-To: Klaus Straubinger , 1020@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222260630 17965 80.91.229.12 (24 Sep 2008 12:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 12:50:30 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 14:51:27 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KiTpk-0003xw-Pv for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 14:51:09 +0200 Original-Received: from localhost ([127.0.0.1]:36376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiToi-0000vG-OQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 08:50:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiTod-0000uW-RA for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:49:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiToc-0000u0-A0 for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:49:59 -0400 Original-Received: from [199.232.76.173] (port=50429 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiToc-0000tv-5z for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:49:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42539) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiToa-0002N7-HN for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:49:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OCns9v008400; Wed, 24 Sep 2008 05:49:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8OCU3gt003763; Wed, 24 Sep 2008 05:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Klaus Straubinger Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 24 Sep 2008 12:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1020 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12222588372372 (code B ref -1); Wed, 24 Sep 2008 12:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2008 12:20:37 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OCKWJV002273 for ; Wed, 24 Sep 2008 05:20:34 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiTM8-0003eB-7Z for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiTM6-0003bU-BO for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Original-Received: from [199.232.76.173] (port=35245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiTM6-0003bN-8F for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Original-Received: from smtpde01.sap-ag.de ([155.56.68.171]:43728) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiTM5-00074D-OV for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 08:20:30 -0400 Original-Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id m8OCJfoB005553 for ; Wed, 24 Sep 2008 14:19:44 +0200 (MEST) X-Mailer: Gnus/5.11 (Gnus v5.11) Emacs/22.3 X-Scanner: Virus Scanner virwal05 X-SAP: out X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 24 Sep 2008 08:49:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20724 Archived-At: In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' the problem described in still occurs. (url-expand-file-name "test" ["http" nil nil "www.gnu.org" 80 "/" nil nil t]) --> "http://www.gnu.org/c:/test"; (url-http-expand-file-name [nil nil nil nil nil "test" nil nil nil] ["http" nil nil "www.gnu.org" 80 "/" nil nil t]) --> "/c:/test" url-http-expand-file-name is an alias for url-default-expander; this could be changed. But currently the function url-default-expander calls the function expand-file-name while canonicalizing URLs. This is not a good idea on Windows because there the drive letter will be inserted.