From f208cd4e030582e317568b41b33f2c4af4c62402 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 14 Nov 2017 17:58:47 -0500 Subject: [PATCH] Move customize-stuff out of init.el --- custom.el | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++ init.el | 102 ++---------------------------------------------------- 2 files changed, 102 insertions(+), 100 deletions(-) create mode 100644 custom.el diff --git a/custom.el b/custom.el new file mode 100644 index 0000000..b2d343e --- /dev/null +++ b/custom.el @@ -0,0 +1,100 @@ +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; 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. + '(TeX-complete-word (quote dabbrev-expand-helper)) + '(TeX-fold-preserve-comments t) + '(TeX-fold-type-list (quote (env))) + '(TeX-newline-function (quote reindent-then-newline-and-indent)) + '(auto-save-file-name-transforms (quote ((".*" "~/.emacs.d/autosaves/\\1" t)))) + '(backup-directory-alist (quote ((".*" . "~/.emacs.d/backup/")))) + '(bibretrieve-backends (quote (("msn" . 9) ("mrl" . 8) ("arxiv" . 5)))) + '(bsn-backends (quote (msn))) + '(case-fold-search t) + '(compilation-auto-jump-to-first-error t) + '(compilation-skip-threshold 2) + '(current-language-environment "English") + '(custom-safe-themes + (quote + ("8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" default))) + '(default-input-method "rfc1345") + '(delete-active-region nil) + '(delete-selection-mode nil) + '(flyspell-duplicate-distance -1) + '(flyspell-mark-duplications-flag t) + '(font-latex-fontify-sectioning (quote color)) + '(frame-background-mode (quote dark)) + '(global-font-lock-mode t nil (font-lock)) + '(helm-su-or-sudo "su") + '(hl-sexp-background-colors (quote ("#395959"))) + '(ibuffer-use-other-window t) + '(magit-save-repository-buffers (quote dontask)) + '(org-agenda-files (quote ("~/org/notes.org" "~/org/orgzly/work.org"))) + '(org-agenda-show-inherited-tags (quote always)) + '(org-catch-invisible-edits (quote smart)) + '(org-clock-mode-line-total (quote current)) + '(org-icalendar-categories (quote (all-tags category))) + '(org-icalendar-include-todo t) + '(org-indent-mode-turns-on-hiding-stars nil) + '(org-mobile-files + (quote + (org-agenda-files "/home/jacopods/org/spesa.org" "/home/jacopods/org/notes.org" "/home/jacopods/dropbox.utoronto/orgzly/work.org"))) + '(org-pomodoro-long-break-sound "/home/jacopods/tick.wav") + '(org-pomodoro-play-sounds nil) + '(org-pomodoro-play-ticking-sounds t) + '(org-pomodoro-short-break-sound "/home/jacopods/tick.wav") + '(org-pomodoro-ticking-sound "/home/jacopods/tick.wav") + '(org-refile-targets (quote ((org-agenda-files :level . 1)))) + '(parens-require-spaces nil) + '(safe-local-variable-values + (quote + ((eval add-hook + (quote before-save-hook) + (quote org-icalendar-export-to-ics) + nil t) + (eval add-hook + (quote before-save-hook) + (quote org-export-icalendar-this-file) + nil t) + (TeX-master . notes\.tex) + (bookmark-default-file . "./emacs.bmk")))) + '(smart-tab-completion-functions-alist + (quote + ((emacs-lisp-mode . lisp-complete-symbol) + (text-mode . dabbrev-completion) + (latex-mode . TeX-complete-symbol)))) + '(truncate-partial-width-windows nil) + '(visible-mark-inhibit-trailing-overlay t)) + +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; 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. + '(bold ((t (:weight normal)))) + '(error ((t (:foreground "#d33682 +" :inverse-video t)))) + '(fixed-pitch ((t (:family "Bitstream Vera Sans Mono")))) + '(font-latex-math-face ((t (:foreground "cornsilk3")))) + '(helm-source-header ((t (:inherit helm-header :background "#22083397778B" :foreground "white" :weight bold)))) + '(highlight ((t (:background "Darkslategray")))) + '(hl-line ((t (:background "#303030")))) + '(hl-sexp-face ((t (:underline t))) t) + '(italic ((((supports :underline t)) nil))) + '(linum-highlight-face ((t (:inherit (hl-line default))))) + '(magit-diff-file-heading ((t nil))) + '(magit-section-heading ((t (:foreground "LightGoldenrod2")))) + '(magit-section-secondary-heading ((t nil))) + '(magit-signature-bad ((t (:foreground "red")))) + '(menu ((t (:inverse-video t)))) + '(mode-line ((t (:background "grey25" :foreground "grey80" :weight normal)))) + '(mode-line-inactive ((t (:inherit mode-line :background "grey10" :foreground "grey50" :weight normal)))) + '(mouse ((t (:background "orchid")))) + '(org-pomodoro-mode-line ((t (:foreground "tomato3")))) + '(paren-face-match ((t (:background "turquoise" :foreground "black")))) + '(region ((t (:inherit highlight)))) + '(shadow ((t (:foreground "grey60")))) + '(tooltip ((t (:inherit default :background "lightyellow" :foreground "black" :foundry "xos4" :family "terminus")))) + '(variable-pitch ((t (:family "default")))) + '(visible-mark-face ((t (:background "goldenrod" :foreground "#182828"))))) diff --git a/init.el b/init.el index 37ff3d2..6faaaf3 100644 --- a/init.el +++ b/init.el @@ -4,106 +4,8 @@ ;; You may delete these explanatory comments. (package-initialize) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; 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. - '(TeX-complete-word (quote dabbrev-expand-helper)) - '(TeX-fold-preserve-comments t) - '(TeX-fold-type-list (quote (env))) - '(TeX-newline-function (quote reindent-then-newline-and-indent)) - '(auto-save-file-name-transforms (quote ((".*" "~/.emacs.d/autosaves/\\1" t)))) - '(backup-directory-alist (quote ((".*" . "~/.emacs.d/backup/")))) - '(bibretrieve-backends (quote (("msn" . 9) ("mrl" . 8) ("arxiv" . 5)))) - '(bsn-backends (quote (msn))) - '(case-fold-search t) - '(compilation-auto-jump-to-first-error t) - '(compilation-skip-threshold 2) - '(current-language-environment "English") - '(custom-safe-themes - (quote - ("8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" default))) - '(default-input-method "rfc1345") - '(delete-active-region nil) - '(delete-selection-mode nil) - '(flyspell-duplicate-distance -1) - '(flyspell-mark-duplications-flag t) - '(font-latex-fontify-sectioning (quote color)) - '(frame-background-mode (quote dark)) - '(global-font-lock-mode t nil (font-lock)) - '(helm-su-or-sudo "su") - '(hl-sexp-background-colors (quote ("#395959"))) - '(ibuffer-use-other-window t) - '(magit-save-repository-buffers (quote dontask)) - '(org-agenda-files (quote ("~/org/notes.org" "~/org/orgzly/work.org"))) - '(org-agenda-show-inherited-tags (quote always)) - '(org-catch-invisible-edits (quote smart)) - '(org-clock-mode-line-total (quote current)) - '(org-icalendar-categories (quote (all-tags category))) - '(org-icalendar-include-todo t) - '(org-indent-mode-turns-on-hiding-stars nil) - '(org-mobile-files - (quote - (org-agenda-files "/home/jacopods/org/spesa.org" "/home/jacopods/org/notes.org" "/home/jacopods/dropbox.utoronto/orgzly/work.org"))) - '(org-pomodoro-long-break-sound "/home/jacopods/tick.wav") - '(org-pomodoro-play-sounds nil) - '(org-pomodoro-play-ticking-sounds t) - '(org-pomodoro-short-break-sound "/home/jacopods/tick.wav") - '(org-pomodoro-ticking-sound "/home/jacopods/tick.wav") - '(org-refile-targets (quote ((org-agenda-files :level . 1)))) - '(parens-require-spaces nil) - '(safe-local-variable-values - (quote - ((eval add-hook - (quote before-save-hook) - (quote org-icalendar-export-to-ics) - nil t) - (eval add-hook - (quote before-save-hook) - (quote org-export-icalendar-this-file) - nil t) - (TeX-master . notes\.tex) - (bookmark-default-file . "./emacs.bmk")))) - '(smart-tab-completion-functions-alist - (quote - ((emacs-lisp-mode . lisp-complete-symbol) - (text-mode . dabbrev-completion) - (latex-mode . TeX-complete-symbol)))) - '(truncate-partial-width-windows nil) - '(visible-mark-inhibit-trailing-overlay t)) - -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; 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. - '(bold ((t (:weight normal)))) - '(error ((t (:foreground "#d33682 -" :inverse-video t)))) - '(fixed-pitch ((t (:family "Bitstream Vera Sans Mono")))) - '(font-latex-math-face ((t (:foreground "cornsilk3")))) - '(helm-source-header ((t (:inherit helm-header :background "#22083397778B" :foreground "white" :weight bold)))) - '(highlight ((t (:background "Darkslategray")))) - '(hl-line ((t (:background "#303030")))) - '(hl-sexp-face ((t (:underline t))) t) - '(italic ((((supports :underline t)) nil))) - '(linum-highlight-face ((t (:inherit (hl-line default))))) - '(magit-diff-file-heading ((t nil))) - '(magit-section-heading ((t (:foreground "LightGoldenrod2")))) - '(magit-section-secondary-heading ((t nil))) - '(magit-signature-bad ((t (:foreground "red")))) - '(menu ((t (:inverse-video t)))) - '(mode-line ((t (:background "grey25" :foreground "grey80" :weight normal)))) - '(mode-line-inactive ((t (:inherit mode-line :background "grey10" :foreground "grey50" :weight normal)))) - '(mouse ((t (:background "orchid")))) - '(org-pomodoro-mode-line ((t (:foreground "tomato3")))) - '(paren-face-match ((t (:background "turquoise" :foreground "black")))) - '(region ((t (:inherit highlight)))) - '(shadow ((t (:foreground "grey60")))) - '(tooltip ((t (:inherit default :background "lightyellow" :foreground "black" :foundry "xos4" :family "terminus")))) - '(variable-pitch ((t (:family "default")))) - '(visible-mark-face ((t (:background "goldenrod" :foreground "#182828"))))) +(setq custom-file "~/.emacs.d/custom.el") +(load custom-file 'noerror) (add-to-list 'custom-theme-load-path "/home/jacopods/clones/emacs-color-theme-solarized") (load-theme 'solarized t)