From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Directory structure changes in Emacs installed on MS-Windows Date: Fri, 05 Apr 2013 09:06:45 +0300 Message-ID: <83d2u9fr4a.fsf@gnu.org> References: <83r4iqfaw1.fsf@gnu.org> <85obdtlwz6.fsf@member.fsf.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1365142055 7294 80.91.229.3 (5 Apr 2013 06:07:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Apr 2013 06:07:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 05 08:08:00 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNzoZ-00081K-BG for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2013 08:07:55 +0200 Original-Received: from localhost ([::1]:44205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNzo9-0007Cy-V1 for ged-emacs-devel@m.gmane.org; Fri, 05 Apr 2013 02:07:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNzo5-0007CZ-94 for emacs-devel@gnu.org; Fri, 05 Apr 2013 02:07:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNznz-0005cJ-GP for emacs-devel@gnu.org; Fri, 05 Apr 2013 02:07:25 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNznz-0005c2-97 for emacs-devel@gnu.org; Fri, 05 Apr 2013 02:07:19 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MKR00800Q9R3800@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 05 Apr 2013 09:06:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKR0080AQB83L00@a-mtaout22.012.net.il>; Fri, 05 Apr 2013 09:06:44 +0300 (IDT) In-reply-to: <85obdtlwz6.fsf@member.fsf.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158669 Archived-At: > From: Stephen Leake > Date: Thu, 04 Apr 2013 19:03:41 -0400 > > I gather we will just need %emacs_dir%/bin in Windows PATH (as we need > now), not also %emacs_dir%/libexec/emacs/VERSION/i686-pc-mingw32 (emacs > will put the latter in exec-path by default). Yes, that's true. This is done automatically at startup time. > You left out: > > (0) it simplifies the task of using the Posix configury > > I think that's important. It would be important if it were true, but I don't think it's true. The way epaths.h is generated from epaths.in on Posix platforms leaves the root of the Emacs installation tree (specified via --prefix) hard-coded into the binary, and Emacs (AFAIK) currently doesn't support relocation of the installation tree on Posix systems. By contrast, on Windows relocation is a matter of routine. So I cannot use the epaths-force target of the top-level Makefile anyway. > > (2) it will become possible to have several Emacs versions installed > > that can be invoked without any need to tweak PATH or rename the DOC > > file; > > I don't follow this; there is only one place for emacs.exe. Currently I > handle this by using a different %emacs_dir% for each emacs version. > > I guess you could have %emacs_dir%/bin/emacs-VERSION.exe ? Does the > Posix install do that (I've seen that convention for some tools). Yes, the Posix install creates a symlink emacs-VERSION, and so will the Windows one (except that instead of a symlink there will be a copy).