From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Compile Mode and "host" Emacs Date: Wed, 30 Oct 2013 13:43:31 +0900 Message-ID: <87eh73tll8.fsf@uwakimon.sk.tsukuba.ac.jp> References: <874n80l0b3.fsf@nbtrap.com> <874n80w7cl.fsf@nbtrap.com> <87wqkwurtb.fsf@nbtrap.com> <87sivkurai.fsf@nbtrap.com> <87a9hsuqjk.fsf@nbtrap.com> <87zjpstb6g.fsf@nbtrap.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1383108234 23342 80.91.229.3 (30 Oct 2013 04:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2013 04:43:54 +0000 (UTC) Cc: Nathan Trapuzzano , emacs-devel@gnu.org To: Sebastian Wiesner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 05:43:56 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 1VbNdM-00038w-7e for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 05:43:56 +0100 Original-Received: from localhost ([::1]:50499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNdL-0006GD-Pq for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2013 00:43:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNdC-0006Fx-Ic for emacs-devel@gnu.org; Wed, 30 Oct 2013 00:43:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbNd5-0005Dd-92 for emacs-devel@gnu.org; Wed, 30 Oct 2013 00:43:46 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:56955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbNd4-0005Ck-UH for emacs-devel@gnu.org; Wed, 30 Oct 2013 00:43:39 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 605999707DD; Wed, 30 Oct 2013 13:43:31 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 549111A287F; Wed, 30 Oct 2013 13:43:31 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" 182d01410b8d XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 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:164675 Archived-At: Sebastian Wiesner writes: > > Sorry, I don't follow. If asking your users to temporarily add > > something to their initialization files is an option, why not: > > > > (setenv "EMACS_EXE_PATH" > > (file-truename (concat (file-name-as-directory > > invocation-directory) > > invocation-name))) > > See, I can ask them, or better, "advise" them, but I can't actually > rely upon them, can I? There is still a chance that the user lacks > this setting, or (even worse) has it wrong, isn't there? Yes. However, if your users all use an organizationally-supplied Emacs as you imply, you can put it in site-start.el in your distribution. Inhibiting site-start.el is rather uncommon, so this should do the trick for you.