From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116230: Fix bug #16558 with w32-shell-execute on remote file names. Date: Mon, 03 Feb 2014 05:12:07 +0100 Organization: Organization?!? Message-ID: <877g9czvfs.fsf@fencepost.gnu.org> References: <83ob2q4nbv.fsf@gnu.org> <83k3de41sc.fsf@gnu.org> <83iosx4iid.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391400747 30287 80.91.229.3 (3 Feb 2014 04:12:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2014 04:12:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 03 05:12:34 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAAtd-0003RU-P4 for ged-emacs-devel@m.gmane.org; Mon, 03 Feb 2014 05:12:33 +0100 Original-Received: from localhost ([::1]:43891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAAtd-0003yG-8q for ged-emacs-devel@m.gmane.org; Sun, 02 Feb 2014 23:12:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAAtV-0003xI-Dt for emacs-devel@gnu.org; Sun, 02 Feb 2014 23:12:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAAtP-0004Gf-Ig for emacs-devel@gnu.org; Sun, 02 Feb 2014 23:12:25 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:35155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAAtP-0004GZ-C6 for emacs-devel@gnu.org; Sun, 02 Feb 2014 23:12:19 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WAAtN-0003Ld-Ot for emacs-devel@gnu.org; Mon, 03 Feb 2014 05:12:17 +0100 Original-Received: from x2f3c582.dyn.telefonica.de ([2.243.197.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Feb 2014 05:12:17 +0100 Original-Received: from dak by x2f3c582.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Feb 2014 05:12:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f3c582.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:/SXWj7mYza6iy0PDTRdKjLucfjI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169357 Archived-At: Stefan Monnier writes: >> Btw, find-file-name-handler returns nil for file-exists-p when the >> file name specifies a compressed file, so I'm not sure what bothered >> you in the first place. > > Ha! Indeed, I had never noticed that `operations' property! > Then I guess the current code is OK (tho it's still kind of a hack). > >>> And the reason we do that is because some file names are "normal" and >>> others refer to non-files according to some w32 feature which can map >>> them to some other tools. >> The reason is described in the comment: if the file name is not >> absolute and its name is not relative to the directory passed to the >> system API, the API will fail. > > I'm having trouble understanding the above: can you give an example of > a file which is neither absolute nor relative to the directory passed > to the system API? No idea whether this is what is meant: /fencepost.gnu.org:.mailrc or variations thereof? -- David Kastrup