From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Installer for MS Windows Date: Tue, 24 Aug 2004 11:07:45 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1093325865.12665.202923369@webmail.messagingengine.com> References: <001401c478de$908a92d0$0200a8c0@sedrcw11488> <1091508072.20683.201576204@webmail.messagingengine.com> <4111491A.4090601@runestig.com> <4111D8D4.1040506@runestig.com> <1091693906.8538.201741376@webmail.messagingengine.com> <001d01c47afa$c1f5f170$0200a8c0@sedrcw11488> <003e01c48946$a8ebfad0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093325892 24519 80.91.224.253 (24 Aug 2004 05:38:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Aug 2004 05:38:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 24 07:37:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BzU0M-0005p3-00 for ; Tue, 24 Aug 2004 07:37:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzU4q-0002RG-NG for ged-emacs-devel@m.gmane.org; Tue, 24 Aug 2004 01:42:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BzU4j-0002Qo-HB for emacs-devel@gnu.org; Tue, 24 Aug 2004 01:42:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BzU4i-0002QW-JI for emacs-devel@gnu.org; Tue, 24 Aug 2004 01:42:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzU4i-0002QF-AU for emacs-devel@gnu.org; Tue, 24 Aug 2004 01:42:28 -0400 Original-Received: from [66.111.4.30] (helo=frontend1.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BzU0B-0005UN-NG for emacs-devel@gnu.org; Tue, 24 Aug 2004 01:37:48 -0400 Original-Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by frontend1.messagingengine.com (Postfix) with ESMTP id 76AE6C14F60; Tue, 24 Aug 2004 01:37:45 -0400 (EDT) Original-Received: by server2.messagingengine.com (Postfix, from userid 99) id 7BE1E842F9; Tue, 24 Aug 2004 01:37:45 -0400 (EDT) Content-Disposition: inline X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) In-Reply-To: <003e01c48946$a8ebfad0$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" , "Emacs Devel" X-Sasl-Enc: WPgTVj4U5LnHf0e/P228vg 1093325865 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26438 On Mon, 23 Aug 2004 21:21:04 +0200, "Lennart Borgman" said: > Now I would like some suggestions. I hope you do not mind. First about > where > to install Emacs. On ms windows most programs are installed in > "c:\program > files\" as I guess you know. I see some alternatives (which I illustrate > with where emacs.exe is found): > > A) "c:\program files\emacs\bin\emacs.exe > B) "c:\program files\emacs-21.3\bin\emacs.exe > C) "c:\program files\emacs\emacs\bin\emacs.exe > D) "c:\program files\emacs\emacs-21.3\bin\emacs.exe > > Which one would you prefer? What about using "c:\program files"? Folder names with spaces are always a nightmare in scripts. Can we avoid this and try to install directly under "C:/GNU/emacs" or "C:/GNU/emacs-21.3 ". IMO, many users using GNU Emacs use lot of other GNU software, having a top level GNU folder might help proper grouping of related tools. > I include gnuclient and wonder where to put these exe-files. Currently I > use > a structure like C) and put them in "c:\program files\emacs\w32bin". I > also > put a copy of 7za.exe from 7-zip here to be able to unpack tar.gz files. > (With permission from the author of course.) How about "C:/GNU/bin" as _some_ of the tools or execs are not just specific to GNU Emacs. I use the following folder setup and have some of the following advantages. Under D:/GNU, I have: D:/GNU/bin D:/GNU/info D:/GNU/emacs-beta D:/GNU/emacs-rel D:/GNU/site-lisp 1. GNUclient, GNUserv and other image libraries are in D:/GNU/bin. I have added this folder into PATH env. Since these files do not get modified too often, I need not worry during upgrading GNU Emacs. 2. I can selectively add "D:/GNU/emacs-beta/bin" or "D:/GNU/emacs-rel/bin" in the PATH env. Based on this, the GNUclient will launch "emacs.exe" for the desired version. With this, I can have multiple versions of GNU Emacs. May not be useful for a plain user though. 3. All user specific elisp code goes into D:/GNU/site-lisp, this is again version independent. 4. With this setup, an upgrade just means, removing the version specific GNU Emacs folder (and remove it from PATH) and copy a new version folder (and add it to PATH). Note: Adding to PATH could be done like: GNUEMACSPATH=D:/GNU/bin;D:/GNU/emacs-21.3/bin PATH=%GNUEMACSPATH%;%PATH% For an upgrade, you just need to modify the contents of "GNUEMACSPATH" env. I know it can be difficult to or unwise to modify the PATH env directly. with best regards, dhruva ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/