From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A few issues with thumbs.el Date: Thu, 26 May 2005 15:24:53 -0400 Message-ID: <87wtplpzih.fsf-monnier+emacs@gnu.org> References: <87br6zuerw.fsf-monnier+emacs@gnu.org> <87u0kqrsur.fsf-monnier+emacs@gnu.org> <87vf56q6fk.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117136220 22098 80.91.229.2 (26 May 2005 19:37:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 May 2005 19:37:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 26 21:36:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbO84-0003Ld-PT for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 21:34:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbOCC-0000ii-H6 for ged-emacs-devel@m.gmane.org; Thu, 26 May 2005 15:39:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DbO7z-0006vg-Ja for emacs-devel@gnu.org; Thu, 26 May 2005 15:34:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbO7u-0006sa-HJ for emacs-devel@gnu.org; Thu, 26 May 2005 15:34:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbO7t-0006mj-88 for emacs-devel@gnu.org; Thu, 26 May 2005 15:34:41 -0400 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DbNzG-0001xy-Fj for emacs-devel@gnu.org; Thu, 26 May 2005 15:25:47 -0400 Original-Received: from alfajor ([65.92.240.195]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050526192457.ZVJ1799.tomts40-srv.bellnexxia.net@alfajor>; Thu, 26 May 2005 15:24:57 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id ADDD4D7378; Thu, 26 May 2005 15:24:53 -0400 (EDT) Original-To: Juanma Barranquero In-Reply-To: (Juanma Barranquero's message of "Thu, 26 May 2005 20:22:35 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:37730 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37730 > Uh? convert-standard-filename works right with non-absolute paths: > (convert-standard-filename "file/test:.dat") => "file\\test!.dat" It *sometimes* works right. Which isn't very useful. > It just handles an initial "X:" differently (on Windows): > (convert-standard-filename "c:file/test:.dat") => "c:file\\test!.dat" Indeed. And if you want to place a config file named "a:b:c:d" in $HOME, doing (expand-file-name (convert-standard-filename "a:b:c:d") "~") will not return a valid answer on w32. The result can only be trusted to be valid if the filename is absolute. Stefan