From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: testing for a remote file to include file on a Windows mappeddrive Date: Sat, 26 Jan 2008 15:23:59 +0000 Message-ID: <479B508F.2010808@gnu.org> References: <871w844yff.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201361070 7929 80.91.229.12 (26 Jan 2008 15:24:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 15:24:30 +0000 (UTC) Cc: Stefan Monnier , Drew Adams , Emacs-Devel To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 16:24:50 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 1JImtl-0006cT-2Z for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 16:24:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JImtK-000452-F5 for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 10:24:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JImtF-00044w-Pw for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:24:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JImtD-00044k-DP for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:24:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JImtD-00044h-7t for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:24:15 -0500 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JImtD-0001IP-BO for emacs-devel@gnu.org; Sat, 26 Jan 2008 10:24:15 -0500 Original-X-Trace: 27252073/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKremkdTQxds/2dsb2JhbAAIrFA X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 26 Jan 2008 15:24:13 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <871w844yff.fsf@gmx.de> 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:87578 Archived-At: Michael Albinus wrote: > Stefan Monnier writes: > > >> (let ((file-name-handlers-alist nil)) (file-readable-p )). >> > > (and (not (file-remote-p file)) (file-readable-p file)) > > There could be file name handlers, which have an own implementation of > file-readable-p for local files. > If you are running an external process which needs to read the file, then it needs to be readable without any file-handler specifics.