fresh pull failed to load my config. (5e97788) #405

Closed
yyr opened this Issue Sep 25, 2011 · 9 comments

Comments

Projects
None yet
2 participants
Collaborator

yyr commented Sep 25, 2011

backtrace.

Debugger entered--Lisp error: (void-variable el-get)
(el-get-load-package-user-init-file el-get)
(progn nil (el-get-load-package-user-init-file el-get) nil)
(lambda nil (progn nil (el-get-load-package-user-init-file el-get) nil))()
funcall((lambda nil (progn nil (el-get-load-package-user-init-file el-get) nil)))
(if (not (equal file (quote "/home/yagnesh/.emacs.d/init-el-get.el"))) nil (remove-hook (quote after-load-functions) (quote eval-after-load-helper)) (funcall (quote (lambda nil (progn nil (el-get-load-package-user-init-file el-get) nil)))))
eval-after-load-helper("/home/yagnesh/.emacs.d/init-el-get.el")
run-hook-with-args(eval-after-load-helper "/home/yagnesh/.emacs.d/init-el-get.el")
do-after-load-evaluation("/home/yagnesh/.emacs.d/init-el-get.el")
load-with-code-conversion("/home/yagnesh/.emacs.d/init-el-get.el" "/home/yagnesh/.emacs.d/init-el-get.el" nil t)
require(init-el-get)
eval-buffer(#<buffer load> nil "/home/yagnesh/.emacs.d/init.el" nil t) ; Reading at buffer position 1741
load-with-code-conversion("/home/yagnesh/.emacs.d/init.el" "/home/yagnesh/.emacs.d/init.el" t t)
load("/home/yagnesh/.emacs.d/init" t t)

#[0 "�\205\262

Collaborator

yyr commented Sep 25, 2011

where as stable 3.1 working fine

yyr closed this Sep 25, 2011

yyr reopened this Sep 25, 2011

Collaborator

yyr commented Sep 25, 2011

sorry I didn't mean to close the issue.

Owner

dimitri commented Sep 26, 2011

I had problems with byte-compiling the new el-get, that apparently is still broken somehow. Could you check your el-get.elc file is not the old one, Emacs would then load that rather than the new files, and then messes it up.

Collaborator

yyr commented Sep 27, 2011

no, el-get directory is clean.

if i comment out this single line (https://github.com/dimitri/el-get/blob/master/el-get.el#L415) then my
configurations are working fine.

Owner

dimitri commented Sep 27, 2011

Oh, so I think you're experiencing a file name clash issue. El-get will now try to load init-.el for all packages, if `el-get-user-package-directory' is non-nil. Are you using that feature? I can see your main file is named init-el-get.el, please try renaming it, too.

Collaborator

yyr commented Sep 28, 2011

hmm.. I see I have el-get-is-lazy enabled so that its calling the defun el-get-load-package-user-init-file.

I have my init.el splitted into several init-package.el files. is it possible to make init-file-name variable (in the defun
el-get-load-package-user-init-file) user configurable.? or should I rename all of my config files.?

what I dont understand is why is it complaining now.? (not with 3.1)

Owner

dimitri commented Sep 28, 2011

I just applied a supposed-fix, please try again and tell me

Collaborator

yyr commented Sep 28, 2011

yup, it is fixed.. thanks. please commit it to the master

yyr closed this Sep 28, 2011

Owner

dimitri commented Sep 28, 2011

Pushed to master, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment