all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: epowell <epowell1@med.miami.edu>
To: Help-gnu-emacs@gnu.org
Subject: Re: Load ESS lisp file from user directory instead of from shared location
Date: Tue, 28 Dec 2010 12:03:46 -0800 (PST)	[thread overview]
Message-ID: <30547016.post@talk.nabble.com> (raw)
In-Reply-To: <87pqsmrg7z.fsf@puma.rapttech.com.au>


Here's where I'm at now: 

By examining the load-path variable, I was able to determine that the
appropriate subdirectories were added to my load-path (e.g. ess-5.12), but I
didn't take account of the fact that all the lisp files were in a further
sub-directory of that.  This also explains why the list-load-path-shadows
command was not picking up a conflict between my ess files and those on the
shared location.  

I updated my .emacs file with: (add-to-list 'load-path
"~/elisp/ess-5.12/lisp") and now when I do list-load-path-shadows I get a
ton of messages about my ess files hiding the ones in the shared location.  

Unfortunately, the ess in the shared location still gets loaded over mine,
though.  I think this could be because there is a site-start.el file that
calls (require 'ess-site), and since that file gets read before my .emacs
file adds new locations to load-path, that could explain the problem. 
Still, I'm not sure how to fix it.

I am aware of the --no-site-file argument that can be used when invoking
emacs, but I was hoping I could find a solution that wouldn't compromise all
the other things done by site-start.el.

Thanks in advance!
-- 
View this message in context: http://old.nabble.com/Load-ESS-lisp-file-from-user-directory-instead-of-from-shared-location-tp30541254p30547016.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




  reply	other threads:[~2010-12-28 20:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4.1293482217.2341.help-gnu-emacs@gnu.org>
2010-12-27 22:41 ` Load ESS lisp file from user directory instead of from shared location Tim X
2010-12-28 20:03   ` epowell [this message]
     [not found]   ` <mailman.1.1293566701.3661.help-gnu-emacs@gnu.org>
2010-12-29  0:16     ` Tim X
2010-12-29 14:58       ` epowell
2010-12-27 20:36 epowell

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=30547016.post@talk.nabble.com \
    --to=epowell1@med.miami.edu \
    --cc=Help-gnu-emacs@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.