Skip to content

Instantly share code, notes, and snippets.

@dotemacs
Created March 19, 2011 13:23
Show Gist options
  • Select an option

  • Save dotemacs/877475 to your computer and use it in GitHub Desktop.

Select an option

Save dotemacs/877475 to your computer and use it in GitHub Desktop.
Setup with el-get.el
Warning (initialization): An error occurred while loading `/home/alex/.emacs.d/init.el':
error: el-get: *git submodule update* Could not update git submodules
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(require 'el-get)
(setq el-get-sources
'(el-get package
(:name yaml-mode
:type git
:url "git://github.com/yoshiki/yaml-mode.git"
:after (lambda ()
(autoload 'yaml-mode "yaml-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.ya?ml\\'" . yaml-mode))))
(:name nxhtml
:type git
:url "http://github.com/emacsmirror/nxhtml.git"
:load "autostart.el")
(:name rinari
:type git
:url "http://github.com/eschulte/rinari.git"
:load-path ("." "util" "util/jump")
:compile ("\\.el$" "util")
:build ("rake doc:install_info")
:info "doc"
:features rinari)
))
(el-get 'sync)
This is generated when running emacs with '--debug-init' and the above init.el:
Debugger entered--Lisp-error: (error "el-get: *git submodule update* Could not update git submodules")
signal(error ("el-get: *git submodule update* Could not update git submodules"))
error("el-get: %s %s" "*git submodule update*" "Could not update git submodules")
el-get-start-process-list("nxhtml" ((:command-name "*git submodule update*" :buffer-name "*git clone nxhtml*" :default-directory "/home/alex/.emacs.d/el-get/nxhtml/" :program "/usr/bin/git" :args ("--no-pager" "submodule" "update" "--init" "--recursive") :message "git submodule update ok" :error "Could not update git submodules")) el-get-post-install)
el-get-start-process-list("nxhtml" ((:command-name "*git clone nxhtml*" :buffer-name "*git clone nxhtml*" :default-directory "~/.emacs.d/el-get/" :program "/usr/bin/git" :args ("--no-pager" "clone" "http://github.com/emacsmirror/nxhtml.git" "nxhtml") :message "Package nxhtml installed." :error "Could not install package nxhtml.") (:command-name "*git submodule update*" :buffer-name "*git clone nxhtml*" :default-directory "/home/alex/.emacs.d/el-get/nxhtml/" :program "/usr/bin/git" :args ("--no-pager" "submodule" "update" "--init" "--recursive") :message "git submodule update ok" :error "Could not update git submodules")) el-get-post-install)
el-get-git-clone("nxhtml" "http://github.com/emacsmirror/nxhtml.git" el-get-post-install)
el-get-install("nxhtml")
el-get-install-or-init((:name nxhtml :type git :url "http://github.com/emacsmirror/nxhtml.git" :load "autostart.el") (:el-get "installed" :package "installed" :yaml-mode "required"))
#[(s) "\302 \"\207" [s p-status el-get-install-or-init] 3]((:name nxhtml :type git :url "http://github.com/emacsmirror/nxhtml.git" :load "autostart.el"))
mapc(#[(s) "\302 \"\207" [s p-status el-get-install-or-init] 3] (el-get package (:name yaml-mode :type git :url "git://github.com/yoshiki/yaml-mode.git" :after (lambda nil ... ...)) (:name nxhtml :type git :url "http://github.com/emacsmirror/nxhtml.git" :load "autostart.el") (:name rinari :type git :url "http://github.com/eschulte/rinari.git" :load-path ("." "util" "util/jump") :compile ("\\.el$" "util") :build ("rake doc:install_info") :info "doc" :features rinari)))
el-get(sync)
eval-buffer(#<buffer *load*> nil "/home/alex/.emacs.d/init.el" nil t) ; Reading at buffer position 916
load-with-code-conversion("/home/alex/.emacs.d/init.el" "/home/alex/.emacs.d/init.el" t t)
load("/home/alex/.emacs.d/init" t t)
#[nil "\205\264
Debugger entered--Lisp error: (file-error "Cannot open load file" "jump")
require(jump)
eval-buffer(#<buffer *load*<2>> nil "/home/alex/.emacs.d/el-get/rinari/rinari.el" nil t) ; Reading at buffer position 2593
load-with-code-conversion("/home/alex/.emacs.d/el-get/rinari/rinari.el" "/home/alex/.emacs.d/el-get/rinari/rinari.el" nil t)
require(rinari)
eval-buffer(#<buffer *load*> nil "/home/alex/.emacs.d/init.el" nil t) ; Reading at buffer position 965
load-with-code-conversion("/home/alex/.emacs.d/init.el" "/home/alex/.emacs.d/init.el" t t)
load("/home/alex/.emacs.d/init" t t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment