From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: browse-url does not allow url with a dollar sign
Date: Thu, 26 Feb 2004 10:59:43 -0700 [thread overview]
Message-ID: <403E340F.1060203@yahoo.com> (raw)
In-Reply-To: mailman.559.1077790489.340.bug-gnu-emacs@gnu.org
Harald Maier wrote:
> Start emacs with 'emacs -q'. Put into the *scratch* buffer the following line:
>
> http://www.warentest.de/pls/sw/SW$NAV.Startup?p_KNR=0&p_E1=2&p_E2=0&p_E3=50&p_E4=0&p_Inh=I:1162925
>
> Place point to the url and then type in the following function:
>
> M-x browse-url-at-point
>
> The browser program receives as url the following string:
>
> http://www.warentest.de/pls/sw/SW.Startup?p_KNR=0&p_E1=2&p_E2=0&p_E3=50&p_E4=0&p_Inh=I:1162925
>
> It seems that the dollar sign '$' in the url needs to be escaped.
I don't see why this is happening. The URL is returned verbatim by the
browse-url-url-at-point function and passed to browse-url, and then to
browse-url-browser-function (default: browse-url-netscape). None of the
browser functions defined in browse-url.el invoke the browser program
via a shell, which would require the $ (and any other shell
metacharacters) to be quoted -- the only exception is
browse-url-default-windows-browser, which invokes "start" on MS-DOS and
does quote the URL.
--
Kevin Rodgers
next parent reply other threads:[~2004-02-26 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.559.1077790489.340.bug-gnu-emacs@gnu.org>
2004-02-26 17:59 ` Kevin Rodgers [this message]
2004-02-26 10:14 browse-url does not allow url with a dollar sign Harald Maier
2004-02-27 2:11 ` Juri Linkov
[not found] ` <87r7wbigo9.fsf@mail.jurta.org>
2004-03-02 12:32 ` Harald Maier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=403E340F.1060203@yahoo.com \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).