From 3fee758e204c600f383d69e9428fceb5636d8bd1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 16 Mar 2017 23:39:35 -0400 Subject: [PATCH] General cleanup + minor tweaks --- modules/lang/cc/config.el | 2 +- modules/lang/haskell/config.el | 3 +-- modules/lang/org/config.el | 1 + modules/private/README.md | 16 +++++++--------- modules/private/hlissner/config.el | 10 +++++----- modules/ui/doom/config.el | 4 ++-- 6 files changed, 17 insertions(+), 19 deletions(-) diff --git a/modules/lang/cc/config.el b/modules/lang/cc/config.el index 65e0c367c..bcccb8673 100644 --- a/modules/lang/cc/config.el +++ b/modules/lang/cc/config.el @@ -146,7 +146,7 @@ :config (set! :company-backend 'cmake-mode '(company-cmake company-yasnippet))) -(def-package! glsl-mode :mode ("\\.glsl\\'" "\\.vert\\'" "\\.frag\\'" "\\.geom\\'")) +(def-package! glsl-mode :mode ("\\.glsl$" "\\.vert$" "\\.frag$" "\\.geom$")) (def-package! cuda-mode :mode "\\.cuh?$") diff --git a/modules/lang/haskell/config.el b/modules/lang/haskell/config.el index 3e890de82..88b54afa4 100644 --- a/modules/lang/haskell/config.el +++ b/modules/lang/haskell/config.el @@ -1,7 +1,6 @@ ;;; module-haskell.el -;; Requires cabal installed for syntax-checking, and ghci (or hugs) to be -;; installed for REPL support. +;; requires cabal (flycheck), ghci/hugs (repl) (def-package! haskell-mode :mode (("\\.hs$" . haskell-mode) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index bee706ed0..978832f2c 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -4,6 +4,7 @@ ;; + `org-capture' in a popup frame (can be invoked from outside emacs too) ;; + Exported files are put in a centralized location (see ;; `org-export-directory') +;; + Inline latex previews (requires latex and dvipng programs) ;; + TODO A simpler attachment system (with auto-deleting support) and ;; drag-and-drop for images and documents into org files ;; + TODO Custom links for class notes diff --git a/modules/private/README.md b/modules/private/README.md index 3fc43e4ee..89b0d9ed6 100644 --- a/modules/private/README.md +++ b/modules/private/README.md @@ -1,13 +1,11 @@ # Private modules -Modules here are ignored by git and should contain personal settings -you don't want DOOM updates to interfere with (if that matters to -you). +Modules here are ignored by git and should contain personal settings you don't +want DOOM updates to interfere with (if that matters to you). -I include mine as a reference. However, keep in mind that it is -fiercely evil-mode-oriented. I apologize to non-evil users, but you -will likely want to rewrite +bindings.el entirely and delete -+commands.el. +I include mine as a reference. However, keep in mind that it is fiercely +evil-mode-oriented. I apologize to non-evil users, but you will likely want to +rewrite +bindings.el entirely and delete +commands.el. -Fortunately, besides disabled the evil module, that should be all you -need to do to get an evil-less DOOM Emacs. +Fortunately, besides disabled the evil module, that should be all you need to do +to get an evil-less DOOM Emacs. diff --git a/modules/private/hlissner/config.el b/modules/private/hlissner/config.el index 234191759..a27164a45 100644 --- a/modules/private/hlissner/config.el +++ b/modules/private/hlissner/config.el @@ -8,11 +8,11 @@ (expand-file-name "snippets/" (file-name-directory load-file-name))) -;; On Arch, bspwm is my window manager. When I open GUI Emacs there's a gap on -;; the right side of the frame (which causes display glitches). I fix this by -;; simply cycling fullscreen: -(when (and (display-graphic-p) IS-LINUX) - (add-hook! 'after-init-hook +;; On Arch, bspwm is my window manager. When I open GUI Emacs a gap forms on the +;; right side of the frame (which causes display glitches). Cycling fullscreen +;; fixing this. +(when (and IS-LINUX (display-graphic-p)) + (add-hook! 'window-setup-hook (set-frame-parameter nil 'fullscreen 'fullboth) (set-frame-parameter nil 'fullscreen nil))) diff --git a/modules/ui/doom/config.el b/modules/ui/doom/config.el index 49c1f45f0..d516c75cd 100644 --- a/modules/ui/doom/config.el +++ b/modules/ui/doom/config.el @@ -8,7 +8,7 @@ "The font currently in use.") (defvar +doom-variable-pitch-font - (font-spec :family "Fira Sans" :size 12) + (font-spec :family "Fira Sans" :size 14) "The font currently in use.") (defvar +doom-unicode-font @@ -32,7 +32,7 @@ ;; The native border "consumes" a pixel of the fringe on righter-most splits, ;; `window-divider' does not. Available since Emacs 25.1. (setq window-divider-default-places t - window-divider-default-bottom-width 0 + window-divider-default-bottom-width 1 window-divider-default-right-width 1) (window-divider-mode +1)