From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: file://host/location URLs Date: Thu, 22 Nov 2012 09:50:11 +0100 Message-ID: References: <50A57E1A.4040109@dancol.org> <50A6FDD7.4090304@dancol.org> <87a9ugljpg.fsf@Rainer.invalid> <50A8FF48.6090007@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353574240 17898 80.91.229.3 (22 Nov 2012 08:50:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2012 08:50:40 +0000 (UTC) Cc: Achim Gratz , Daniel Colascione , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 22 09:50:51 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TbSUh-0000O2-Ew for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2012 09:50:47 +0100 Original-Received: from localhost ([::1]:48739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbSUW-0006YM-VK for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2012 03:50:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbSUT-0006YE-M0 for emacs-devel@gnu.org; Thu, 22 Nov 2012 03:50:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbSUS-00076u-Ec for emacs-devel@gnu.org; Thu, 22 Nov 2012 03:50:33 -0500 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:63394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbSUS-00076L-82 for emacs-devel@gnu.org; Thu, 22 Nov 2012 03:50:32 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 4530D295721; Thu, 22 Nov 2012 09:50:25 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF1) Original-Received: from mf1.bahnhof.se ([127.0.0.1]) by localhost (mf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id erCfCUqau1+6; Thu, 22 Nov 2012 09:50:22 +0100 (CET) Original-Received: from exodia.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf1.bahnhof.se (Postfix) with ESMTP id 7A8EEAEA87A; Thu, 22 Nov 2012 09:50:21 +0100 (CET) Original-Received: from chopper.vpn.verona.se (unknown [192.168.201.18]) by exodia.verona.se (Postfix) with ESMTP id 8CCC64E010B; Thu, 22 Nov 2012 09:50:11 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Wed, 21 Nov 2012 09:29:06 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 213.80.101.11 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155037 Archived-At: Andreas Schwab writes: > joakim@verona.se writes: > >> +(defun url-tidy (url) >> + "Tidy up URL as much as possible." >> + (if (equal 0 (string-match ".*://" url)) > > (if (string-match "\\`[^:]*://" url) Thanks Andreas! (you are of course free to commit to the xwidget branch if you'd like) > > Andreas. -- Joakim Verona