summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-13 19:26:19 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-13 19:26:19 -0400
commit5fb7704c0f844191de7c5e4d03b059525348b5f4 (patch)
treea869cb94b55ed373b365f1a4275cc2b9f5f994c2 /etc
parent466f433f6b3e26d0a57d377cf898a06fc1e453cc (diff)
downloadconfigs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.gz
configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.xz
configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.zip
emacs: move configuration to .emacs.d
Diffstat (limited to 'etc')
-rw-r--r--etc/.dir-locals.el4
-rw-r--r--etc/custom.el88
-rw-r--r--etc/secrets.el10
3 files changed, 0 insertions, 102 deletions
diff --git a/etc/.dir-locals.el b/etc/.dir-locals.el
deleted file mode 100644
index e007adb..0000000
--- a/etc/.dir-locals.el
+++ /dev/null
@@ -1,4 +0,0 @@
-;;; Directory Local Variables
-;;; For more information see (info "(emacs) Directory Variables")
-
-((emacs-lisp-mode . ((flycheck-disabled-checkers . (emacs-lisp-checkdoc)))))
diff --git a/etc/custom.el b/etc/custom.el
deleted file mode 100644
index f9a149b..0000000
--- a/etc/custom.el
+++ /dev/null
@@ -1,88 +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.
- '(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/etc/secrets.el b/etc/secrets.el
deleted file mode 100644
index e881fb0..0000000
--- a/etc/secrets.el
+++ /dev/null
@@ -1,10 +0,0 @@
-(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))))
-