From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: emacsclient: support `/' directory separator on w32 Date: Wed, 29 Nov 2006 20:02:28 +0100 Message-ID: <456DD944.2020109@student.lu.se> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164827249 18775 80.91.229.2 (29 Nov 2006 19:07:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 19:07:29 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 29 20:07:24 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 1GpUm1-0006Eg-05 for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 20:07:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpUlz-0001iX-Lm for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 14:07:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpUhi-0006Ap-Fj for emacs-devel@gnu.org; Wed, 29 Nov 2006 14:02:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpUhg-00068S-4L for emacs-devel@gnu.org; Wed, 29 Nov 2006 14:02:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpUhf-00068D-Se for emacs-devel@gnu.org; Wed, 29 Nov 2006 14:02:44 -0500 Original-Received: from [80.76.149.212] (helo=ch-smtp01.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GpUhT-0001v4-GO; Wed, 29 Nov 2006 14:02:32 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:61797 helo=[192.168.123.121]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GpUhQ-00069W-6B; Wed, 29 Nov 2006 20:02:29 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Eli Zaretskii In-Reply-To: X-Scan-Result: No virus found in message 1GpUhQ-00069W-6B. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1GpUhQ-00069W-6B 5474d768bf624a7600999e355a3ee9ef 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:63060 Archived-At: Eli Zaretskii wrote: >> Date: Wed, 29 Nov 2006 17:08:34 +0100 >> From: Lennart Borgman >> CC: lekktu@gmail.com, Eli Zaretskii , emacs-devel@gnu.org >> >> But is the working directory ever used in emacs? > > It is used implicitly each time you invoke a program without leading > directories in the executable name, or give a program arguments that > are relative file names. But is not default-directory used then to set the working directory for the subprocess? Is that really the working directory from an OS point of view? >> Maybe there is a better API for checking file names? > > I suggest GetFullPathName. Thanks, but that was what I tried to say did not work.