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: testing for a remote file to include file on a Windows mappeddrive Date: Wed, 30 Jan 2008 09:29:49 -0500 Message-ID: References: <871w844yff.fsf@gmx.de> <87bq781bf7.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201703413 11261 80.91.229.12 (30 Jan 2008 14:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2008 14:30:13 +0000 (UTC) Cc: emacs-devel@gnu.org, Michael Albinus , drew.adams@oracle.com, jasonr@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 30 15:30:33 2008 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 1JKDxQ-0005eQ-UW for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 15:30:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKDwz-0008Ij-E1 for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 09:30:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKDwv-0008Ie-Q6 for emacs-devel@gnu.org; Wed, 30 Jan 2008 09:30:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKDwt-0008IP-N0 for emacs-devel@gnu.org; Wed, 30 Jan 2008 09:30:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKDwt-0008IM-J5 for emacs-devel@gnu.org; Wed, 30 Jan 2008 09:29:59 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKDwm-0003RJ-G9; Wed, 30 Jan 2008 09:29:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAEQZoEfO+J95dGdsb2JhbACQJwEwnz2BAg X-IronPort-AV: E=Sophos;i="4.25,277,1199682000"; d="scan'208";a="13397859" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 30 Jan 2008 09:29:50 -0500 Original-Received: from pastel.home ([206.248.159.121]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id KPH27350; Wed, 30 Jan 2008 09:29:50 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 7F84785F8; Wed, 30 Jan 2008 09:29:49 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Wed, 30 Jan 2008 01:15:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:87774 Archived-At: > `file-local-name' might not be a good name. > The operation `unhandled-file-name-directory' returns a directory that > isn't magic. But remote names are not the only magic names, so > "local" isn't necessarily the right way to describe the relationship > between that directory and the argument. The issue is not whether the returned file name is magic or not, but whether it can be passed as-is to a subprocess. > I think the same goes for `unhandled-file-name'. I don't understand. unhandled-file-name-directory is used to get a directory that can be used as cwd for subprocesses. And the new operation is meant to be used to get a filename that can be passed to subprocesses. So AFAICT they share everything and should use the same name. > Perhaps `nonmagic-file-name' would be a better name. The jka-compr implementation of this new operation should return the file name unchanged, so it would return a filename that's still as magic as before. Hence nonmagic-file-name doesn't sound right. But the main reason why I do not like it is because it introduces a new word ("nonmagic") to describe the same concept as "unhandled" in unhandled-file-name-directory. Stefan