From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: relative load-file Date: Thu, 12 Nov 2009 10:34:44 -0500 Message-ID: References: <6cd6de210911110901v24307163i253e69e89c72c9e@mail.gmail.com> <87ljic7vu9.fsf@thinkpad.tsdh.de> <6cd6de210911111126y62c7dfceqb82092c9eef9890d@mail.gmail.com> <6cd6de210911111321t1176868yba2f07ca48f6b186@mail.gmail.com> <6cd6de210911111701s5d5a989fp27386dd1379065ff@mail.gmail.com> <6cd6de210911111809j526ce8bfmcb5d57f907afff96@mail.gmail.com> <6cd6de210911120501u24047705w5caad5112db6cb45@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258041089 31376 80.91.229.12 (12 Nov 2009 15:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 15:51:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rocky Bernstein Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 16:51:22 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 1N8bxB-00083u-F9 for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2009 16:51:21 +0100 Original-Received: from localhost ([127.0.0.1]:46519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8bxA-0008En-Te for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2009 10:51:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8bhN-0003tm-G2 for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:35:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8bhI-0003pb-Du for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:35:00 -0500 Original-Received: from [199.232.76.173] (port=35847 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8bhI-0003pS-5T for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:34:56 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:6639 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8bhF-0005Lo-DR; Thu, 12 Nov 2009 10:34:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIEAGu6+0pMCpsp/2dsb2JhbACBTtt8hDwEiSg X-IronPort-AV: E=Sophos;i="4.44,728,1249272000"; d="scan'208";a="49222940" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO ceviche.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 12 Nov 2009 10:34:44 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7266470072; Thu, 12 Nov 2009 10:34:44 -0500 (EST) In-Reply-To: <6cd6de210911120501u24047705w5caad5112db6cb45@mail.gmail.com> (Rocky Bernstein's message of "Thu, 12 Nov 2009 08:01:36 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116891 Archived-At: > It is becoming clear now that this is something that can be addressed > pretty easily by making a small change to the Emacs source. However, > failing that, the mechanisms for simulating this are a little arcane. I have no idea what simple change you're talking about. >> > First, none of the examples I have given do I find really corner case. >> They work fine with the above code. > Um, no. I cited two kinds of situations that fail with the above code and > both in fact do come up. Then I may have misunderstood something. Can you state those cases again where (load (expand-file-name (file-name-directory (or load-file-name buffer-file-name)))) won't do the right thing and yet those cases do show up? Stefan