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: Tue, 28 Nov 2006 15:35:26 +0100 Message-ID: <456C492E.1060207@student.lu.se> References: <20061124054526.72239.qmail@web62511.mail.re1.yahoo.com> <85slg4ou2m.fsf@lola.goethe.zz> <85fyc3oiio.fsf@lola.goethe.zz> <854psjoh67.fsf@lola.goethe.zz> <456C43D4.7060809@student.lu.se> <85mz6bmyx4.fsf@lola.goethe.zz> 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 1164724837 13011 80.91.229.2 (28 Nov 2006 14:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 14:40:37 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 28 15:40:31 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 1Gp485-0003JL-Sy for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 15:40:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp485-0000Tq-DV for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 09:40:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp43Z-0005R1-UV for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:35:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp43X-0005Od-Ks for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:35:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp43X-0005OH-7q for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:35:31 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gp43V-0001XJ-AI; Tue, 28 Nov 2006 09:35:29 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:61371 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1Gp43T-0005jw-72; Tue, 28 Nov 2006 15:35:27 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: David Kastrup In-Reply-To: <85mz6bmyx4.fsf@lola.goethe.zz> X-Scan-Result: No virus found in message 1Gp43T-0005jw-72. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Gp43T-0005jw-72 cc8b04fcd3aeb93ba348ca4ecc383ab8 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:62947 Archived-At: David Kastrup wrote: > "Juanma Barranquero" writes: > >> On 11/28/06, Lennart Borgman wrote: >> >>> Great. Then I guess GetFullPathName can be used in Emacsclient on w32. >> IMHO emacsclient is not in the business of going 'round looking for files. > > It certainly is, even in Unix. You can call it with a relative > filename, and that filename certainly should not get expanded relative > to whatever Emacs' idea of a current working directory is, but rather > relative to what Emacsclient's idea is. I just took a look at the code. It does this by sending current working directory. Should not this be replaced on w32 with something using what Juanma found before, for example GetEnv("=C:")?