From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Installing matlab mode under Windows XP
Date: Wed, 22 Nov 2006 09:29:23 -0700 [thread overview]
Message-ID: <ek1tui$6o3$1@sea.gmane.org> (raw)
In-Reply-To: <nud57gcfs6.fsf@xoc2.stanford.EDU>
Glenn Morris wrote:
> Kevin Rodgers wrote:
>
>> Then create a subdirs.el file in the directory (e.g. ~/emacs/subdirs.el)
>> with these contents:
>>
>> (if (fboundp 'normal-top-level-add-subdirs-to-load-path)
>> (normal-top-level-add-subdirs-to-load-path))
>
> Will that actually do anything in this case? I thought that because of
> the order in which Emacs does things at startup, any additions made to
> load-path in ~/.emacs don't get scanned for subdirs.el files. At least
> this was the case three years ago:
>
> http://lists.gnu.org/archive/html/emacs-devel/2003-04/msg00315.html
Indeed, a simple experiment shows you're correct. Sorry about that!
So OP has to do it explicitly in ~/.emacs:
(setq load-path (cons "~/emacs" load-path))
(let ((default-directory "~/emacs"))
(normal-top-level-add-subdirs-to-load-path))
--
Kevin
prev parent reply other threads:[~2006-11-22 16:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 14:20 Installing matlab mode under Windows XP schnurpfelkamel
2006-11-20 20:42 ` Eli Zaretskii
2006-11-20 20:50 ` Perry Smith
2006-11-21 16:36 ` Kevin Rodgers
[not found] ` <mailman.953.1164127222.2155.help-gnu-emacs@gnu.org>
2006-11-22 3:38 ` Glenn Morris
2006-11-22 16:29 ` Kevin Rodgers [this message]
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='ek1tui$6o3$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.