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: [Emacs-diffs] trunk r116230: Fix bug #16558 with w32-shell-execute on remote file names. Date: Tue, 04 Feb 2014 15:35:25 -0500 Message-ID: References: <83ob2q4nbv.fsf@gnu.org> <83k3de41sc.fsf@gnu.org> <83iosx4iid.fsf@gnu.org> <83txcg3fle.fsf@gnu.org> <83lhxs2mru.fsf@gnu.org> <837g9a3kmb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391546174 19425 80.91.229.3 (4 Feb 2014 20:36:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 20:36:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 04 21:36:19 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 1WAmjC-000202-Up for ged-emacs-devel@m.gmane.org; Tue, 04 Feb 2014 21:36:19 +0100 Original-Received: from localhost ([::1]:55222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAmjC-00084W-Ag for ged-emacs-devel@m.gmane.org; Tue, 04 Feb 2014 15:36:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAmiz-0007nQ-RA for emacs-devel@gnu.org; Tue, 04 Feb 2014 15:36:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAmir-0007Fy-O2 for emacs-devel@gnu.org; Tue, 04 Feb 2014 15:36:05 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:37281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAmii-0007Ec-OA; Tue, 04 Feb 2014 15:35:49 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5026984E3F; Tue, 4 Feb 2014 15:35:48 -0500 (EST) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5C4971E5B74; Tue, 4 Feb 2014 15:35:25 -0500 (EST) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 41A40B40FE; Tue, 4 Feb 2014 15:35:25 -0500 (EST) In-Reply-To: <837g9a3kmb.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Feb 2014 18:31:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:169394 Archived-At: > The problem that led me to introduce this call is that this succeeds: > (w32-shell-execute "open" "file") > but this fails: > (w32-shell-execute "open" "dir/file") > IOW, the DOCUMENT arg must either be an absolute file name, or live > inside default-directory, not in one of its subdirectories. Ah, that makes it more clear. We should include this example in the comments. It does beg the question: what does (w32-shell-execute "open" "dir/file") do, then? You say it "fails", but does it signal an error? If so, why? My world view is very POSIX-centric, so I'm probably missing the obvious. Stefan