From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: Filename problem in CEDET merge Date: Fri, 28 Aug 2009 09:55:57 -0400 Message-ID: <1251467757.31028.51.camel@projectile.siege-engine.com> References: <87fxbcvplf.fsf@cyd.mit.edu> <1251426402.31028.27.camel@projectile.siege-engine.com> <837hwoclva.fsf@gnu.org> <1251458160.31028.44.camel@projectile.siege-engine.com> <83zl9kaws3.fsf@gnu.org> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251470144 10348 80.91.229.12 (28 Aug 2009 14:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2009 14:35:44 +0000 (UTC) Cc: cyd@stupidchicken.com, zappo@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 28 16:35: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 1Mh2YB-0002Hh-Ri for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2009 16:35:36 +0200 Original-Received: from localhost ([127.0.0.1]:43159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh2YB-0005ga-8A for ged-emacs-devel@m.gmane.org; Fri, 28 Aug 2009 10:35:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mh1vk-0004x9-US for emacs-devel@gnu.org; Fri, 28 Aug 2009 09:55:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mh1vi-0004vn-Tv for emacs-devel@gnu.org; Fri, 28 Aug 2009 09:55:52 -0400 Original-Received: from [199.232.76.173] (port=35682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mh1vi-0004vR-H3 for emacs-devel@gnu.org; Fri, 28 Aug 2009 09:55:50 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:42669 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mh1ve-0001Si-HS; Fri, 28 Aug 2009 09:55:47 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n7SDtvEo011578; Fri, 28 Aug 2009 09:55:57 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n7SDtvIk011577; Fri, 28 Aug 2009 09:55:57 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: <83zl9kaws3.fsf@gnu.org> X-Mailer: Evolution 2.26.1 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:114752 Archived-At: On Fri, 2009-08-28 at 16:33 +0300, Eli Zaretskii wrote: > > From: "Eric M. Ludlam" > > Cc: cyd@stupidchicken.com, zappo@gnu.org, emacs-devel@gnu.org > > Date: Fri, 28 Aug 2009 07:16:00 -0400 > > > > > > (require 'hack/fooble) > > > > > > > > and Emacs finds it and loads it. This could be a magic way to have > > > > "long" file names on DOS. Just providing 'fooble won't work. > > > > > > This might work for `require', but I don't think it will work for > > > `load' (e.g., in ~/.emacs). > > > > Load still works with my example, as: > > > > (load "hack/fooble") > > Perhaps I don't understand your suggestion. Can you please tell how > will this work with the original files in CEDET that prompted Yidong > to start this thread? Sure, The file set like this: semantic.el semantic-lex.el semantic-analyze.el semantic-analyze-debug.el semantic-analyze-fcn.el semantic-analyze-refs.el would end up as: semantic.el semantic/lex.el semantic/analyze.el semantic/analyze/debug.el semantic/analyze/fcn.el semantic/analyze/refs.el which would show up in requires as: (require 'semantic) (require 'semantic/lex) (require 'semantic/analyze) (require 'semantic/analyze/debug.el) (require 'semantic/analyze/fcn) (require 'semantic/analyze/refs) but this code would not work: (require 'lex) (require 'fcn) because those other directories would not be on the path. Eric