From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Proposal: directory-slash in library names Date: Thu, 07 Jan 2010 06:12:43 +0200 Message-ID: <83zl4qblj8.fsf@gnu.org> References: <656355bd369f9ef7dc6cb176159ac6eb.squirrel@mail.panix.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1262837728 7471 80.91.229.12 (7 Jan 2010 04:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2010 04:15:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Tom Breton (Tehom)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 07 05:15:21 2010 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 1NSjmJ-00056b-3l for ged-emacs-devel@m.gmane.org; Thu, 07 Jan 2010 05:15:19 +0100 Original-Received: from localhost ([127.0.0.1]:33216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSjmJ-0005f2-BF for ged-emacs-devel@m.gmane.org; Wed, 06 Jan 2010 23:15:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSjln-0005WJ-VA for emacs-devel@gnu.org; Wed, 06 Jan 2010 23:14:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSjlj-0005Uc-5q for emacs-devel@gnu.org; Wed, 06 Jan 2010 23:14:47 -0500 Original-Received: from [199.232.76.173] (port=52913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSjlj-0005UU-0N for emacs-devel@gnu.org; Wed, 06 Jan 2010 23:14:43 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61329) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSjli-0007UN-Mh for emacs-devel@gnu.org; Wed, 06 Jan 2010 23:14:42 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KVU00300ZMXFU00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 07 Jan 2010 06:14:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.222.44]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KVU002H5ZSGOMC0@a-mtaout22.012.net.il>; Thu, 07 Jan 2010 06:14:41 +0200 (IST) In-reply-to: <656355bd369f9ef7dc6cb176159ac6eb.squirrel@mail.panix.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:119554 Archived-At: > Date: Wed, 6 Jan 2010 18:08:15 -0500 > From: "Tom Breton (Tehom)" > > > I experimented and it already does the right thing on GNU/Linux. One > can write: > > : (require 'dir1/dir2/feature) > > and emacs will load-file "feature.el" from "dir1/dir2" beneath any > directory in load-path. > > I cannot test it on other systems, but from the C source, it seems as > though it will work on any system that `expand-file-name' works on. > That apparently translates dir separators, eg it calls > CORRECT_DIR_SEPS for WIN_NT. Not only does it work on all platforms, we already use it with CEDET. So if you needed an official blessing, you already have it, I think.