summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/etc')
-rw-r--r--.emacs.d/etc/.dir-locals.el4
-rw-r--r--.emacs.d/etc/custom.el88
-rw-r--r--.emacs.d/etc/secrets.el10
3 files changed, 102 insertions, 0 deletions
diff --git a/.emacs.d/etc/.dir-locals.el b/.emacs.d/etc/.dir-locals.el
new file mode 100644
index 0000000..e007adb
--- /dev/null
+++ b/.emacs.d/etc/.dir-locals.el
@@ -0,0 +1,4 @@
+;;; Directory Local Variables
+;;; For more information see (info "(emacs) Directory Variables")
+
+((emacs-lisp-mode . ((flycheck-disabled-checkers . (emacs-lisp-checkdoc)))))
diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el
new file mode 100644
index 0000000..f9a149b
--- /dev/null
+++ b/.emacs.d/etc/custom.el
@@ -0,0 +1,88 @@
+(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.
+ '(auth-sources '("~/.authinfo.gpg"))
+ '(company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]")
+ '(company-dabbrev-downcase nil)
+ '(company-dabbrev-ignore-case nil)
+ '(company-idle-delay 0.3)
+ '(company-minimum-prefix-length 1)
+ '(company-selection-wrap-around t)
+ '(eshell-hist-ignoredups t)
+ '(eshell-input-filter 'eshell-input-filter-initial-space)
+ '(ibuffer-formats
+ '((mark modified read-only locked " "
+ (name 18 18 :left :elide)
+ " "
+ (size-h 9 -1 :right)
+ " "
+ (mode 16 16 :left :elide)
+ " " filename-and-process)
+ (mark " "
+ (name 16 -1)
+ " " filename)) t)
+ '(ibuffer-saved-filter-groups
+ '(("default"
+ ("dired"
+ (mode . dired-mode))
+ ("org"
+ (mode . org-mode))
+ ("gnus"
+ (or
+ (mode . gnus-group-mode)
+ (mode . gnus-summary-mode)
+ (mode . gnus-article-mode)
+ (mode . message-mode)))
+ ("web"
+ (or
+ (mode . web-mode)
+ (mode . css-mode)
+ (mode . scss-mode)
+ (mode . js2-mode)))
+ ("shell"
+ (or
+ (mode . eshell-mode)
+ (mode . shell-mode)
+ (mode . term-mode)))
+ ("programming"
+ (or
+ (mode . python-mode)
+ (mode . c-mode)
+ (mode . c++-mode)
+ (mode . emacs-lisp-mode)
+ (mode . scheme-mode)
+ (mode . haskell-mode)
+ (mode . lean-mode)))
+ ("emacs"
+ (or
+ (name . "^\\*scratch\\*$")
+ (name . "^\\*Messages\\*$"))))) t)
+ '(ls-lisp-dirs-first t t)
+ '(org-latex-packages-alist '(("" "listings") ("" "color")))
+ '(safe-local-variable-values
+ '((org-hugo-auto-export-on-save . t)
+ (eval when
+ (featurep 'typo
+ (typo-mode -1)))
+ (eval add-hook 'after-save-hook 'org-beamer-export-to-latex t t)
+ (eval setq org-latex-prefer-user-labels t)
+ (eval add-hook 'after-save-hook 'org-latex-export-to-latex t t)
+ (org-hugo-footer . "
+
+[//]: # \"Exported with love from a post written in Org mode\"
+[//]: # \"- https://ox-hugo.scripter.co\"")
+ (eval add-hook 'after-save-hook #'a/async-babel-tangle 'append 'local)))
+ '(unkillable-buffers '("^\\*scratch\\*$" "^\\*Messages\\*$"))
+ '(which-key-add-column-padding 5)
+ '(which-key-max-description-length 32))
+(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.
+ '(dired-directory ((t (:weight semi-bold))))
+ '(magit-diff-file-heading ((t (:weight normal))))
+ '(quote (org-block-begin-line ((t (:foreground "#5a5b5a" :background "#1d1f21")))))
+ '(widget-button ((t (:weight semi-bold)))))
diff --git a/.emacs.d/etc/secrets.el b/.emacs.d/etc/secrets.el
new file mode 100644
index 0000000..e881fb0
--- /dev/null
+++ b/.emacs.d/etc/secrets.el
@@ -0,0 +1,10 @@
+(eval-when-compile (require 'auth-source))
+(defvar uw-apv-client-id (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-id)))
+(defvar uw-apv-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :client-secret)))
+(defvar uw-apv-token (eval-when-compile (plist-get (car (auth-source-search :host "uw-apv.slack.com" :max 1)) :token)))
+(defvar watform-client-id (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-id)))
+(defvar watform-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-secret)))
+(defvar watform-token (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :token)))
+
+(defvar canlock-password (eval-when-compile (funcall (plist-get (car (auth-source-search :host "gnus-canlock-password" :max 1)) :secret))))
+