summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2024-04-11 01:39:11 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2024-04-11 01:39:11 -0500
commit07fd4f1a6930dc62880b0fd7a0496270f4c2efd6 (patch)
tree31c37427859b391dd8dcad9abc2f4f3515f072b5 /init.el
parenta55a5248bd2dae5f849476d0f7b5dcd8d91cf929 (diff)
more fit and finish work
User Constants - move all file and directory constants into it's own file - create the directories and files if they don't exist - warn the user when not found/created General - remove duplicate dirvish go menu entry - remove xterm color in test code (it's already in eshell) - fixed org-drill not starting - fixing issue with auto-complete not working in eshell - adding playlists location for dirvish - moved all org-drill config into the use-package declaration - added drill-dir to user-constants - default ledger-file location changed; updated tasks - git ignore the persist folder - added more point values in fontaine menu - fix for gptel early key grab in authinfo.gpg - removed localrepo from reset script - remove magit-forge package - don't wait too long to bury-buffers - add setting native compile warnings to 'silent - fixed sdcv errors when looking up a word normally and in nov
Diffstat (limited to 'init.el')
-rw-r--r--init.el21
1 files changed, 2 insertions, 19 deletions
diff --git a/init.el b/init.el
index 9e20aa00..86c26b9f 100644
--- a/init.el
+++ b/init.el
@@ -17,30 +17,13 @@
(defvar user-mail-address "c@cjennings.net"
"The user's email address.")
-;; ------------------------- Directory / File Constants ------------------------
-
-(defconst code-dir (concat user-home-dir "/code/"))
-(defconst projects-dir (concat user-home-dir "/projects/"))
-(defconst sync-dir (concat user-home-dir "/sync/org/")) ;; emacs data to be sync'd across machines
-(defconst roam-dir (concat sync-dir "/roam/")) ;; emacs org roam data
-(defconst snippets-dir (concat sync-dir "snippets")) ;; snippets
-
-(defconst emacs-init-file (concat user-emacs-directory "init.el")) ;; 'user-init-file' might be compiled
-(defconst emacs-early-init-file (concat user-emacs-directory "early-init.el"))
-(defvar schedule-file (concat sync-dir "schedule.org")) ;; scheduled events & appointments
-(defvar inbox-file (concat roam-dir "inbox.org")) ;; tasks and task inbox
-(defvar contacts-file (concat sync-dir "contacts.org")) ;; org-contacts
-(defvar article-file (concat sync-dir "article-queue.org")) ;; articles to read
-(defvar article-archive (concat sync-dir "article-archive.org")) ;; articles to keep
-(defvar ledger-file (concat user-home-dir "/projects/finances/main.ledger")) ;; $$$
-(defvar macros-file (concat sync-dir "macros.el")) ;; macros with cj/save-macro are saved here
-
;; ---------------------------- System Configuration ---------------------------
-(add-to-list 'load-path (concat user-emacs-directory "modules"))
(add-to-list 'load-path (concat user-emacs-directory "assets"))
(add-to-list 'load-path (concat user-emacs-directory "custom"))
+(add-to-list 'load-path (concat user-emacs-directory "modules"))
+(require 'user-constants)
(require 'config-utilities) ;; functions useful when modifying Emacs config
(require 'host-environment) ;; convenience functions re: host environment
(require 'system-defaults)