all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: cyd@stupidchicken.com, zappo@gnu.org, emacs-devel@gnu.org
Subject: Re: Filename problem in CEDET merge
Date: Fri, 28 Aug 2009 09:55:57 -0400	[thread overview]
Message-ID: <1251467757.31028.51.camel@projectile.siege-engine.com> (raw)
In-Reply-To: <83zl9kaws3.fsf@gnu.org>

On Fri, 2009-08-28 at 16:33 +0300, Eli Zaretskii wrote:
> > From: "Eric M. Ludlam" <eric@siege-engine.com>
> > 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




  reply	other threads:[~2009-08-28 13:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 22:50 Filename problem in CEDET merge Chong Yidong
2009-08-28  2:26 ` Eric M. Ludlam
2009-08-28  9:45   ` Eli Zaretskii
2009-08-28 11:16     ` Eric M. Ludlam
2009-08-28 11:27       ` Miles Bader
2009-08-28 13:33       ` Eli Zaretskii
2009-08-28 13:55         ` Eric M. Ludlam [this message]
2009-08-28 14:06           ` Eli Zaretskii
2009-08-28 14:58             ` Chong Yidong
2009-08-28 15:23               ` Chong Yidong
2009-08-28 15:46                 ` Andreas Schwab
2009-08-28 15:26       ` Stefan Monnier
2009-08-28  9:42 ` Eli Zaretskii
2009-08-28 15:23   ` Stefan Monnier
2009-08-28 12:14 ` Leo
2009-08-28 13:44   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1251467757.31028.51.camel@projectile.siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=zappo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.