From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1020: marked as done (url-expand-file-name expands wrongly on Windows) Date: Sat, 21 Feb 2009 08:10:04 +0000 Message-ID: References: <499FB483.5020609@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1235203804-21498-0" X-Trace: ger.gmane.org 1235204669 5667 80.91.229.12 (21 Feb 2009 08:24:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 08:24:29 +0000 (UTC) To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 09:25:44 2009 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 1LanB3-0001CH-Ss for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 09:25:38 +0100 Original-Received: from localhost ([127.0.0.1]:60012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lan9j-0001aN-Ex for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Feb 2009 03:24:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lan9L-0001LP-Gp for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 03:23:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lan9K-0001L4-M0 for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 03:23:51 -0500 Original-Received: from [199.232.76.173] (port=43862 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lan9K-0001Kz-FE for bug-gnu-emacs@gnu.org; Sat, 21 Feb 2009 03:23:50 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:58683) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lan9H-0004nt-KP; Sat, 21 Feb 2009 03:23:47 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lan9G-0001tZ-Hg; Sat, 21 Feb 2009 03:23:46 -0500 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 n1L8NaG0024993; Sat, 21 Feb 2009 00:23:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1L8A40G021623; Sat, 21 Feb 2009 00:10:04 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1020 X-Emacs-PR-Package: emacs,url X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:25535 Archived-At: This is a multi-part message in MIME format... ------------=_1235203804-21498-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 21 Feb 2009 16:00:03 +0800 with message-id <499FB483.5020609@gnu.org> and subject line Re: bug#1020: url-default-expander expands wrongly on Wind= ows has caused the Emacs bug report #1020, regarding url-expand-file-name expands wrongly on Windows to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1020: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1020 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1235203804-21498-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2008 12:20:37 +0000 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 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 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 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 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 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) Message-ID: Date: Wed, 24 Sep 2008 14:19:34 +0200 () From: Klaus Straubinger To: bug-gnu-emacs@gnu.org Subject: url-expand-file-name expands wrongly on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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) 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. ------------=_1235203804-21498-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1020-done) by emacsbugs.donarmstrong.com; 21 Feb 2009 08:00:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1L80W7k019471 for <1020-done@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 00:00:34 -0800 Received: by ti-out-0910.google.com with SMTP id 28so1003549tif.1 for <1020-done@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 00:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=4oWX/Za8vMblWqszAV6g86V6Ei7U75gxC/8+o3zsr2I=; b=Wbysfv8dwQCtin63wArKYRn1yMUIlmWN+4wFkGhEayfJbxeID72kOwSQHVwJsAd3za 1yuGFxi+b17tqcHmQENr9nJg2Ke8THz9RfTOWWF/3fTd64kzZYUPYC9Vea6V2MBDm7Iw I0v/W1voWiRBYNkrA8UKSforKMKIGBRmgqd6w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RHHm4b1QR23TYmCJopYMac8mBZDUsrH/R2Cx2PzEINYgpE3R0WZa7LKOwOX1+Nnq10 Irk1UEDSHkrhsVK/dD4vkIOlrTfWhdPPyTwSSNEGzJfXtGc0etQMyefgFFKNCBOxYyKF mjOAleeVh6vwrMquW3/WF51JmADjHt3sAt6CI= Received: by 10.110.62.1 with SMTP id k1mr2368557tia.8.1235203231779; Sat, 21 Feb 2009 00:00:31 -0800 (PST) Received: from ?192.168.249.27? ([118.101.26.137]) by mx.google.com with ESMTPS id i9sm744018tid.33.2009.02.21.00.00.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Feb 2009 00:00:31 -0800 (PST) Sender: Jason Rumney Message-ID: <499FB483.5020609@gnu.org> Date: Sat, 21 Feb 2009 16:00:03 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Juanma Barranquero , 1020-done@emacsbugs.donarmstrong.com CC: Klaus Straubinger Subject: Re: bug#1020: url-default-expander expands wrongly on Windows References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Juanma Barranquero wrote: >>> the function url-default-expander calls expand-file-name which >>> inserts interesting but wrong drive letters into URLs when called >>> on Windows. >>> > ELISP> (url-expand-file-name "test" "http://www.gnu.org/") > "http://www.gnu.org/c:/test" > ELISP> (url-expand-file-name "test" "http://www.gnu.org") > "http://www.gnu.org/c:/emacs/lisp/url/test" > ELISP> (url-expand-file-name "/test" "http://www.gnu.org/") > "http://www.gnu.org/test" > ELISP> (url-expand-file-name "/test" "http://www.gnu.org") > "http://www.gnu.org/test" > I have changed url-default-expand to use concat instead of expand-file-name to avoid this bug. ------------=_1235203804-21498-0--