From unknown Sat Jun 21 12:14:52 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2543: w32-shell-execute removes target from local URLs Reply-To: rezonatix3@yahoo.no, 2543@debbugs.gnu.org Resent-From: Marius Andersen Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Mar 2009 21:05:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2543 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123602732515636 (code B ref -1); Mon, 02 Mar 2009 21:05:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Mar 2009 20:55:25 +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=2.1 required=4.0 tests=FOURLA,MEDS2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n22KtLSo015628 for ; Mon, 2 Mar 2009 12:55:22 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeFAW-0004nG-Q0 for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeFAU-0004lh-Fb for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:20 -0500 Received: from [199.232.76.173] (port=43479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeFAU-0004lW-A5 for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:18 -0500 Received: from web26606.mail.ukl.yahoo.com ([217.146.176.56]:22776) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LeFAT-00081Y-OT for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:17 -0500 Received: (qmail 2888 invoked by uid 60001); 2 Mar 2009 20:55:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s1024; t=1236027315; bh=8O9SHNG0M2BvW0O/RYZKggXu6zJEsZe2cCKo14QaBAI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=35AGjPwKfPNwerrt/YloiTchbeT3qKm9Q1eiYLTlRIjBuKf+nthypyGJUzPli92d6V9JcIgxPqhaNdqaQIX+LkmtSV+HybrtaiDqAPFIYH2aJqxM6c7YFEieUvSHrHyQFOPIsKFEoXvJD1E5ZQVprIb41u/rdr6Mn7XslkCrpkw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.no; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iX53+828KUP/eWYZaFHOJKOCNGGA8nRv7/KJYqjtZyzSx76/TcDZm4mnd5iUlzPZiQQlvYBH5LaZN/hAg4bYtQWXUg8cxC3iUa0jTI6ffbLBAj69Tvgl7YpaaVO7qg2QLslaLmroiQ3Sn7MVSe9mbY+Gtr39Nr7CIAu/nbJO3ds=; Message-ID: <497300.2397.qm@web26606.mail.ukl.yahoo.com> X-YMail-OSG: WHH7s.4VM1nRY_CT.BLba1U2Jm1OW9VrrNsEcX2asMQvP2q0OtYtzedy882XOsSuoCOeQIzfCPPw0fBgNBgKXU6lvEA3173bLg5R4lNCytrdiutHiyIVG8OEVgMb0xfxamfoicGRnJ1tuJKd5ckAXK2MO0r9006nc8.XoYI3xZ_gYettyuzy7c6.qFUNwk7Vzd2kTzAP1BE8y4M4ImCS.mf9oSUm.i_F Received: from [158.38.53.173] by web26606.mail.ukl.yahoo.com via HTTP; Mon, 02 Mar 2009 20:55:15 GMT X-Mailer: YahooMailWebService/0.7.289.1 Date: Mon, 2 Mar 2009 20:55:15 +0000 (GMT) From: Marius Andersen To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) The (Windows) function w32-shell-execute strips anchors from URLs to local files. For instance, given that the file C:/index.html exists, execut= ing (w32-shell-execute "open" "file:///C:/index.html#test") opens file:///C:/index.html, without #test. Note, however, that the function has no problem with external URLs; e.g., (w32-shell-execute "open" "http://www.example.org/index.html#test") opens http://www.example.org/index.html#test, with the anchor included. 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)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: NOR locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t change-cursor-mode: t global-hl-line-mode: t show-paren-mode: t cua-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t=0A=0A=0A ____________________________________= _____________________=0AAlt i ett. F=E5 Yahoo! Mail med adressekartotek, ka= lender og=0Anotisblokk. http://no.mail.yahoo.com From unknown Sat Jun 21 12:14:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: rezonatix3@yahoo.no Subject: bug#2543 closed by Jason Rumney (Re: bug#2543: w32-shell-execute removes target from local URLs) Message-ID: References: <49AC63C5.10500@gnu.org> <497300.2397.qm@web26606.mail.ukl.yahoo.com> X-Emacs-PR-Message: they-closed 2543 X-Emacs-PR-Package: emacs Reply-To: 2543@debbugs.gnu.org Date: Mon, 02 Mar 2009 23:05:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1236035106-15831-1" This is a multi-part message in MIME format... ------------=_1236035106-15831-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2543: w32-shell-execute removes target from local URLs It has been closed by Jason Rumney . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jason Rumney by replying to this email. --=20 2543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2543 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1236035106-15831-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2543-done) by emacsbugs.donarmstrong.com; 2 Mar 2009 22:55:34 +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.188]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n22MtVhg014129 for <2543-done@emacsbugs.donarmstrong.com>; Mon, 2 Mar 2009 14:55:32 -0800 Received: by ti-out-0910.google.com with SMTP id 28so2915617tif.1 for <2543-done@emacsbugs.donarmstrong.com>; Mon, 02 Mar 2009 14:55:30 -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:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=f9NOEv9DYi/34o8O+ix2SOayiQUDN49N+HUJlSHB3m0=; b=lCDBJq3KOfSOwqegij1xb5rt4HAS0NGSmBrEcUZrjLfelYcfvzKantEi6+S1BxPyfQ MkfG8VFQxQ7Uge7g/D8HUkOFGRaznLWQ/JT+DcDSDfU+t+AVuUJBKd8aaKf+P9sCglVV 5IYphTnB7uWbm2j5OrRGaacEeqKC1xSIMw7Rs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=UuUl7JJJl1agQxphbPVUN9H6BjoDzMigDquqBX+pyiEo7Qv8AlQx2kLJqNHqMWt80d Fs1D9lYM/2K2h3fMh3axY+Sdk9xxUR+UJ4JudsXRv1CiotifAjHMNdmmviXM+A6D8gzX TONpiVex6+V0XwiPan2TelPsuvjcBRuA5iFjk= Received: by 10.110.109.19 with SMTP id h19mr1110624tic.3.1236034529794; Mon, 02 Mar 2009 14:55:29 -0800 (PST) Received: from ?192.168.249.26? ([118.100.161.108]) by mx.google.com with ESMTPS id a4sm2275307tib.31.2009.03.02.14.55.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Mar 2009 14:55:28 -0800 (PST) Sender: Jason Rumney Message-ID: <49AC63C5.10500@gnu.org> Date: Tue, 03 Mar 2009 06:55:01 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: rezonatix3@yahoo.no, 2543-done@debbugs.gnu.org Subject: Re: bug#2543: w32-shell-execute removes target from local URLs References: <497300.2397.qm@web26606.mail.ukl.yahoo.com> In-Reply-To: <497300.2397.qm@web26606.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Marius Andersen wrote: > The (Windows) function w32-shell-execute strips anchors from URLs to > local files. For instance, given that the file C:/index.html exists, executing > > (w32-shell-execute "open" "file:///C:/index.html#test") > Anchors are not valid in file URLs, but it is not Emacs that is stripping it, as Emacs makes no attempt to decode the parameters that you supply. ------------=_1236035106-15831-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Mar 2009 20:55:25 +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=2.1 required=4.0 tests=FOURLA,MEDS2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n22KtLSo015628 for ; Mon, 2 Mar 2009 12:55:22 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeFAW-0004nG-Q0 for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeFAU-0004lh-Fb for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:20 -0500 Received: from [199.232.76.173] (port=43479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeFAU-0004lW-A5 for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:18 -0500 Received: from web26606.mail.ukl.yahoo.com ([217.146.176.56]:22776) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LeFAT-00081Y-OT for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2009 15:55:17 -0500 Received: (qmail 2888 invoked by uid 60001); 2 Mar 2009 20:55:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s1024; t=1236027315; bh=8O9SHNG0M2BvW0O/RYZKggXu6zJEsZe2cCKo14QaBAI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=35AGjPwKfPNwerrt/YloiTchbeT3qKm9Q1eiYLTlRIjBuKf+nthypyGJUzPli92d6V9JcIgxPqhaNdqaQIX+LkmtSV+HybrtaiDqAPFIYH2aJqxM6c7YFEieUvSHrHyQFOPIsKFEoXvJD1E5ZQVprIb41u/rdr6Mn7XslkCrpkw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.no; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iX53+828KUP/eWYZaFHOJKOCNGGA8nRv7/KJYqjtZyzSx76/TcDZm4mnd5iUlzPZiQQlvYBH5LaZN/hAg4bYtQWXUg8cxC3iUa0jTI6ffbLBAj69Tvgl7YpaaVO7qg2QLslaLmroiQ3Sn7MVSe9mbY+Gtr39Nr7CIAu/nbJO3ds=; Message-ID: <497300.2397.qm@web26606.mail.ukl.yahoo.com> X-YMail-OSG: WHH7s.4VM1nRY_CT.BLba1U2Jm1OW9VrrNsEcX2asMQvP2q0OtYtzedy882XOsSuoCOeQIzfCPPw0fBgNBgKXU6lvEA3173bLg5R4lNCytrdiutHiyIVG8OEVgMb0xfxamfoicGRnJ1tuJKd5ckAXK2MO0r9006nc8.XoYI3xZ_gYettyuzy7c6.qFUNwk7Vzd2kTzAP1BE8y4M4ImCS.mf9oSUm.i_F Received: from [158.38.53.173] by web26606.mail.ukl.yahoo.com via HTTP; Mon, 02 Mar 2009 20:55:15 GMT X-Mailer: YahooMailWebService/0.7.289.1 Date: Mon, 2 Mar 2009 20:55:15 +0000 (GMT) From: Marius Andersen Reply-To: rezonatix3@yahoo.no Subject: w32-shell-execute removes target from local URLs To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) The (Windows) function w32-shell-execute strips anchors from URLs to local files. For instance, given that the file C:/index.html exists, execut= ing (w32-shell-execute "open" "file:///C:/index.html#test") opens file:///C:/index.html, without #test. Note, however, that the function has no problem with external URLs; e.g., (w32-shell-execute "open" "http://www.example.org/index.html#test") opens http://www.example.org/index.html#test, with the anchor included. 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)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: NOR locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t change-cursor-mode: t global-hl-line-mode: t show-paren-mode: t cua-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t=0A=0A=0A ____________________________________= _____________________=0AAlt i ett. F=E5 Yahoo! Mail med adressekartotek, ka= lender og=0Anotisblokk. http://no.mail.yahoo.com ------------=_1236035106-15831-1--