From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: emacsclient: support `/' directory separator on w32 Date: Thu, 30 Nov 2006 14:48:14 -0500 Message-ID: References: <20061124054526.72239.qmail@web62511.mail.re1.yahoo.com> <85fyc3oiio.fsf@lola.goethe.zz> <854psjoh67.fsf@lola.goethe.zz> <85r6vnmz3s.fsf@lola.goethe.zz> <857ixfkyqu.fsf@lola.goethe.zz> <456CC2B4.3000003@student.lu.se> <456CD9A7.5010006@student.lu.se> <456D44EE.2080906@student.lu.se> <85mz6ah8y6.fsf@lola.goethe.zz> <456DB082.4090008@student.lu.se> <456DD944.2020109@student.lu.se> <85mz6acao8.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1164916254 7200 80.91.229.2 (30 Nov 2006 19:50:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 19:50:54 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, eliz@gnu.org, emacs-devel@gnu.org, lekktu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 20:50:53 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gprv6-0001Tp-T2 for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 20:50:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gprv6-0000Oo-BT for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 14:50:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GprtI-0007vB-Hz for emacs-devel@gnu.org; Thu, 30 Nov 2006 14:48:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GprtI-0007ut-2X for emacs-devel@gnu.org; Thu, 30 Nov 2006 14:48:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GprtH-0007uk-OR for emacs-devel@gnu.org; Thu, 30 Nov 2006 14:48:15 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GprtH-0005HM-Np for emacs-devel@gnu.org; Thu, 30 Nov 2006 14:48:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GprtG-0006Y3-6B; Thu, 30 Nov 2006 14:48:14 -0500 Original-To: David Kastrup In-reply-to: <85mz6acao8.fsf@lola.goethe.zz> (message from David Kastrup on Wed, 29 Nov 2006 20:31:03 +0100) 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:63157 Archived-At: > But is not default-directory used then to set the working directory > for the subprocess? No. Yes, I think. child_setup in callproc.c has code to do that. Emacs's own current directory (at the system level) doesn't normally matter, because Emacs does its own computations to produce absolute file names. The only time it would matter is when another process is supposed to inherit it; and that, Emacs does manually (in child_setup, for instance).