From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Thu, 22 Sep 2011 00:59:01 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316646001 6563 80.91.229.12 (21 Sep 2011 23:00:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2011 23:00:01 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 6339@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 22 00:59:57 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Vlf-0001FT-M2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 00:59:51 +0200 Original-Received: from localhost ([::1]:50535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Vlf-0000nS-8e for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Sep 2011 18:59:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Vlc-0000nC-25 for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 18:59:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6Vla-0007gn-Ug for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 18:59:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Vla-0007ge-T1 for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 18:59:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R6Vlr-0003th-BM for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2011 19:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2011 23:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6339-submit@debbugs.gnu.org id=B6339.131664600114964 (code B ref 6339); Wed, 21 Sep 2011 23:00:03 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 21 Sep 2011 23:00:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Vlp-0003t5-0s for submit@debbugs.gnu.org; Wed, 21 Sep 2011 19:00:01 -0400 Original-Received: from mail-gx0-f172.google.com ([209.85.161.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Vln-0003sy-FG for 6339@debbugs.gnu.org; Wed, 21 Sep 2011 18:59:59 -0400 Original-Received: by gxk19 with SMTP id 19so1603567gxk.3 for <6339@debbugs.gnu.org>; Wed, 21 Sep 2011 15:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=CX9WRpZjXZ7By2rMqySx6cX5AQ/oQK/HH9xaPtqDVbI=; b=FXXR571BpA5Imk38fRzjMRmOcywMOkRVJIzKG5nDRj4BboDNbbSIQLSz2AZiiFIgqh RjjlHqWJCf//4bRYZ1s6zkd2mOm6gHHanCeVFxfxkv9eXyzL+MM74bccRoSrirI/kKOm SAdczBsxmARuxhYFuRXRbHoy6OXWbtcAuyoGg= Original-Received: by 10.68.26.97 with SMTP id k1mr110492pbg.17.1316645981136; Wed, 21 Sep 2011 15:59:41 -0700 (PDT) Original-Received: by 10.142.223.13 with HTTP; Wed, 21 Sep 2011 15:59:01 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Sep 2011 19:00:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51622 Archived-At: On Thu, Sep 22, 2011 at 00:51, Lennart Borgman wrote: > Of course the behaviour must be fixed too. I meant to write that it is > ok that url-filename returns a system-dependent absolute file name > (for local files). When you do (url-filename (url-generic-parse-url "file:///SOMEPATH")) you are not checking SOMEPATH against the local filesystem (the path does not need to exist, for example). So, when you say "system-dependant" and "local files", what you're really saying is that SOMEPATH should be analyzed to see whether it is POSIX-style, or Windows-style, or whatever, to "fix it" or "leave it alone" according to the detected style. And yes, we have already discussed that. It is certainly possible. It is also ugly and ad hoc, and ugly too. =C2=A0 =C2=A0 Juanma