From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: testing for a remote file to include file on a Windows mappeddrive Date: Wed, 30 Jan 2008 16:04:53 +0100 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 1201705532 19928 80.91.229.12 (30 Jan 2008 15:05:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2008 15:05:32 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, drew.adams@oracle.com, jasonr@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 30 16:05:49 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 1JKEUX-0003BN-Qn for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 16:04:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKEU6-00078i-QQ for ged-emacs-devel@m.gmane.org; Wed, 30 Jan 2008 10:04:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKEU3-00078S-1y for emacs-devel@gnu.org; Wed, 30 Jan 2008 10:04:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKEU1-00077x-FL for emacs-devel@gnu.org; Wed, 30 Jan 2008 10:04:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKEU1-00077u-AZ for emacs-devel@gnu.org; Wed, 30 Jan 2008 10:04:13 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKETt-0004HA-5M; Wed, 30 Jan 2008 10:04:05 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id m0UF3xHB012874; Wed, 30 Jan 2008 16:04:00 +0100 In-Reply-To: (Stefan Monnier's message of "Wed, 30 Jan 2008 09:24:56 -0500") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:87779 Archived-At: Stefan Monnier writes: >> As usual, I don't care function names too much. But the mapping > >> (nonmagic-file-name "/sudo::") => "/root" > >> doesn't seem to be obvious, although it would be the implementation >> for Tramp. > > Actually, this implementation would be incorrect for my purpose > (doc-view): the important aspect of unhandled-file-name is that > a subprocess will be able to use it. So it should be accessible by the > normal Emacs user. I'm lost. What do you expect as result of (nonmagic-file-name "/sudo::") ? Something like `file-local-copy' returns? > Stefan Best regards, Michael.