From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Kai_Gro=DFjohann?= Newsgroups: gmane.emacs.help Subject: Re: Precompiled Emacs Date: Mon, 04 Nov 2013 22:32:32 +0100 Message-ID: <52781270.7000002@gmx.net> References: <87wqkpxnrm.fsf@gmail.com> <5276C383.4020009@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383600783 10756 80.91.229.3 (4 Nov 2013 21:33:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2013 21:33:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Jambunathan K To: Johan Andersson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 04 22:33:07 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VdRli-0005mD-Ln for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Nov 2013 22:33:06 +0100 Original-Received: from localhost ([::1]:52113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdRli-00068Z-8D for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Nov 2013 16:33:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdRlI-0005yY-2F for help-gnu-emacs@gnu.org; Mon, 04 Nov 2013 16:32:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdRlA-0004lc-Po for help-gnu-emacs@gnu.org; Mon, 04 Nov 2013 16:32:40 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:60096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdRlA-0004lW-H5 for help-gnu-emacs@gnu.org; Mon, 04 Nov 2013 16:32:32 -0500 Original-Received: from marcie.lan ([188.100.170.200]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M7HGA-1VsUH30nfa-00x7In for ; Mon, 04 Nov 2013 22:32:31 +0100 User-Agent: Postbox 3.0.8 (Macintosh/20130427) Original-Newsgroups: gmane.emacs.help In-Reply-To: X-Provags-ID: V03:K0:Ea9RpEwEHKL+DVZfKsItKcwG4L1i33o5wL9hqoB317FZkicrIIb DcWlSgCttTqgVNFCbDQQfF7gWOL9WEegn34sA93fzVY9d6eQErz73CdmZ+9XZ8V87uCS9td VK1bI6bjD2q6GPlfR7FgENP5Yt7Wjj+bj0MjSnDD5958zvzxE2V0AxRarMKD719uAKwsGvN bu0reQ5GUd7c+MEi1wrlA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94333 Archived-At: Johan Andersson wrote: > Well, the thing is that I don't want to install it there. I guess it's not > possible to compile Emacs, archive it, move to another machine and there > "make install" to the desired prefix? Hm. On Windows, you can just unpack the zip file in any directory and run it from there. So there must be code in Emacs that knows to find the other directories based on where you unzipped the zip file. But I confess that I don't know any details. At least load-path and data-directory need to be set to the correct values, I don't know how that works. But you could study the source code to see. However, it may be easier if you just designate a specific directory to be the root directory of your packages, then tell folks to make sure that directory exists. Or you tell them to create a symlink pointing to the real Emacs. For example, if you say that /opt/sw/ is the root directory that packages expect, then folks can install in /home/mumble/programs/emacs-23.4 and create a symlink /opt/sw/emacs pointing to /home/mumble/programs/emacs-23.4 and off they go. (Or they install in /opt/sw/emacs in the first place; this may be even easier.) Sorry that I've not invested the time to study the source code myself. ./kai