rogue
rogue copied to clipboard
Installation problems
I wasn't quite sure how to install the layer, so I cloned it into my .emacs.d:
git clone [email protected]:lepisma/rogue.git .emacs.d/layers/+emacs/rogue
and I registered it in my .spacemacs. However, after a restart I get the following wall of errors:
Error (use-package): Cannot load esi
Error (use-package): calibre/:config: Symbol’s value as variable is void: user-cloud-dir
Error (use-package): kindle/:config: Symbol’s value as variable is void: user-clippings-file
Error (use-package): obtt/:config: Symbol’s value as variable is void: user-layer-dir
Error (use-package): org-books/:config: Symbol’s value as variable is void: user-books-file
Error (use-package): Cannot load org-team
Error (use-package): poly-R/:catch: Cannot open load file: Datei oder Verzeichnis nicht gefunden, ess-mode
Error (use-package): w/:catch: Cannot open load file: Datei oder Verzeichnis nicht gefunden, org-ref
Warning (initialization): An error occurred while loading ‘/home/radek/.emacs.d/init.el’:
Symbol's value as variable is void: c-mode-base-map
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.
Here is the backtrace:
Debugger entered--Lisp error: (void-variable user-cloud-dir)
(concat user-cloud-dir "Calibre Shared")
(setq calibre-root (concat user-cloud-dir "Calibre Shared"))
(progn (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook))
(if (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (progn (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)))
(when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook))
(progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t)
(condition-case err (progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t) ((debug error) (funcall use-package--warning25 :config err)))
(condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t) (error (funcall use-package--warning25 :config err)))
(prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t) (error (funcall use-package--warning25 :config err))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package calibre" elapsed) (message "%s...done" "Configuring package calibre"))))
(let ((now (current-time))) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t) (error (funcall use-package--warning25 :config err))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package calibre" elapsed) (message "%s...done" "Configuring package calibre")))))
(if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now (current-time))) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure 'use-package--calibre--pre-config-hook) (setq calibre-root (concat user-cloud-dir "Calibre Shared")) (run-hooks 'use-package--calibre--post-config-hook)) t) (error (funcall use-package--warning25 :config err))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package calibre" elapsed) (message "%s...done" "Configuring package calibre"))))))
(prog1 (if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now (current-time))) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure ...) (setq calibre-root ...) (run-hooks ...)) t) (error (funcall use-package--warning25 :config err))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package calibre" elapsed) (message "%s...done" "Configuring package calibre")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package calibre" elapsed) (message "%s...done" "Loading package calibre"))))
(let ((now (current-time))) (message "%s..." "Loading package calibre") (prog1 (if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now (current-time))) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err (progn (when ... ... ...) t) (error (funcall use-package--warning25 :config err))) (let ((elapsed ...)) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package calibre" elapsed) (message "%s...done" "Configuring package calibre")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package calibre" elapsed) (message "%s...done" "Loading package calibre")))))
(progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--calibre--pre-init-hook) (run-hooks 'use-package--calibre--post-init-hook)) (error (funcall use-package--warning25 :init err))) (let ((now (current-time))) (message "%s..." "Loading package calibre") (prog1 (if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now (current-time))) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err (progn ... t) (error ...)) (let (...) (if ... ... ...))))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package calibre" elapsed) (message "%s...done" "Loading package calibre"))))))
(closure (t) nil (progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--calibre--pre-init-hook) (run-hooks 'use-package--calibre--post-init-hook)) (error (funcall use-package--warning25 :init err))) (let ((now (current-time))) (message "%s..." "Loading package calibre") (prog1 (if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now ...)) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err ... ...) (let ... ...)))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package calibre" elapsed) (message "%s...done" "Loading package calibre")))))))()
eval-after-load(s (progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--calibre--pre-init-hook) (run-hooks 'use-package--calibre--post-init-hook)) (error (funcall use-package--warning25 :init err))) (let ((now (current-time))) (message "%s..." "Loading package calibre") (prog1 (if (not (require 'calibre nil t)) (display-warning 'use-package (format "Cannot load %s" 'calibre) :error) (let ((now ...)) (message "%s..." "Configuring package calibre") (prog1 (condition-case-unless-debug err ... ...) (let ... ...)))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package calibre" elapsed) (message "%s...done" "Loading package calibre")))))))
(lambda nil (eval-after-load 's '(progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--calibre--pre-init-hook) (run-hooks 'use-package--calibre--post-init-hook)) (error (funcall use-package--warning25 :init err))) (let ((now (current-time))) (message "%s..." "Loading package calibre") (prog1 (if (not ...) (display-warning ... ... :error) (let ... ... ...)) (let (...) (if ... ... ...)))))))()
eval-after-load-helper("/home/radek/.emacs.d/elpa/develop/dash-functional-...")
run-hook-with-args(eval-after-load-helper "/home/radek/.emacs.d/elpa/develop/dash-functional-...")
do-after-load-evaluation("/home/radek/.emacs.d/elpa/develop/dash-functional-...")
require(dash-functional)
eval-buffer(#<buffer *load*-208174> nil "/home/radek/.emacs.d/layers/+emacs/rogue/local/kin..." nil t) ; Reading at buffer position 961
load-with-code-conversion("/home/radek/.emacs.d/layers/+emacs/rogue/local/kin..." "/home/radek/.emacs.d/layers/+emacs/rogue/local/kin..." t t)
require(kindle nil t)
(not (require 'kindle nil t))
(if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now (current-time))) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure 'use-package--kindle--pre-config-hook) (setq kindle-clipping-save-file user-clippings-file) (run-hooks 'use-package--kindle--post-config-hook)) t) (error (funcall use-package--warning218 :config err))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package kindle" elapsed) (message "%s...done" "Configuring package kindle"))))))
(prog1 (if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now (current-time))) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err (progn (when (run-hook-with-args-until-failure ...) (setq kindle-clipping-save-file user-clippings-file) (run-hooks ...)) t) (error (funcall use-package--warning218 :config err))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package kindle" elapsed) (message "%s...done" "Configuring package kindle")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle"))))
(let ((now (current-time))) (message "%s..." "Loading package kindle") (prog1 (if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now (current-time))) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err (progn (when ... ... ...) t) (error (funcall use-package--warning218 :config err))) (let ((elapsed ...)) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Configuring package kindle" elapsed) (message "%s...done" "Configuring package kindle")))))) (let ((elapsed (float-time (time-subtract (current-time) now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle")))))
(progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--kindle--pre-init-hook) (run-hooks 'use-package--kindle--post-init-hook)) (error (funcall use-package--warning218 :init err))) (let ((now (current-time))) (message "%s..." "Loading package kindle") (prog1 (if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now (current-time))) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err (progn ... t) (error ...)) (let (...) (if ... ... ...))))) (let ((elapsed (float-time (time-subtract ... now)))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle"))))))
(condition-case err (progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--kindle--pre-init-hook) (run-hooks 'use-package--kindle--post-init-hook)) (error (funcall use-package--warning218 :init err))) (let ((now (current-time))) (message "%s..." "Loading package kindle") (prog1 (if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now ...)) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err ... ...) (let ... ...)))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle")))))) ((debug error) (funcall use-package--warning218 :catch err)))
(condition-case-unless-debug err (progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--kindle--pre-init-hook) (run-hooks 'use-package--kindle--post-init-hook)) (error (funcall use-package--warning218 :init err))) (let ((now (current-time))) (message "%s..." "Loading package kindle") (prog1 (if (not (require 'kindle nil t)) (display-warning 'use-package (format "Cannot load %s" 'kindle) :error) (let ((now ...)) (message "%s..." "Configuring package kindle") (prog1 (condition-case-unless-debug err ... ...) (let ... ...)))) (let ((elapsed (float-time ...))) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle")))))) (error (funcall use-package--warning218 :catch err)))
(progn (defvar use-package--warning218 #'(lambda (keyword err) (let ((msg (format "%s/%s: %s" ... keyword ...))) (display-warning 'use-package msg :error)))) (condition-case-unless-debug err (progn (condition-case-unless-debug err (when (run-hook-with-args-until-failure 'use-package--kindle--pre-init-hook) (run-hooks 'use-package--kindle--post-init-hook)) (error (funcall use-package--warning218 :init err))) (let ((now (current-time))) (message "%s..." "Loading package kindle") (prog1 (if (not (require ... nil t)) (display-warning 'use-package (format "Cannot load %s" ...) :error) (let (...) (message "%s..." "Configuring package kindle") (prog1 ... ...))) (let ((elapsed ...)) (if (> elapsed 0.1) (message "%s...done (%.3fs)" "Loading package kindle" elapsed) (message "%s...done" "Loading package kindle")))))) (error (funcall use-package--warning218 :catch err))))
(use-package kindle :config (setq kindle-clipping-save-file user-clippings-file))
rogue/init-kindle()
funcall(rogue/init-kindle)
(let* ((pkg-name (eieio-oref pkg ':name)) (owner (car (eieio-oref pkg ':owners)))) (spacemacs-buffer/message (format "%S -> init (%S)..." pkg-name owner)) (funcall (intern (format "%S/init-%S" owner pkg-name))))
configuration-layer//configure-package(#<cfgl-package cfgl-package-156679616408>)
mapc(configuration-layer//configure-package (#<cfgl-package cfgl-package-1566795d1ef0> #<cfgl-package cfgl-package-156679684d10> #<cfgl-package cfgl-package-1566795de63c> #<cfgl-package cfgl-package-1566795b3650> #<cfgl-package cfgl-package-1566795b39b8> #<cfgl-package cfgl-package-1566795eebb8> #<cfgl-package cfgl-package-1566795c646c> #<cfgl-package cfgl-package-15667963ae4c> #<cfgl-package cfgl-package-1566795efe70> #<cfgl-package cfgl-package-1566795f008c> #<cfgl-package cfgl-package-1566795f0498> #<cfgl-package cfgl-package-156679637a18> #<cfgl-package cfgl-package-1566795aebec> #<cfgl-package cfgl-package-1566795f120c> #<cfgl-package cfgl-package-1566795f06b4> #<cfgl-package cfgl-package-1566795d22a8> #<cfgl-package cfgl-package-15667965e7a0> #<cfgl-package cfgl-package-15667966bfe0> #<cfgl-package cfgl-package-15667967ea60> #<cfgl-package cfgl-package-156679677834> #<cfgl-package cfgl-package-1566796849c4> #<cfgl-package cfgl-package-1566795b3bd4> #<cfgl-package cfgl-package-1566796847a8> #<cfgl-package cfgl-package-1566795c6678> #<cfgl-package cfgl-package-1566795f1418> #<cfgl-package cfgl-package-1566795f1884> #<cfgl-package cfgl-package-15667962fc08> #<cfgl-package cfgl-package-15667961b014> #<cfgl-package cfgl-package-1566795d2510> #<cfgl-package cfgl-package-156679653068> #<cfgl-package cfgl-package-1566795f1a90> #<cfgl-package cfgl-package-156679629764> #<cfgl-package cfgl-package-1566795f1efc> #<cfgl-package cfgl-package-15667961ab4c> #<cfgl-package cfgl-package-15667965bdac> #<cfgl-package cfgl-package-15667965f9e8> #<cfgl-package cfgl-package-1566796634c8> #<cfgl-package cfgl-package-1566795b3f20> #<cfgl-package cfgl-package-1566795f2108> #<cfgl-package cfgl-package-1566795f2464> #<cfgl-package cfgl-package-15667961a7f0> #<cfgl-package cfgl-package-156679629bcc> #<cfgl-package cfgl-package-156679670024> #<cfgl-package cfgl-package-156679670230> #<cfgl-package cfgl-package-156679660f04> #<cfgl-package cfgl-package-1566795c7d60> #<cfgl-package cfgl-package-1566796715b8> #<cfgl-package cfgl-package-1566796718f0> #<cfgl-package cfgl-package-1566795f2670> #<cfgl-package cfgl-package-15667966b5f4> ...))
(let (packages-to-configure) (let ((--dolist-tail-- packages) pkg-name) (while --dolist-tail-- (setq pkg-name (car --dolist-tail--)) (let ((pkg (configuration-layer/get-package pkg-name))) (cond ((eieio-oref pkg ':lazy-install) (spacemacs-buffer/message (format "%S ignored since it can be lazily installed." pkg-name))) ((and (eieio-oref pkg ...) (not ...)) (spacemacs-buffer/message (format "%S ignored since it has been excluded." pkg-name))) ((null (eieio-oref pkg ...)) (spacemacs-buffer/message (format "%S ignored since it has no owner layer." pkg-name))) ((not (configuration-layer//package-reqs-used-p pkg)) (spacemacs-buffer/message (format ... pkg-name))) ((not (cfgl-package-enabled-p pkg)) (spacemacs-buffer/message (format "%S is disabled." pkg-name))) (t (let (...) (if dir ...)) (if (memq ... ...) nil (configuration-layer//activate-package pkg-name)) (cond (... ...) (t ... ...))))) (setq --dolist-tail-- (cdr --dolist-tail--)))) (setq packages-to-configure (reverse packages-to-configure)) (mapc 'configuration-layer//configure-package packages-to-configure) (mapc 'configuration-layer//post-configure-package packages-to-configure))
configuration-layer//configure-packages-2((abbrev ac-ispell ace-jump-helm-line ace-link ace-window add-node-modules-path afternoon-theme aggressive-indent alchemist alect-themes all-the-icons ample-theme ample-zen-theme anaconda-mode ansi-colors anti-zenburn-theme apropospriate-theme archive-mode asm-mode attrap auctex auctex-latexmk auto-compile auto-complete auto-highlight-symbol auto-yasnippet avy badwolf-theme birds-of-paradise-plus-theme blacken bmp bookmark bracketed-paste browse-at-remote bubbleberry-theme bundler busybee-theme calibre cargo cc-mode ccls centered-cursor-mode cherry-blossom-theme chocolate-theme chronos chruby cider cider-eval-sexp-fu clang-format clean-aindent-mode ...))
configuration-layer//configure-packages((abbrev ac-ispell ace-jump-helm-line ace-link ace-window add-node-modules-path afternoon-theme aggressive-indent alchemist alect-themes all-the-icons ample-theme ample-zen-theme anaconda-mode ansi-colors anti-zenburn-theme apropospriate-theme archive-mode asm-mode async attrap auctex auctex-latexmk auto-compile auto-complete auto-highlight-symbol auto-yasnippet avy badwolf-theme bind-key bind-map birds-of-paradise-plus-theme blacken bmp bookmark bracketed-paste browse-at-remote bubbleberry-theme bundler busybee-theme calibre cargo cc-mode ccls centered-cursor-mode cherry-blossom-theme chocolate-theme chronos chruby cider ...))
configuration-layer//load()
(cond (changed-since-last-dump-p (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message "Layer list has changed since last dump.") (configuration-layer//dump-emacs)))) (spacemacs-force-dump (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "--force-dump passed on the command line or configu..." "been reloaded, forcing a redump.")) (configuration-layer//dump-emacs)))) ((spacemacs-is-dumping-p) (configuration-layer//load)) ((and (spacemacs/emacs-with-pdumper-set-p) (spacemacs-run-from-dump-p)) (configuration-layer/message "Running from a dumped file. Skipping the loading p...")) (t (configuration-layer//load) (if (spacemacs/emacs-with-pdumper-set-p) (progn (configuration-layer/message (concat "Layer list has not changed since last time. " "Skipping dumping process!"))))))
configuration-layer/load()
(let ((file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))))
(if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (let ((file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start))))))
eval-buffer(#<buffer *load*> nil "/home/radek/.emacs.d/init.el" nil t) ; Reading at buffer position 2550
load-with-code-conversion("/home/radek/.emacs.d/init.el" "/home/radek/.emacs.d/init.el" t t)
load("/home/radek/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x156678ad7401>) #f(compiled-function () #<bytecode 0x156678ad73cd>) t)
command-line()
normal-top-level()
What could I do wrong here? Also, what is the "normal" way of installing this setup?
"Normal" way you can find in setup.sh file. It assumes that you do not have cloned spacemacs.
If you already have spacemacs then execute git clone [email protected]:lepisma/rogue ~/.emacs.d/private/rogue and merge your .spacemacs file with the one in this repository.