From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Encoding needed for `browse-url' URLs (IDLWAVE html help) Date: Fri, 13 Jan 2006 09:48:39 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137181405 27665 80.91.229.2 (13 Jan 2006 19:43:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2006 19:43:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 13 20:43:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ExUpX-0000q9-9U for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2006 20:43:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ExUrg-0004GS-9P for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2006 14:45:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ExSA2-0004QG-Mf for emacs-devel@gnu.org; Fri, 13 Jan 2006 11:52:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ExS9u-0004Pg-8J for emacs-devel@gnu.org; Fri, 13 Jan 2006 11:52:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ExS9q-0004PN-NQ for emacs-devel@gnu.org; Fri, 13 Jan 2006 11:52:11 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ExSCr-0003Cl-5j for emacs-devel@gnu.org; Fri, 13 Jan 2006 11:55:17 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ExS6y-0007Wp-7G for emacs-devel@gnu.org; Fri, 13 Jan 2006 17:49:13 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2006 17:49:12 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2006 17:49:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49008 Archived-At: David Reitter wrote: > I got the below bug report and I found that idlwave does not encode the > URL in `idlwave-help-html-link', i.e. if the path contains a space, it > is not encoded as "%20". > > Are `browse-url' and the function pointed to in `browse-url-browser- > function' supposed to handle such URLs or not? > If not, it's a bug in idlwave-mode (but possibly in other places). No, browse-url expects a URL that is valid w.r.t. the spec. That is why the browse-url-of-file command calls the browse-url-file-url utility to transform the file name to a valid URL before calling browse-url. Presumably idlwave should do the same thing. -- Kevin Rodgers