From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: %-escapes in file URL Date: Mon, 15 May 2006 21:55:54 +0900 (JST) Message-ID: <20060515.215554.29018330.mituharu@math.s.chiba-u.ac.jp> References: <44685118.2060108@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1147697836 14215 80.91.229.2 (15 May 2006 12:57:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 12:57:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 15 14:57:13 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 1Ffcd9-0002QI-Ie for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 14:56:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ffcd9-0007GC-2V for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 08:56:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ffccx-0007Fg-Ij for emacs-devel@gnu.org; Mon, 15 May 2006 08:56:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ffccv-0007Eo-FA for emacs-devel@gnu.org; Mon, 15 May 2006 08:56:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ffccv-0007El-Au for emacs-devel@gnu.org; Mon, 15 May 2006 08:56:45 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FfcfK-0005de-S5 for emacs-devel@gnu.org; Mon, 15 May 2006 08:59:15 -0400 Original-Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 04EAF2CB5; Mon, 15 May 2006 21:56:40 +0900 (JST) Original-To: jan.h.d@swipnet.se In-Reply-To: <44685118.2060108@swipnet.se> X-Mailer: Mew version 3.3 on Emacs 22.0 / Mule 5.0 (SAKAKI) 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:54502 Archived-At: >>>>> On Mon, 15 May 2006 11:59:52 +0200, Jan Dj=E4rv said: > I see that the functions in browse-url does some %-escaping where so > is needed. Would it not be better to keep it consistent, > i.e. always give browse-url functions URL:s without %-escapes? Which one? `browse-url-file-url' takes a file name, not a URL. (BTW, I think (setq file (encode-coding-system file (or default-file-name-coding-system file-name-coding-system))) is needed before %-escaping.) `browse-url-{netscape,mozilla,firefox}' take a URL, but they only %-excape a few characters such as `)' so as to avoid confusion with their remote control syntax. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp