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: Sat, 21 Nov 2009 17:52:34 -0500 Message-ID: References: <6cd6de210911110901v24307163i253e69e89c72c9e@mail.gmail.com> <6cd6de210911140744t75b84417udfa6921cc8fe424f@mail.gmail.com> <6cd6de210911151550v6f66c1begdbcda315f6f8edf5@mail.gmail.com> <6cd6de210911180539j6c921924t36a8eeda3a5a22fb@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 1258844084 5989 80.91.229.12 (21 Nov 2009 22:54:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2009 22:54:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rocky Bernstein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 21 23:54:37 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 1NByqi-0007YH-Ug for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2009 23:54:37 +0100 Original-Received: from localhost ([127.0.0.1]:51742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NByqi-0002nz-IS for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2009 17:54:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NByon-0001uG-6B for emacs-devel@gnu.org; Sat, 21 Nov 2009 17:52:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NByol-0001so-0Z for emacs-devel@gnu.org; Sat, 21 Nov 2009 17:52:36 -0500 Original-Received: from [199.232.76.173] (port=33461 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NByok-0001sj-Q4 for emacs-devel@gnu.org; Sat, 21 Nov 2009 17:52:34 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45591) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NByok-0008FD-HB for emacs-devel@gnu.org; Sat, 21 Nov 2009 17:52:34 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1NByok-0002SM-Bd; Sat, 21 Nov 2009 17:52:34 -0500 In-reply-to: <6cd6de210911180539j6c921924t36a8eeda3a5a22fb@mail.gmail.com> (message from Rocky Bernstein on Wed, 18 Nov 2009 08:39:11 -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:117472 Archived-At: I now have a better idea of what you're trying to do, and why you want this to be relative. However, it seems to me that a slightly different relative construct might be better. Instead of relative to "this file". it could be relative to "this package's top directory". To identify a directory as counting in this way, you'd put a certain file name in it. Emacs would find the containing directory which has that name. Then you could specify a file name relative to that directory. What do you think of that?