From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: paths are sensative to double separators Date: Thu, 19 Mar 2009 15:37:50 -0400 Message-ID: References: <20090319015037.GC6695@reforged> <20090319.064244.95961919.hanche@math.ntnu.no> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1237491491 26709 80.91.229.12 (19 Mar 2009 19:38:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 19:38:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 20:39:27 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkO5N-0008P6-Jl for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 20:39:25 +0100 Original-Received: from localhost ([127.0.0.1]:55275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkO41-0008By-42 for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2009 15:38:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkO3w-00089n-4L for emacs-devel@gnu.org; Thu, 19 Mar 2009 15:37:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkO3r-000832-JH for emacs-devel@gnu.org; Thu, 19 Mar 2009 15:37:55 -0400 Original-Received: from [199.232.76.173] (port=55755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkO3r-00082o-FE for emacs-devel@gnu.org; Thu, 19 Mar 2009 15:37:51 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:48449) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkO3r-00063b-8t for emacs-devel@gnu.org; Thu, 19 Mar 2009 15:37:51 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LkO3q-0004Ul-E9; Thu, 19 Mar 2009 15:37:50 -0400 In-reply-to: <20090319.064244.95961919.hanche@math.ntnu.no> (message from Harald Hanche-Olsen on Thu, 19 Mar 2009 06:42:44 +0100 (CET)) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:109703 Archived-At: Miles Bader gave a different explanation for emacs's behaviour. It seems odd to me that an interactive feature (a good one, too) should influence how path names are interpreted in code, however. This conversion concerns entering file names in the minibuffer, and does not occur in most functions when they are called from Lisp code. In particular, I find that find-file called from Lisp converts // equivalent to one /. However, strangely there is a difference between (find-file "~/xmail/stallman.xmail") and (find-file "~/xmail//stallman.xmail"). The former asks me whether to convert the Babyl file to mbox. The latter just visits the Babyl file in Rmail without conversion. This seems to be a bug.