From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: relative load-file Date: Wed, 18 Nov 2009 07:10:31 -0500 Message-ID: References: <6cd6de210911110901v24307163i253e69e89c72c9e@mail.gmail.com> <6cd6de210911140744t75b84417udfa6921cc8fe424f@mail.gmail.com> <6cd6de210911151550v6f66c1begdbcda315f6f8edf5@mail.gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1258546256 7591 80.91.229.12 (18 Nov 2009 12:10:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 12:10:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rocky Bernstein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 13:10:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAjN1-0004mW-BY for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 13:10:47 +0100 Original-Received: from localhost ([127.0.0.1]:49959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAjN0-0006bY-7w for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 07:10:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAjMr-0006Zw-Pt for emacs-devel@gnu.org; Wed, 18 Nov 2009 07:10:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAjMm-0006Td-Kn for emacs-devel@gnu.org; Wed, 18 Nov 2009 07:10:36 -0500 Original-Received: from [199.232.76.173] (port=51029 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAjMm-0006TE-FP for emacs-devel@gnu.org; Wed, 18 Nov 2009 07:10:32 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:49974) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAjMm-00036T-4H for emacs-devel@gnu.org; Wed, 18 Nov 2009 07:10:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NAjMl-0003pD-Ek; Wed, 18 Nov 2009 07:10:31 -0500 In-reply-to: <6cd6de210911151550v6f66c1begdbcda315f6f8edf5@mail.gmail.com> (message from Rocky Bernstein on Sun, 15 Nov 2009 18:50:16 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117171 Archived-At: require-relative allows me to load or eval and test any one of the subparts without mucking with the load path yet ensure I am getting the right files loaded. I see. It is for when the program is NOT installed. But suppose it were enough had to add one parent directory to load-path, for instance ~/elisp, and you put all your directories of Lisp programs under that. Suppose that you specify `foo/bar', and it would find that under ~/elisp. Would that be easy and reliable enough?