From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: byte-compile-file: emacs vs the command line. Date: Mon, 30 Dec 2013 20:27:19 +0100 Message-ID: <1DE1108B-6D86-4692-B5B9-75804CB3031D@web.de> References: <877gaopphr.fsf@UlanBator.myhome.westell.com> <87zjnjzlz8.fsf@UlanBator.myhome.westell.com> <8338lb39o5.fsf@gnu.org> <87a9fi3oh6.fsf@UlanBator.myhome.westell.com> <41F08FFC-9810-4279-815E-28B6086295A2@Web.DE> <201312301623.rBUGNCKG027906@rockhopper.monmouth.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388431665 5153 80.91.229.3 (30 Dec 2013 19:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 19:27:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: R. Clayton Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 20:27:50 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 1VxiVB-0000le-I3 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 20:27:49 +0100 Original-Received: from localhost ([::1]:59563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxiVA-0006Ls-Ui for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 14:27:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxiUs-0006Lm-NI for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 14:27:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxiUl-0003qT-Cf for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 14:27:30 -0500 Original-Received: from mout.web.de ([212.227.17.11]:58834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxiUl-0003pX-39 for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 14:27:23 -0500 Original-Received: from sumac.fritz.box ([84.119.50.65]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MEEa4-1WD9to40Hw-00FT30 for ; Mon, 30 Dec 2013 20:27:21 +0100 In-Reply-To: <201312301623.rBUGNCKG027906@rockhopper.monmouth.edu> X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:riIX7JIm/u4HC9TurVb5hYiz6JIzY4eT+FbRkwlBsLCcybNKa6s tPYjUCa9sKcf2VtiT74UvNcf2FnyOEUZxTlyOj04gW51017ZB8yt2qQUZ6NlLxgPE/aFtBd qlMBu/VHthYWD3v7VVY5vWthiCbg9HeBq18ZLKLI0HLUBe8lsCEBgXDVHN9zrpSnlWIkWSi L4JoYFEwV/8F/ogoewttg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.11 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:95204 Archived-At: Am 30.12.2013 um 17:23 schrieb R. Clayton: > Running batch emacs essentially uses compile-time > defaults, which I've already established can't find the file being = required. >=20 >> And if you are building GNU Emacs yourself you can configure it with >> --enable-locallisppath=3D so that it = will find >> all Emacs Lisp repositories ion your system.=20 >=20 > True, but compared to calling an extra elisp function, building emacs = with > special purpose defaults seems way over the top to me, and not = something I want > to do every time I have a new directory of elisp code to search for. OK! Then just try to add all missing extra paths to directories with = local Emacs Lisp additions to load-path in the system-wide init file, = site-start.el. I think in batch mode this file is loaded because 'emacs = --help' tells that --batch works like -q or --no-init-file. When you launch GNU Emacs with -Q you can check the compile-time value = of load-path. I think in any of these directories you can create the = site-run-file. Then determine the missing paths =96 if you haven't done = yet =96 and move from your personal init file the lines which extend = load-path to the site-run-file! -- Greetings Pete When confronted with actual numbers, a mathematician is at a loss. =96 Steffen Hokland