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 mapped drive Date: Sun, 20 Apr 2008 16:28:30 -0400 Message-ID: References: <87bq781bf7.fsf@gmx.de> <000a01c8a314$5fff7630$0200a8c0@us.oracle.com> <480BA1A9.2060106@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208723332 12419 80.91.229.12 (20 Apr 2008 20:28:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Apr 2008 20:28:52 +0000 (UTC) Cc: 'Jason Rumney' , 'Michael Albinus' , Drew Adams , 'Emacs-Devel' To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 20 22:29:27 2008 connect(): Connection refused 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 1JngA9-00032d-Eh for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 22:29:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jng9U-0004CE-5M for ged-emacs-devel@m.gmane.org; Sun, 20 Apr 2008 16:28:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jng9O-0004BY-UL for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:28:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jng9M-0004Au-HJ for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:28:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jng9M-0004Ar-97 for emacs-devel@gnu.org; Sun, 20 Apr 2008 16:28:36 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jng9H-0007Ol-Mk; Sun, 20 Apr 2008 16:28:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEANdDC0hMCqsI/2dsb2JhbACBUKc9 X-IronPort-AV: E=Sophos;i="4.25,686,1199682000"; d="scan'208";a="18796955" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 20 Apr 2008 16:28:30 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id AYW82030; Sun, 20 Apr 2008 16:28:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 832FF895A; Sun, 20 Apr 2008 16:28:30 -0400 (EDT) In-Reply-To: <480BA1A9.2060106@gmail.com> (Lennart Borgman's message of "Sun, 20 Apr 2008 22:03:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:95544 Archived-At: >>> Could someone please summarize what was done about this? >> Nothing. Actually, this is not quite right: nothing came out of the part of the discussion Drew referred to, but the other part (the one I cared about) did result in a refined docstring for file-remote-p. > Is WNetGetConnection useful for this? (There is already code calling this > function in Emacs.) I have no idea. But note that you may have mapped drives that are quite "local" in the file-remote-p sense. Stefan