From 50c50c9508f985ff8adafb35393b66b14eecbea5 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 10 Feb 2021 17:33:32 -0500 Subject: [PATCH] Cleanup config --- README.org | 29 +++++++++++++++-------------- hosts/acernitro.el | 2 +- modules/core.el | 2 +- modules/projects.el | 3 +-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.org b/README.org index 44f6ecf..fc16657 100644 --- a/README.org +++ b/README.org @@ -159,30 +159,32 @@ Load all of the enabled modules: Each host system that runs Emacs has a file defined in the =hosts/= sub directory, following the pattern of ~$HOSTNAME.el~. All of the configurations are defined within this file, the values of which are read from by the other modules during startup and installation. This does *not* cover hosts that are controlled via =TRAMP=, as that will be covered in another section. -** Virtualbox +** Acernitro :PROPERTIES: -:header-args: :tangle hosts/virtualbox.el +:header-args: :tangle hosts/acernitro.el :END: -The first configuration, which was built using the Ubuntu 20.04 LTS server edition. I decided to incorporate =flatpaks= into this build. +Configure the browser. #+begin_src emacs-lisp (setq dotfiles/browser "flatpak run org.mozilla.firefox") #+end_src -** Acernitro -:PROPERTIES: -:header-args: :tangle hosts/acernitro.el -:END: +This machine has a screen with a very high =DPI=, requiring modification to ~dotfiles/font-size~. #+begin_src emacs-lisp -(setq dotfiles/browser "flatpak run org.mozilla.firefox") +(setq dotfiles/font-size 132) #+end_src -This machine has a screen with a very high =DPI=, requiring modification to ~dotfiles/font-size~. +** Virtualbox +:PROPERTIES: +:header-args: :tangle hosts/virtualbox.el +:END: + +The first configuration, which was built using the Ubuntu 20.04 LTS server edition. I decided to incorporate =flatpaks= into this build. #+begin_src emacs-lisp -;; (setq dotfiles/font-size 144) +(setq dotfiles/browser "flatpak run org.mozilla.firefox") #+end_src * Modules @@ -293,7 +295,7 @@ Emacs' default user interface is horrendous, but with less than 10 lines of code (org-image-actual-width nil) (org-directory dotfiles/home) (org-src-preserve-indentation t) - (org-todo-keywords '((sequence "TODO" "WAIT" "DONE"))) + (org-todo-keywords '((sequence "TODO" "START" "WAIT" "DONE"))) :config (require 'org-tempo) (add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("q" . "quote")) @@ -560,7 +562,7 @@ Place runtime tweaks behind =SPC t=. I use Emacs as a Desktop Environment with the [[https://github.com/ch11ng/exwm][exwm]] package. It allows Emacs to function as a complete tiling window manager for =X11=. My workflow includes launching the window manager with =xinitrc=, without the use of a display manager, controlling *everything* within Emacs. #+begin_src conf :tangle config/xinitrc -exec dbus-launch --exit-with-session flatpak run emacs -mm --debug-init +exec dbus-launch --exit-with-session emacs -mm --debug-init #+end_src *** Email @@ -969,8 +971,7 @@ An IDE like experience (or better) can be achieved in Emacs using two *Microsoft #+begin_src emacs-lisp (use-package lsp-mode :commands (lsp lsp-deferred) - :custom (gc-cons-threshold 1000000000) - (lsp-idle-delay 0.500)) + :custom (lsp-idle-delay 0.500)) #+end_src [[https://emacs-lsp.github.io/lsp-ui/][lsp-ui]] provides UI improvements for =lsp-mode=. diff --git a/hosts/acernitro.el b/hosts/acernitro.el index c1deac2..1685800 100644 --- a/hosts/acernitro.el +++ b/hosts/acernitro.el @@ -1,3 +1,3 @@ (setq dotfiles/browser "flatpak run org.mozilla.firefox") -;; (setq dotfiles/font-size 144) +(setq dotfiles/font-size 132) diff --git a/modules/core.el b/modules/core.el index 2b2f15d..c310dba 100644 --- a/modules/core.el +++ b/modules/core.el @@ -42,7 +42,7 @@ (org-image-actual-width nil) (org-directory dotfiles/home) (org-src-preserve-indentation t) - (org-todo-keywords '((sequence "TODO" "WAIT" "DONE"))) + (org-todo-keywords '((sequence "TODO" "START" "WAIT" "DONE"))) :config (require 'org-tempo) (add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("q" . "quote")) diff --git a/modules/projects.el b/modules/projects.el index dc03fe0..ca6402f 100644 --- a/modules/projects.el +++ b/modules/projects.el @@ -1,7 +1,6 @@ (use-package lsp-mode :commands (lsp lsp-deferred) - :custom (gc-cons-threshold 1000000000) - (lsp-idle-delay 0.500)) + :custom (lsp-idle-delay 0.500)) (use-package lsp-ui :after lsp