From 9597c92f27b86bb8eb339bba45c8482b663732c3 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 23 Sep 2023 14:12:26 -0500 Subject: [PATCH] Fixed some visual and code formatting --- user/app/doom-emacs/config.el | 25 ++++++++++++++----------- user/app/doom-emacs/doom.org | 27 +++++++++++++++------------ 2 files changed, 29 insertions(+), 23 deletions(-) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 2deeae9..c9e21d7 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -826,6 +826,7 @@ tasks." '(org-agenda-date-today :inherit diary :height 1.15) '(org-agenda-date-weekend :ineherit outline-2 :height 1.15) '(org-agenda-date-weekend-today :inherit outline-4 :height 1.15) + '(org-super-agenda-header :inherit custom-button :weight bold :height 1.05) ) @@ -920,48 +921,48 @@ tasks." (setq org-super-agenda-groups '(;; Each group has an implicit boolean OR operator between its selectors. - (:name " Overdue" ; Optionally specify section name + (:name " Overdue " ; Optionally specify section name :scheduled past :order 2 :face 'error) - (:name "Personal" + (:name "Personal " :and(:file-path "Personal.p" :not (:tag "event")) :order 3) - (:name "Family" + (:name "Family " :and(:file-path "Family.s" :not (:tag "event")) :order 3) - (:name "Teaching" + (:name "Teaching " :and(:file-path "Teaching.p" :not (:tag "event")) :order 3) - (:name "Gamedev" + (:name "Gamedev " :and(:file-path "Gamedev.s" :not (:tag "event")) :order 3) - (:name "Youtube" + (:name "Youtube " :and(:file-path "Producer.p" :not (:tag "event")) :order 3) - (:name "Music" + (:name "Music " :and(:file-path "Bard.p" :not (:tag "event")) :order 3) - (:name "Storywriting" + (:name "Storywriting " :and(:file-path "Stories.s" :not (:tag "event")) :order 3) - (:name "Writing" + (:name "Writing " :and(:file-path "Author.p" :not (:tag "event")) :order 3) - (:name "Learning" + (:name "Learning " :and(:file-path "Knowledge.p" :not (:tag "event")) :order 3) - (:name " Today" ; Optionally specify section name + (:name " Today " ; Optionally specify section name :time-grid t :date today :scheduled today @@ -1182,4 +1183,6 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)." (map! :leader :desc "Open treemacs symbol outliner" "o s" #'lsp-treemacs-symbols :desc "Hide neotree" "o S" #'treemacs-quit) +(setq +format-on-save-enabled-modes '(not emacs-lisp-mode sql-mode tex-mode latex-mode org-msg-edit-mode nix-mode)) + diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index d12bfc4..35a4a03 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -978,6 +978,7 @@ On Wayland, EAF doesn't work. '(org-agenda-date-today :inherit diary :height 1.15) '(org-agenda-date-weekend :ineherit outline-2 :height 1.15) '(org-agenda-date-weekend-today :inherit outline-4 :height 1.15) + '(org-super-agenda-header :inherit custom-button :weight bold :height 1.05) ) @@ -1078,48 +1079,48 @@ On Wayland, EAF doesn't work. (setq org-super-agenda-groups '(;; Each group has an implicit boolean OR operator between its selectors. - (:name " Overdue" ; Optionally specify section name + (:name " Overdue " ; Optionally specify section name :scheduled past :order 2 :face 'error) - (:name "Personal" + (:name "Personal " :and(:file-path "Personal.p" :not (:tag "event")) :order 3) - (:name "Family" + (:name "Family " :and(:file-path "Family.s" :not (:tag "event")) :order 3) - (:name "Teaching" + (:name "Teaching " :and(:file-path "Teaching.p" :not (:tag "event")) :order 3) - (:name "Gamedev" + (:name "Gamedev " :and(:file-path "Gamedev.s" :not (:tag "event")) :order 3) - (:name "Youtube" + (:name "Youtube " :and(:file-path "Producer.p" :not (:tag "event")) :order 3) - (:name "Music" + (:name "Music " :and(:file-path "Bard.p" :not (:tag "event")) :order 3) - (:name "Storywriting" + (:name "Storywriting " :and(:file-path "Stories.s" :not (:tag "event")) :order 3) - (:name "Writing" + (:name "Writing " :and(:file-path "Author.p" :not (:tag "event")) :order 3) - (:name "Learning" + (:name "Learning " :and(:file-path "Knowledge.p" :not (:tag "event")) :order 3) - (:name " Today" ; Optionally specify section name + (:name " Today " ; Optionally specify section name :time-grid t :date today :scheduled today @@ -1427,6 +1428,8 @@ EAF doesn't work on Wayland :( (map! :leader :desc "Open treemacs symbol outliner" "o s" #'lsp-treemacs-symbols :desc "Hide neotree" "o S" #'treemacs-quit) +(setq +format-on-save-enabled-modes '(not emacs-lisp-mode sql-mode tex-mode latex-mode org-msg-edit-mode nix-mode)) + #+END_SRC ** Terminal #+BEGIN_SRC emacs-lisp :tangle config.el @@ -1482,7 +1485,7 @@ This section is the [[./init.el][init.el]] section, which controls which Doom mo (evil +everywhere); come to the dark side, we have cookies file-templates ; auto-snippets for empty files fold ; (nigh) universal code folding - (format +onsave) ; automated prettiness + ;;(format +onsave) ; automated prettiness ;;god ; run Emacs commands without modifier keys ;;lispy ; vim for lisp, for people who don't like vim multiple-cursors ; editing in many places at once