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: .emacs not loading .el library Date: Wed, 8 Aug 2012 00:56:36 +0200 Message-ID: <3D918720-592E-4F6D-B3BC-627CFCD793D0@Web.DE> References: <1344378988197-260860.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344380213 25700 80.91.229.3 (7 Aug 2012 22:56:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 22:56:53 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: drain Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 00:56:52 2012 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 1Syshi-0007VS-9m for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 00:56:46 +0200 Original-Received: from localhost ([::1]:44593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syshh-0003Z8-LO for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 18:56:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syshc-0003Ys-6v for help-gnu-emacs@gnu.org; Tue, 07 Aug 2012 18:56:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syshb-0005ch-91 for help-gnu-emacs@gnu.org; Tue, 07 Aug 2012 18:56:40 -0400 Original-Received: from mout.web.de ([212.227.17.12]:63463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sysha-0005cb-VH for help-gnu-emacs@gnu.org; Tue, 07 Aug 2012 18:56:39 -0400 Original-Received: from [192.168.178.8] ([81.210.160.98]) by smtp.web.de (mrweb003) with ESMTPA (Nemesis) id 0Lcxw8-1TPB1p01yK-00imuH; Wed, 08 Aug 2012 00:56:37 +0200 In-Reply-To: <1344378988197-260860.post@n5.nabble.com> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:jl8kGJHnvc2obWOk8pQ5Xm8KQ1Njll+l8V3RVSlaOYx GCbVH65+Nyz63McuR2THSMy4K5Jl07TWWQFX8vpjH7pyryu2nG EkW03UX+no/af2/W2YtbTQ9pR9B//RDHDrke1BuAgv1rhZC1xv lcncvJbDBsmnKFcZPlmRKS7PN0hQO/bIhodYV52Ei3e2EXraM5 vu7Hs84S2xKCd16/c+wdg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.12 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:86243 Archived-At: Am 08.08.2012 um 00:36 schrieb drain: > (load "~/where/my/keybinding/configs/are.el") >=20 > I have eight of these located in the same directory, and wanted to = load them > all with one line of code in my .emacs: >=20 > (add-to-list 'load-path "/path/to/my/lisp/library") In case "/path/to/my/lisp/library" is the same path as = "~/where/my/keybinding/configs" then the last statement allows you to = perform eight times: (load "are.el" t t t) The variable load-path is similar to the environment variable PATH (or = path) for (some) shells: it allows to find a command by the file name = (for example: "ls") or to load an Elisp file by its name (for example: = "are.el") instead of using the full path name. (When PATH points to the = directory with ls, remove, compile, why isn't the shell endlessly = ls'sing, removing, and compiling?) -- Greetings Pete To be is to do. =96 I. Kant To do is to be. =96 A. Sartre Yabba-Dabba-Doo! =96 F. Flintstone