[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs not loading package via load-path
From: |
Ferdinand |
Subject: |
Re: emacs not loading package via load-path |
Date: |
Wed, 8 Aug 2012 23:47:17 +0200 |
> These paths are not the same, and I don't know if that's an error in
> your email or in your .emacs.
sorry, that was a typo.
I meant to write:
>> (add-to-list 'load-path "~/documents/emacs/load on startup/ess/lisp/")
and
>> (load "~/documents/emacs/load on startup/ess/lisp/ess-site.el")
On Aug 8, 2012, at 11:34 PM, Jack Kelly <jack@jackkelly.name> wrote:
> On Thu, Aug 9, 2012 at 6:04 AM, Ferdinand <Ferdinand.Gruebler@gmx.de> wrote:
>> Hi,
>>
>> I would like to use ESS (emacs speaks statistics).
>> Therefore I put the ess-site.el in a directory that I added to the load-path
>> variable in my .emacs file:
>>
>> (add-to-list 'load-path "~/documents/emacs/load on startup/ess/lisp/")
>> (require ’ess-site)
>>
>>
>> This doesn't work. I get an error on startup (Symbol's value as variable is
>> void: ’ess-site)
>> and I can't open an R session which tells me that the crucial .el file was
>> not loaded.
>>
>> When I load the ess-site.el manually or add this to .emacs:
>> (load "~/documents/sonstiges/emacs/load on startup/ess/lisp/ess-site.el")
>> it all works fine.
>
> These paths are not the same, and I don't know if that's an error in
> your email or in your .emacs. (The second has "sonstiges" between
> "documents" and "emacs".)
>
> -- Jack