Skip to content

Instantly share code, notes, and snippets.

@hughwilliams94
Created November 12, 2020 12:23
Show Gist options
  • Select an option

  • Save hughwilliams94/19ffda4ad98b3713f599b05f4879d8cb to your computer and use it in GitHub Desktop.

Select an option

Save hughwilliams94/19ffda4ad98b3713f599b05f4879d8cb to your computer and use it in GitHub Desktop.
emacs --debug-init errors
Debugger entered--Lisp error: (error "Invalid version syntax: ‘’ (must start with a numb...")
signal(error ("Invalid version syntax: ‘’ (must start with a numb..."))
error("Invalid version syntax: `%s' (must start with a nu..." "")
version-to-list("")
version<("" "9.2")
byte-code("\10\203\30\0\302\303\304\11\305\"\203\23\0\10\306D\202\26\0\10\307B\"\210\302\207" [org-re-reveal-note-key-char org-version add-to-list org-structure-template-alist version< "9.2" "#+BEGIN_NOTES\n?\n#+END_NOTES" "notes"] 5)
require(org-re-reveal nil nil)
(progn (use-package-statistics-gather :init 'org-re-reveal nil) (require 'org-re-reveal nil nil) (use-package-statistics-gather :config 'org-re-reveal nil) (setq org-re-reveal-root (expand-file-name "../../" (locate-library "dist/reveal.js" t)) org-re-reveal-revealjs-version "4") t (use-package-statistics-gather :config 'org-re-reveal t) (use-package-statistics-gather :init 'org-re-reveal t))
(closure (t) nil (progn (use-package-statistics-gather :init 'org-re-reveal nil) (require 'org-re-reveal nil nil) (use-package-statistics-gather :config 'org-re-reveal nil) (setq org-re-reveal-root (expand-file-name "../../" (locate-library "dist/reveal.js" t)) org-re-reveal-revealjs-version "4") t (use-package-statistics-gather :config 'org-re-reveal t) (use-package-statistics-gather :init 'org-re-reveal t)))()
eval-after-load-helper("/home/hugh/.emacs.d/.local/straight/build-27.1/org...")
run-hook-with-args(eval-after-load-helper "/home/hugh/.emacs.d/.local/straight/build-27.1/org...")
do-after-load-evaluation("/home/hugh/.emacs.d/.local/straight/build-27.1/org...")
require(ox)
byte-code("\304\305!\210\304\306!\210\304\307!\210\304\310!\210\304\311!\210\312\313\314\315\316\10\206\37\0\317 !\"\"\210\312\313\314\320\316\10\206.\0\317 !\"\"\210..." [load-file-name org-mode-map org-ref-insert-cite-key org-ref-insert-link-function require dash f htmlize s doi-utils add-to-list load-path expand-file-name "citeproc" file-name-directory buffer-file-name "citeproc/csl" org-ref-bibtex org-ref-utils org-ref-glossary org org-element ox parsebib reftex-cite custom-declare-group org-ref nil "Customization group for org-ref." :tag "Org Ref" :group custom-declare-variable org-ref-bibliography-notes "Filename where you will put all your notes about a..." :type (choice (const nil) (file)) org-ref-notes-directory "Directory where you will put all your notes about ..." directory org-ref-default-bibliography "List of bibtex files to search for.\nYou should use..." (repeat :tag "List of bibtex files" file) org-ref-pdf-directory "Directory where pdfs are stored by key.\nPut a trai..." (choice directory (repeat directory)) org-ref-default-citation-link "cite" "The default type of citation link to use." string ...] 10)
require(org-ref-core)
byte-code("\301\302!\210\301\10!\210\303\304!\207" [org-ref-completion-library require org-ref-core provide org-ref] 2)
require(org-ref)
eval-buffer(#<buffer *load*-954486> nil "/home/hugh/.doom.d/config.el" nil t) ; Reading at buffer position 8779
load-with-code-conversion("/home/hugh/.doom.d/config.el" "/home/hugh/.doom.d/config.el" t t)
load("/home/hugh/.doom.d/config" t nomessage)
(let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage))
(condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir)))
(if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (load custom-file 'noerror (not doom-debug-mode)))
(progn (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing user config" 0 5 (face font-lock-comment-face)))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (run-hook-wrapped 'doom-before-init-modules-hook #'doom-try-run-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (load custom-file 'noerror (not doom-debug-mode))))
(if init-p (progn (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing user config" 0 5 (face font-lock-comment-face)))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (run-hook-wrapped 'doom-before-init-modules-hook #'doom-try-run-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (load custom-file 'noerror (not doom-debug-mode)))) nil)
(let* ((init-p (and t (condition-case e (let (file-name-handler-alist) (load (expand-file-name doom-module-init-file doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name doom-module-init-file doom-private-dir) doom-private-dir)))))) (if init-p (progn (if doom-debug-p (progn (let ((inhibit-message ...)) (message #("DOOM Initializing user config" 0 5 ...))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (run-hook-wrapped 'doom-before-init-modules-hook #'doom-try-run-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (load custom-file 'noerror (not doom-debug-mode)))) nil))
(progn (setq doom-init-modules-p t) (if no-config-p nil (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing core modules" 0 5 (face font-lock-comment-face)))))) (doom-initialize-core-modules)) (let* ((init-p (and t (condition-case e (let (file-name-handler-alist) (load ... t ...)) ((debug doom-error) (signal ... ...)) ((debug error) (doom--handle-load-error e ... doom-private-dir)))))) (if init-p (progn (if doom-debug-p (progn (let (...) (message ...)))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (run-hook-wrapped 'doom-before-init-modules-hook #'doom-try-run-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let (file-name-handler-alist) (load ... t ...)) ((debug doom-error) (signal ... ...)) ((debug error) (doom--handle-load-error e ... doom-private-dir))) (load custom-file 'noerror (not doom-debug-mode)))) nil)))
(if (or force-p (not doom-init-modules-p)) (progn (setq doom-init-modules-p t) (if no-config-p nil (if doom-debug-p (progn (let ((inhibit-message ...)) (message #("DOOM Initializing core modules" 0 5 ...))))) (doom-initialize-core-modules)) (let* ((init-p (and t (condition-case e (let ... ...) (... ...) (... ...))))) (if init-p (progn (if doom-debug-p (progn (let ... ...))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (run-hook-wrapped 'doom-before-init-modules-hook #'doom-try-run-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (run-hook-wrapped 'doom-init-modules-hook #'doom-try-run-hook) (condition-case e (let ... ...) (... ...) (... ...)) (load custom-file 'noerror (not doom-debug-mode)))) nil))))
doom-initialize-modules(nil)
(progn (setq doom-init-p t) (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing Doom" 0 5 (face font-lock-comment-face)))))) (progn (set-default 'exec-path doom--initial-exec-path) (set-default 'load-path doom--initial-load-path) (set-default 'process-environment doom--initial-process-environment)) (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) nil 'nomessage) (file-missing (if (equal (nth 3 e) doom-autoloads-file) (signal 'doom-error (list "Doom is in an incomplete state" "run 'doom sync' on the command line to repair it")) (signal 'doom-autoload-error e)))) (if (or (display-graphic-p) (daemonp)) (doom-load-envvars-file doom-env-file 'noerror)) (require 'core-modules) (autoload 'doom-initialize-packages "core-packages") (autoload 'doom-initialize-core-packages "core-packages") (eval-after-load 'package #'(lambda nil (require 'core-packages))) (eval-after-load 'straight #'(lambda nil (doom-initialize-packages))) (add-hook 'doom-first-input-hook #'gcmh-mode) (add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-maybe-h) (add-hook 'emacs-startup-hook #'doom-load-packages-incrementally-h) (add-hook 'hack-local-variables-hook #'doom-run-local-var-hooks-h) (add-hook 'window-setup-hook #'doom-display-benchmark-h) (let ((fn (intern (format "%s-h" 'doom-first-buffer-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn (run-hook-wrapped ... ...) (set ... nil))))) (put 'doom-first-buffer-hook 'permanent-local t) (let ((--dolist-tail-- (list 'after-find-file 'doom-switch-buffer-hook))) (while --dolist-tail-- (let ((on (car --dolist-tail--))) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (let ((fn (intern (format "%s-h" 'doom-first-file-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn (run-hook-wrapped ... ...) (set ... nil))))) (put 'doom-first-file-hook 'permanent-local t) (let ((--dolist-tail-- (list 'after-find-file 'dired-initial-position-hook))) (while --dolist-tail-- (let ((on (car --dolist-tail--))) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (let ((fn (intern (format "%s-h" 'doom-first-input-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn (run-hook-wrapped ... ...) (set ... nil))))) (put 'doom-first-input-hook 'permanent-local t) (let ((--dolist-tail-- (list 'pre-command-hook))) (while --dolist-tail-- (let ((on (car --dolist-tail--))) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (if doom-debug-p (doom-debug-mode 1)) (doom-initialize-modules force-p))
(if (or force-p (not doom-init-p)) (progn (setq doom-init-p t) (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing Doom" 0 5 (face font-lock-comment-face)))))) (progn (set-default 'exec-path doom--initial-exec-path) (set-default 'load-path doom--initial-load-path) (set-default 'process-environment doom--initial-process-environment)) (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) nil 'nomessage) (file-missing (if (equal (nth 3 e) doom-autoloads-file) (signal 'doom-error (list "Doom is in an incomplete state" "run 'doom sync' on the command line to repair it")) (signal 'doom-autoload-error e)))) (if (or (display-graphic-p) (daemonp)) (doom-load-envvars-file doom-env-file 'noerror)) (require 'core-modules) (autoload 'doom-initialize-packages "core-packages") (autoload 'doom-initialize-core-packages "core-packages") (eval-after-load 'package #'(lambda nil (require 'core-packages))) (eval-after-load 'straight #'(lambda nil (doom-initialize-packages))) (add-hook 'doom-first-input-hook #'gcmh-mode) (add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-maybe-h) (add-hook 'emacs-startup-hook #'doom-load-packages-incrementally-h) (add-hook 'hack-local-variables-hook #'doom-run-local-var-hooks-h) (add-hook 'window-setup-hook #'doom-display-benchmark-h) (let ((fn (intern (format "%s-h" 'doom-first-buffer-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn ... ...)))) (put 'doom-first-buffer-hook 'permanent-local t) (let ((--dolist-tail-- (list 'after-find-file 'doom-switch-buffer-hook))) (while --dolist-tail-- (let ((on ...)) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (let ((fn (intern (format "%s-h" 'doom-first-file-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn ... ...)))) (put 'doom-first-file-hook 'permanent-local t) (let ((--dolist-tail-- (list 'after-find-file 'dired-initial-position-hook))) (while --dolist-tail-- (let ((on ...)) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (let ((fn (intern (format "%s-h" 'doom-first-input-hook)))) (fset fn #'(lambda (&rest _) (if after-init-time (progn ... ...)))) (put 'doom-first-input-hook 'permanent-local t) (let ((--dolist-tail-- (list 'pre-command-hook))) (while --dolist-tail-- (let ((on ...)) (if (functionp on) (advice-add on :before fn) (add-hook on fn)) (setq --dolist-tail-- (cdr --dolist-tail--)))))) (if doom-debug-p (doom-debug-mode 1)) (doom-initialize-modules force-p)))
doom-initialize()
eval-buffer(#<buffer *load*> nil "/home/hugh/.emacs.d/init.el" nil t) ; Reading at buffer position 2620
load-with-code-conversion("/home/hugh/.emacs.d/init.el" "/home/hugh/.emacs.d/init.el" t t)
load("/home/hugh/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x156a5bc0cbe1>) #f(compiled-function () #<bytecode 0x156a5bc0cbf9>) t)
command-line()
normal-top-level()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment