From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs Installer for MS Windows Date: 23 Aug 2004 15:51:40 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: 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=us-ascii X-Trace: sea.gmane.org 1093290822 24912 80.91.224.253 (23 Aug 2004 19:53:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 19:53:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 23 21:53:34 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 1BzKso-0008Iw-00 for ; Mon, 23 Aug 2004 21:53:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzKxH-0000Ms-DZ for ged-emacs-devel@m.gmane.org; Mon, 23 Aug 2004 15:58:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BzKwU-0008Ln-VG for emacs-devel@gnu.org; Mon, 23 Aug 2004 15:57:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BzKwT-0008LP-66 for emacs-devel@gnu.org; Mon, 23 Aug 2004 15:57:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzKwT-0008LF-3t for emacs-devel@gnu.org; Mon, 23 Aug 2004 15:57:21 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BzKrh-0006CV-Ug for emacs-devel@gnu.org; Mon, 23 Aug 2004 15:52:26 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 61ABBB3028B; Mon, 23 Aug 2004 15:51:41 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id DFD1D8CA23; Mon, 23 Aug 2004 15:51:40 -0400 (EDT) Original-To: "Lennart Borgman" In-Reply-To: <003e01c48946$a8ebfad0$0200a8c0@sedrcw11488> Original-Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:26428 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26428 > 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 I think an important aspect is "how do I upgrade" (as well as "how do I uninstall", tho it's most common use is in the case of an upgrade). So the choice between those depends on how well it deals with upgrades. > 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.) I recommend to keep separate packages separate (and to kep the packages as vanilla as possible), so if you put extra packages in c:\program files\emacs\w32bin, I'd expect you to use option B, C, or D, but not A. > The installer also adds some elisp files that are ms windows specific or at > least specific for ms windows users. Where should I put these? If they are Windows specific, they should probably just be part of Emacs (and/or included in one of the existing windows-specific files such as w32-*.el). If they are specific to your installer, I'd also tend to argue that they should just be submitted for inclusion. > Is site-lisp a good place or should I use a separate directory not to mix > it with the users own or downloaded lisp files? As the name implies "site-lisp" is for things specific to the "site", i.e. things that the user adds on her own. It should start empty. But if there's stuff you need to add and you can't get it to be included in macs proper, than site-lisp is probably the best choice indeed. > I have found it most easy to start up these scripts in site-lisp/default.el. I'd recommend site-start.el instead. > Default.el is run after .emacs which means I can use customization without > having to worry about the order in .emacs. Putting things in site-start.el makes it behave much more like all the rest of the default Emacs settings: they are already set when the .emacs is executed and won't be changed afterwards, so the user can "easily" change them if she so wishes. > It may sound a bit strange but the installation script has now grown rather > large and I am thinking about where to put it. I must make it a bit more > pretty so someone else than me can understand it but after this I want to > upload it. I would like some suggestions of a preffered location. I don't know what this script is used for (e.g. is it used when you build the package, or is it used when you run the installer). The best place (if possible at all) might be to put in the `admin' directory in the CVS archive. Stefan