From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: emacsclient: support `/' directory separator on w32 Date: Tue, 28 Nov 2006 15:56:49 +0100 Message-ID: <85ejrnmxfy.fsf@lola.goethe.zz> 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> <85irgzmxre.fsf@lola.goethe.zz> <456C4D38.6050402@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164726328 18697 80.91.229.2 (28 Nov 2006 15:05:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 15:05:28 +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:05:27 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 1Gp4WJ-0000kx-8s for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 16:05:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp4WI-0002Ls-Ok for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2006 10:05:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp4OF-0007oz-Jk for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:56:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp4OF-0007mu-0I for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:56:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp4OE-0007mV-A4 for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:56:54 -0500 Original-Received: from [212.7.152.118] (helo=mxout04.versatel.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gp4OD-0008Al-Gf for emacs-devel@gnu.org; Tue, 28 Nov 2006 09:56:54 -0500 Original-Received: from mx01.versatel.de (mx01.versatel.de [212.7.146.1]) by mxout04.versatel.de (8.13.1/8.13.1) with ESMTP id kASEuop4015220; Tue, 28 Nov 2006 15:56:50 +0100 Original-Received: from lola.goethe.zz (i53879488.versanet.de [83.135.148.136]) by mx01.versatel.de (8.12.11.20060614/8.12.11) with ESMTP id kASEuocv029160; Tue, 28 Nov 2006 15:56:50 +0100 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 1EF291C29846; Tue, 28 Nov 2006 15:56:49 +0100 (CET) Original-To: Lennart Borgman In-Reply-To: <456C4D38.6050402@student.lu.se> (Lennart Borgman's message of "Tue\, 28 Nov 2006 15\:52\:40 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:62958 Archived-At: Lennart Borgman writes: > David Kastrup wrote: > >> It appears that the current work directory alone is not sufficient. I >> see two approaches here: either Emacsclient will pass more info to >> Emacs, or it creates the absolute file names itself. The latter >> sounds more sane to me, however it requires that Emacsclient itself >> knows which parts on the command lines are filenames to be opened, and >> which are just arguments to be interpreted by commands or stuff. > > > It seems easier to use the environmental variable that Juanma found > before (=C:, =D: etc) I don't see how. Those would have to get passed into Emacs where they would have to temporarily replace those variables in Emacs' own environment while Emacs is processing the Emacsclient command line. That sounds like a messy thing to do. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum