From 6fc2d436a9d9a4e33e23bba67e9be7db8cc3bbdd Mon Sep 17 00:00:00 2001 From: Blendoit Date: Wed, 22 Jul 2020 14:05:49 -0700 Subject: Relocate custom file. --- blendoit/custom/custom-file.el | 150 ----------------------------------------- blendoit/init-blendoit.org | 11 ++- init-custom.el | 145 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+), 152 deletions(-) delete mode 100644 blendoit/custom/custom-file.el create mode 100644 init-custom.el diff --git a/blendoit/custom/custom-file.el b/blendoit/custom/custom-file.el deleted file mode 100644 index 8c2039e..0000000 --- a/blendoit/custom/custom-file.el +++ /dev/null @@ -1,150 +0,0 @@ -(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. - '(ansi-color-names-vector - ["#3F3F3F" "#CC9393" "#7F9F7F" "#F0DFAF" "#8CD0D3" "#DC8CC3" "#93E0E3" "#DCDCCC"]) - '(c-default-style - (quote - ((java-mode . "java") - (awk-mode . "awk") - (other . "linux")))) - '(company-quickhelp-color-background "#4F4F4F") - '(company-quickhelp-color-foreground "#DCDCCC") - '(cua-mode t nil (cua-base)) - '(custom-enabled-themes nil) - '(custom-safe-themes - (quote - ("f56eb33cd9f1e49c5df0080a3e8a292e83890a61a89bceeaa481a5f183e8e3ef" default))) - '(fci-rule-color "#383838") - '(ibuffer-sidebar-display-column-titles t) - '(ibuffer-sidebar-display-summary t) - '(ibuffer-sidebar-width 22) - '(ledger-reports - (quote - (("bal" "%(binary) -f %(ledger-file) bal") - ("bal-USD" "%(binary) -f %(ledger-file) bal --exchange USD") - ("reg" "%(binary) -f %(ledger-file) reg") - ("net-worth" "%(binary) -f %(ledger-file) bal ^Assets ^Liabilities --exchange USD") - ("net-income" "%(binary) -f %(ledger-file) bal ^Income ^Expenses --exchange USD --depth 2 --invert") - ("payee" "%(binary) -f %(ledger-file) reg @%(payee)") - ("account" "%(binary) -f %(ledger-file) reg %(account)") - ("budget" "%(binary) -f %(ledger-file) budget --exchange USD")))) - '(line-number-mode nil) - '(mode-line-format - (quote - ("%e" mode-line-front-space mode-line-mule-info mode-line-client mode-line-modified mode-line-remote mode-line-frame-identification mode-line-buffer-identification " " - (vc-mode vc-mode) - " " mode-line-modes mode-line-misc-info mode-line-end-spaces))) - '(nrepl-message-colors - (quote - ("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3"))) - '(org-agenda-diary-file "~/org/PERSONAL/diary/diary.org") - '(org-agenda-files - (quote - ("~/.emacs.d/blendoit/init-blendoit.org" "~/org/PERSONAL/workout/workout.org" "~/org/WORK/Safran/programs/MA700/notes/MA700-notes.org_archive" "~/org/WORK/Safran/programs/MA700/notes/MA700-notes.org" "~/org/PERSONAL/diary/log.org" "~/org/WORK/Safran/programs/B787/VIP/timeline.org" "~/org/PERSONAL/diary/diary.org" "~/org/WORK/Safran/programs/WFH/WFH-notes.org_archive" "~/org/WORK/Safran/programs/WFH/WFH-notes.org" "~/org/WORK/Safran/programs/PHM/PHM-notes.org_archive" "~/org/WORK/Safran/programs/MRJ/test-fixture-status.org" "~/org/WORK/Safran/programs/MRJ/MRJ-notes.org" "~/org/WORK/Safran/programs/A220/A220-notes.org" "~/org/PERSONAL/projects/projects.org" "~/org/PERSONAL/schedule-personal.org" "~/org/WORK/Safran/schedule-Safran.org" "~/org/people.org"))) - '(org-agenda-include-diary t) - '(org-agenda-insert-diary-strategy (quote date-tree-last)) - '(org-agenda-skip-scheduled-if-deadline-is-shown (quote not-today)) - '(org-babel-load-languages - (quote - ((shell . t) - (python . t) - (plantuml . t) - (emacs-lisp . t) - (awk . t) - (ledger . t) - (gnuplot . t)))) - '(org-file-apps - (quote - ((auto-mode . emacs) - ("\\.mm\\'" . default) - ("\\.x?html?\\'" . default) - ("\\.pdf\\'" . "mupdf %s")))) - '(org-latex-classes - (quote - (("article" "\\documentclass[11pt]{article}" - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}") - ("\\paragraph{%s}" . "\\paragraph*{%s}") - ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) - ("report" "\\documentclass[11pt]{report}" - ("\\part{%s}" . "\\part*{%s}") - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) - ("book" "\\documentclass[12pt]{book}" - ("\\part{%s}" . "\\part*{%s}") - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) - ("book-blendoit" "\\documentclass[12pt]{book}" - ("\\chapter{%s}" . "\\chapter*{%s}") - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection*{%s}" . "\\subsection*{%s}") - ("\\subsubsection*{%s}" . "\\subsubsection*{%s}"))))) - '(org-latex-inactive-timestamp-format "\\textcolor{ForestGreen!60}{\\textit{%s}}") - '(org-latex-packages-alist - (quote - (("AUTO" "polyglossia" t - ("xelatex" "lualatex")) - ("AUTO" "babel" t - ("pdflatex")) - ("table,dvipsnames" "xcolor" t - ("pdflatex"))))) - '(org-latex-pdf-process - (quote - ("latexmk -pdf -f -interaction=nonstopmode -pdflatex=\"%latex\" -outdir=%o %f"))) - '(org-startup-align-all-tables t) - '(org-time-stamp-custom-formats (quote ("%d %b, %Y (%a)" . "%d %b, %Y (%a), at %H:%M"))) - '(package-selected-packages - (quote - (minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init))) - '(pdf-view-midnight-colors (quote ("#DCDCCC" . "#383838"))) - '(save-place-mode t) - '(send-mail-function (quote smtpmail-send-it)) - '(smtpmail-smtp-server "smtp.gmail.com") - '(smtpmail-smtp-service 587) - '(vc-annotate-background "#2B2B2B") - '(vc-annotate-color-map - (quote - ((20 . "#BC8383") - (40 . "#CC9393") - (60 . "#DFAF8F") - (80 . "#D0BF8F") - (100 . "#E0CF9F") - (120 . "#F0DFAF") - (140 . "#5F7F5F") - (160 . "#7F9F7F") - (180 . "#8FB28F") - (200 . "#9FC59F") - (220 . "#AFD8AF") - (240 . "#BFEBBF") - (260 . "#93E0E3") - (280 . "#6CA0A3") - (300 . "#7CB8BB") - (320 . "#8CD0D3") - (340 . "#94BFF3") - (360 . "#DC8CC3")))) - '(vc-annotate-very-old-color "#DC8CC3")) -(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. - '(default ((t (:family "Hack" :foundry "SRC" :slant normal :weight normal :height 142 :width normal)))) - '(fixed-pitch ((t (:family "Hack")))) - '(org-document-title ((t (:inherit default :weight bold :font "Liberation Sans" :height 2.0 :underline nil)))) - '(org-level-1 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.75)))) - '(org-level-2 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.5)))) - '(org-level-3 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.25)))) - '(org-level-4 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.1)))) - '(org-level-5 ((t (:inherit default :weight bold :font "Liberation Sans")))) - '(org-level-6 ((t (:inherit default :weight bold :font "Liberation Sans")))) - '(org-level-7 ((t (:inherit default :weight bold :font "Liberation Sans")))) - '(org-level-8 ((t (:inherit default :weight bold :font "Liberation Sans")))) - '(variable-pitch ((t (:family "Liberation Sans"))))) diff --git a/blendoit/init-blendoit.org b/blendoit/init-blendoit.org index 67c33d6..9d00fa0 100644 --- a/blendoit/init-blendoit.org +++ b/blendoit/init-blendoit.org @@ -47,8 +47,8 @@ customize-group . #+NAME: custom-file #+BEGIN_SRC emacs-lisp -(setq custom-file "~/.emacs.d/blendoit/custom/custom-file.el") -(load custom-file) + (setq custom-file "~/.emacs.d/init-custom.el") + (load custom-file) #+END_SRC ** Customization shortcuts @@ -508,6 +508,13 @@ These customizations enhance editor usability. (defalias 'yes-or-no-p 'y-or-n-p) #+END_SRC +This is just a better default. + +#+BEGIN_SRC emacs-lisp +(setq c-default-style "linux" + c-basic-offset 4) +#+END_SRC + ** Initial & subsequent frame size # #+BEGIN_SRC emacs-lisp diff --git a/init-custom.el b/init-custom.el new file mode 100644 index 0000000..0011f89 --- /dev/null +++ b/init-custom.el @@ -0,0 +1,145 @@ +(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. + '(ansi-color-names-vector + ["#3F3F3F" "#CC9393" "#7F9F7F" "#F0DFAF" "#8CD0D3" "#DC8CC3" "#93E0E3" "#DCDCCC"]) + '(company-quickhelp-color-background "#4F4F4F") + '(company-quickhelp-color-foreground "#DCDCCC") + '(cua-mode t nil (cua-base)) + '(custom-enabled-themes nil) + '(custom-safe-themes + (quote + ("f56eb33cd9f1e49c5df0080a3e8a292e83890a61a89bceeaa481a5f183e8e3ef" default))) + '(fci-rule-color "#383838") + '(ibuffer-sidebar-display-column-titles t) + '(ibuffer-sidebar-display-summary t) + '(ibuffer-sidebar-width 22) + '(ledger-reports + (quote + (("bal" "%(binary) -f %(ledger-file) bal") + ("bal-USD" "%(binary) -f %(ledger-file) bal --exchange USD") + ("reg" "%(binary) -f %(ledger-file) reg") + ("net-worth" "%(binary) -f %(ledger-file) bal ^Assets ^Liabilities --exchange USD") + ("net-income" "%(binary) -f %(ledger-file) bal ^Income ^Expenses --exchange USD --depth 2 --invert") + ("payee" "%(binary) -f %(ledger-file) reg @%(payee)") + ("account" "%(binary) -f %(ledger-file) reg %(account)") + ("budget" "%(binary) -f %(ledger-file) budget --exchange USD")))) + '(line-number-mode nil) + '(mode-line-format + (quote + ("%e" mode-line-front-space mode-line-mule-info mode-line-client mode-line-modified mode-line-remote mode-line-frame-identification mode-line-buffer-identification " " + (vc-mode vc-mode) + " " mode-line-modes mode-line-misc-info mode-line-end-spaces))) + '(nrepl-message-colors + (quote + ("#CC9393" "#DFAF8F" "#F0DFAF" "#7F9F7F" "#BFEBBF" "#93E0E3" "#94BFF3" "#DC8CC3"))) + '(org-agenda-diary-file "~/org/PERSONAL/diary/diary.org") + '(org-agenda-files + (quote + ("~/.emacs.d/blendoit/init-blendoit.org" "~/org/PERSONAL/workout/workout.org" "~/org/WORK/Safran/programs/MA700/notes/MA700-notes.org_archive" "~/org/WORK/Safran/programs/MA700/notes/MA700-notes.org" "~/org/PERSONAL/diary/log.org" "~/org/WORK/Safran/programs/B787/VIP/timeline.org" "~/org/PERSONAL/diary/diary.org" "~/org/WORK/Safran/programs/WFH/WFH-notes.org_archive" "~/org/WORK/Safran/programs/WFH/WFH-notes.org" "~/org/WORK/Safran/programs/PHM/PHM-notes.org_archive" "~/org/WORK/Safran/programs/MRJ/test-fixture-status.org" "~/org/WORK/Safran/programs/MRJ/MRJ-notes.org" "~/org/WORK/Safran/programs/A220/A220-notes.org" "~/org/PERSONAL/projects/projects.org" "~/org/PERSONAL/schedule-personal.org" "~/org/WORK/Safran/schedule-Safran.org" "~/org/people.org"))) + '(org-agenda-include-diary t) + '(org-agenda-insert-diary-strategy (quote date-tree-last)) + '(org-agenda-skip-scheduled-if-deadline-is-shown (quote not-today)) + '(org-babel-load-languages + (quote + ((shell . t) + (python . t) + (plantuml . t) + (emacs-lisp . t) + (awk . t) + (ledger . t) + (gnuplot . t)))) + '(org-file-apps + (quote + ((auto-mode . emacs) + ("\\.mm\\'" . default) + ("\\.x?html?\\'" . default) + ("\\.pdf\\'" . "mupdf %s")))) + '(org-latex-classes + (quote + (("article" "\\documentclass[11pt]{article}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) + ("report" "\\documentclass[11pt]{report}" + ("\\part{%s}" . "\\part*{%s}") + ("\\chapter{%s}" . "\\chapter*{%s}") + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) + ("book" "\\documentclass[12pt]{book}" + ("\\part{%s}" . "\\part*{%s}") + ("\\chapter{%s}" . "\\chapter*{%s}") + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) + ("book-blendoit" "\\documentclass[12pt]{book}" + ("\\chapter{%s}" . "\\chapter*{%s}") + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection*{%s}" . "\\subsection*{%s}") + ("\\subsubsection*{%s}" . "\\subsubsection*{%s}"))))) + '(org-latex-inactive-timestamp-format "\\textcolor{ForestGreen!60}{\\textit{%s}}") + '(org-latex-packages-alist + (quote + (("AUTO" "polyglossia" t + ("xelatex" "lualatex")) + ("AUTO" "babel" t + ("pdflatex")) + ("table,dvipsnames" "xcolor" t + ("pdflatex"))))) + '(org-latex-pdf-process + (quote + ("latexmk -pdf -f -interaction=nonstopmode -pdflatex=\"%latex\" -outdir=%o %f"))) + '(org-startup-align-all-tables t) + '(org-time-stamp-custom-formats (quote ("%d %b, %Y (%a)" . "%d %b, %Y (%a), at %H:%M"))) + '(package-selected-packages + (quote + (minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init))) + '(pdf-view-midnight-colors (quote ("#DCDCCC" . "#383838"))) + '(save-place-mode t) + '(send-mail-function (quote smtpmail-send-it)) + '(smtpmail-smtp-server "smtp.gmail.com") + '(smtpmail-smtp-service 587) + '(vc-annotate-background "#2B2B2B") + '(vc-annotate-color-map + (quote + ((20 . "#BC8383") + (40 . "#CC9393") + (60 . "#DFAF8F") + (80 . "#D0BF8F") + (100 . "#E0CF9F") + (120 . "#F0DFAF") + (140 . "#5F7F5F") + (160 . "#7F9F7F") + (180 . "#8FB28F") + (200 . "#9FC59F") + (220 . "#AFD8AF") + (240 . "#BFEBBF") + (260 . "#93E0E3") + (280 . "#6CA0A3") + (300 . "#7CB8BB") + (320 . "#8CD0D3") + (340 . "#94BFF3") + (360 . "#DC8CC3")))) + '(vc-annotate-very-old-color "#DC8CC3")) +(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. + '(default ((t (:family "Hack" :foundry "SRC" :slant normal :weight normal :height 142 :width normal)))) + '(fixed-pitch ((t (:family "Hack")))) + '(org-document-title ((t (:inherit default :weight bold :font "Liberation Sans" :height 2.0 :underline nil)))) + '(org-level-1 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.75)))) + '(org-level-2 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.5)))) + '(org-level-3 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.25)))) + '(org-level-4 ((t (:inherit default :weight bold :font "Liberation Sans" :height 1.1)))) + '(org-level-5 ((t (:inherit default :weight bold :font "Liberation Sans")))) + '(org-level-6 ((t (:inherit default :weight bold :font "Liberation Sans")))) + '(org-level-7 ((t (:inherit default :weight bold :font "Liberation Sans")))) + '(org-level-8 ((t (:inherit default :weight bold :font "Liberation Sans")))) + '(variable-pitch ((t (:family "Liberation Sans"))))) -- cgit v1.2.3