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: Sun, 15 Nov 2009 17:38:22 -0500 Message-ID: References: <6cd6de210911110901v24307163i253e69e89c72c9e@mail.gmail.com> <6cd6de210911140744t75b84417udfa6921cc8fe424f@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 1258324765 24592 80.91.229.12 (15 Nov 2009 22:39:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2009 22:39:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rocky Bernstein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 15 23:39:18 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 1N9nkc-0005KN-52 for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 23:39:18 +0100 Original-Received: from localhost ([127.0.0.1]:50262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9nkb-0005Iq-HG for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 17:39:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9njm-0004nP-Go for emacs-devel@gnu.org; Sun, 15 Nov 2009 17:38:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9njj-0004kg-1D for emacs-devel@gnu.org; Sun, 15 Nov 2009 17:38:26 -0500 Original-Received: from [199.232.76.173] (port=44560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9nji-0004kb-QF for emacs-devel@gnu.org; Sun, 15 Nov 2009 17:38:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:39146) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N9nji-0007z3-I0 for emacs-devel@gnu.org; Sun, 15 Nov 2009 17:38:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N9nji-0007Ir-CF; Sun, 15 Nov 2009 17:38:22 -0500 In-reply-to: <6cd6de210911140744t75b84417udfa6921cc8fe424f@mail.gmail.com> (message from Rocky Bernstein on Sat, 14 Nov 2009 10:44:01 -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:117019 Archived-At: So what require-relative and load-relative allow one to do is create these little independent units without the overhead of using a more elaborate packaging systems. I do not follow your point. I think I understand what you mean by a program with subparts. Can you explain why you think `require-relative' is particularly helpful for that? That's in fact what I have done. The only "primitive" needed is Ruby's __FILE__ which is the same thing as the C preprocessor __FILE__. Why do you think that making it relative to the location of the loading file is particularly necessary?