From unknown Wed Jun 18 00:14:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2543 <2543@debbugs.gnu.org> To: bug#2543 <2543@debbugs.gnu.org> Subject: Status: w32-shell-execute removes target from local URLs Reply-To: bug#2543 <2543@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:14:40 +0000 retitle 2543 w32-shell-execute removes target from local URLs reassign 2543 emacs submitter 2543 rezonatix3@yahoo.no severity 2543 normal thanks From rezonatix3@yahoo.no Mon Mar 2 12:55:24 2009 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 From jasonrumney@gmail.com Mon Mar 2 14:55:34 2009 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. From unknown Wed Jun 18 00:14:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 31 Mar 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator