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 01:51:51 +0100 Message-ID: <456CD9A7.5010006@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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164761541 14001 80.91.229.2 (29 Nov 2006 00:52:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 00:52:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 29 01:52:19 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 1GpDgQ-0000TM-Nv for ged-emacs-devel@m.gmane.org; Wed, 29 Nov 2006 01:52:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpDgQ-0000tS-8j for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 19:52:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpDg5-0000qN-RP for emacs-devel@gnu.org; Tue, 28 Nov 2006 19:51:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpDg2-0000nE-1d for emacs-devel@gnu.org; Tue, 28 Nov 2006 19:51:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpDg1-0000n1-Rx for emacs-devel@gnu.org; Tue, 28 Nov 2006 19:51:53 -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 1GpDg1-0006od-TN for emacs-devel@gnu.org; Tue, 28 Nov 2006 19:51:54 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:60417 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GpDfz-0008Vp-8X; Wed, 29 Nov 2006 01:51:51 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Juanma Barranquero In-Reply-To: X-Scan-Result: No virus found in message 1GpDfz-0008Vp-8X. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1GpDfz-0008Vp-8X 93b0d03453ee7eac4fdaa4af41864546 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:63002 Archived-At: Juanma Barranquero wrote: > On 11/29/06, Lennart Borgman wrote: > >> Emacsclient is used from outside Emacs and there we >> should try to be consistent with the existing UI. > > For some definition of "consistency", of course. > > W:\> gzip c:input.txt > c:input.txt: No such file or directory > > W:\> diff c:get-diskusage.ps1 c:get-fileversion.ps1 > diff: c:get-diskusage.ps1: No such file or directory > diff: c:get-fileversion.ps1: No such file or directory > > W:\> grep solve c:sudoku.hs > grep: c:sudoku.hs: No such file or directory > > etc. etc. These are just bugs. If you use findstr instead of grep it works. If you use notepad it works. I am not quite sure, but I believe I have seen that the recommendation from MS for a file argument is to use GetFullPathName. However it was quite a while since I looked into that.