--- crashing-init.el 2018-01-19 09:48:16.291047100 -0500 +++ not-crashing-init.el 2018-01-19 09:48:25.204198300 -0500 @@ -6,9 +6,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(ansi-color-names-vector - ["#212526" "#ff4b4b" "#b4fa70" "#fce94f" "#729fcf" "#e090d7" "#8cc4ff" "#eeeeec"]) - '(custom-enabled-themes (quote (org-beautify-theme manoj-dark))) + '(custom-enabled-themes (quote (manoj-dark))) '(custom-safe-themes (quote ("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" "dcf7154867ba67b250fe2c5cdc15a7d170acd9cbe6707cc36d9dd1462282224d" "05fd42bef42991c45ecb17ecad1ff38c10e8faac51efea44f0782bdaebaf4211" default))) @@ -64,7 +62,6 @@ (quote (yasnippet extend-dnd volatile-highlights tabbar-ruler solarized-theme rainbow-mode magit linum-off keyfreq info+ flx-ido smex ido-vertical-mode ido-ubiquitous golden-ratio flycheck fill-column-indicator evil-numbers ess-smart-underscore electric-operator polymode ess dired+ auto-highlight-symbol anzu ergoemacs-status org-plus-contrib org-edna gnorb bbdb turing-machine org-sticky-header org-bookmark-heading org-bullets hyperbole hacker-typer all-the-icons all-the-icons-gnus all-the-icons-ivy dired-icon pc-bufsw helm auto-complete sx dashboard uimage xah-elisp-mode rainbow-delimiters async org-download yaoddmuse paradox use-package unbound ergoemacs-mode org-journal package-build shut-up epl git commander f dash s cask skeletor slime smartparens nov ahungry-theme twittering-mode hy-mode emms))) '(paradox-github-token t) - '(red "#ffffff") '(save-place t nil (saveplace)) '(send-mail-function (quote mailclient-send-it)) '(show-paren-mode t) @@ -712,37 +709,36 @@ (inferior-lisp-program "sbcl") (slime-contribs '(slime-fancy))) -(ergoemacs-package smartparens - :ensure t - :defer t - :disabled - (dolist (hook '(prog-mode-hook)) - (add-hook hook 'smartparens-mode)) - - ;; enable smartparens-mode in `eval-expression' - (defun ergoemacs-conditionally-enable-smartparens-mode () - "Enable `smartparens-mode' during `eval-expression'." - (if (eq this-command 'eval-expression) - (smartparens-mode))) - (add-hook 'minibuffer-setup-hook 'ergoemacs-conditionally-enable-smartparens-mode) - - (require 'smartparens-config) - (setq sp-show-pair-delay 0 - sp-show-pair-from-inside t ; fix paren highlighting in normal mode - sp-cancel-autoskip-on-backward-movement nil) - (define-key emacs-lisp-mode-map (kbd ")") 'sp-up-sexp) - - (defun emacsmate-smartparens-emacs-mode-hook () - "Change `sp-navigate-close-if-unbalanced' to be non-nil in emacs-buffers" - (set (make-local-variable 'sp-navigate-close-if-unbalanced) t)) +;; (ergoemacs-package smartparens +;; :ensure t +;; :defer t +;; (dolist (hook '(prog-mode-hook)) +;; (add-hook hook 'smartparens-mode)) + +;; ;; enable smartparens-mode in `eval-expression' +;; (defun ergoemacs-conditionally-enable-smartparens-mode () +;; "Enable `smartparens-mode' during `eval-expression'." +;; (if (eq this-command 'eval-expression) +;; (smartparens-mode))) +;; (add-hook 'minibuffer-setup-hook 'ergoemacs-conditionally-enable-smartparens-mode) + +;; (require 'smartparens-config) +;; (setq sp-show-pair-delay 0 +;; sp-show-pair-from-inside t ; fix paren highlighting in normal mode +;; sp-cancel-autoskip-on-backward-movement nil) +;; (define-key emacs-lisp-mode-map (kbd ")") 'sp-up-sexp) + +;; (defun emacsmate-smartparens-emacs-mode-hook () +;; "Change `sp-navigate-close-if-unbalanced' to be non-nil in emacs-buffers" +;; (set (make-local-variable 'sp-navigate-close-if-unbalanced) t)) - (add-hook 'emacs-lisp-mode-hook - 'emacsmate-smartparens-emacs-mode-hook) - (show-smartparens-global-mode +1) +;; (add-hook 'emacs-lisp-mode-hook +;; 'emacsmate-smartparens-emacs-mode-hook) +;; (show-smartparens-global-mode +1) - ;; don't create a pair with single quote in minibuffer - (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil) - (smartparens-global-mode 1)) +;; ;; don't create a pair with single quote in minibuffer +;; (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil) +;; (smartparens-global-mode 1)) (ergoemacs-package smart-mode-line :ensure nil