[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: browse-url does not allow url with a dollar sign

From: Kevin Rodgers
Subject: Re: browse-url does not allow url with a dollar sign
Date: Thu, 26 Feb 2004 10:59:43 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Harald Maier wrote:
> Start emacs with 'emacs -q'. Put into the *scratch* buffer the following line:
> 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:
> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]