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 16:43:18 +0100 Message-ID: <456C5916.1020305@student.lu.se> References: <20061124054526.72239.qmail@web62511.mail.re1.yahoo.com> <85fyc3oiio.fsf@lola.goethe.zz> <854psjoh67.fsf@lola.goethe.zz> <456C43D4.7060809@student.lu.se> <456C45C3.2050107@student.lu.se> <456C4A8C.2080208@student.lu.se> <85zmablgvk.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 1164728675 27749 80.91.229.2 (28 Nov 2006 15:44:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 15:44:35 +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 16:44:26 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 1Gp57s-0002pM-0u for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 16:44:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp57r-0008VZ-HW for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 10:44:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp57L-0008Ak-Pc for emacs-devel@gnu.org; Tue, 28 Nov 2006 10:43:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp57K-00088l-P5 for emacs-devel@gnu.org; Tue, 28 Nov 2006 10:43:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp57K-00088I-Fp for emacs-devel@gnu.org; Tue, 28 Nov 2006 10:43:30 -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 1Gp57E-0006zb-Nk; Tue, 28 Nov 2006 10:43:25 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:59335 helo=[192.168.123.121]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1Gp57C-0001pj-4n; Tue, 28 Nov 2006 16:43:22 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: David Kastrup In-Reply-To: <85zmablgvk.fsf@lola.goethe.zz> X-Scan-Result: No virus found in message 1Gp57C-0001pj-4n. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Gp57C-0001pj-4n b1647f805df7eb717b34500adb4797bf 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:62964 Archived-At: David Kastrup wrote: >> If Emacs would only get a relative file name it would have no chance >> to find the file. As I wrote in another letter it also gets the cwd, >> but in those cases we are discussing here it gets the wrong cwd. >> >> So this is actually a bug that we should fix. It should be rather easy >> to do that by just using the cwd for the given file name's drive so to >> say. > > There can be several file names with different drives on the command > line, and I don't know whether Emacsclient knows which command line > arguments are actually file names. > > If there is a good solution that is not excessively awkward, it might > nice producing it, but I am not sure of that. Emacsclient knows which args are file names and sends cwd just before the file name so it seems easy to fix. I am going to try later today.