diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-22 12:23:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-22 12:23:13 -0500 |
| commit | 2dd3aed6971fe74915c1fc09b4de20a6c64e817b (patch) | |
| tree | f9d896ebcfd0e6a2acb2684ff085a42324a9a638 /early-init.el | |
| parent | 5d18558615a127640d6b4e634997ee35a5fe1b77 (diff) | |
New Custom Functions, Org Updates, Agenda Updates, &c.
=== Functions ===
- add function cj/dired-convert-image-to-jpeg
- add function cj/dired-copy-path-as-kill
- add function cj/export-org-to-md-on-save function
- add function cj/org-link-to-current-file
=== Agenda ===
- rework the f8 main agenda into custom agenda using Aaron Bieber's ideas
- agenda lists now use standard agenda functions
- updated packages to remove org-super-agenda and ts (a dependency)
- file commentary text updated to reflect the change
=== Org ===
- add grocery and shopping list capture items
- add missing tests for org-skip-subtree-if-habit
- add support for org-habits, including checkboxes
- fix issue with org-auto-export-to-md
- modularize org-agenda
- move todo settings to org-config
- reformat org-roam-config
=== &c. ===
- add day to sortable date
- add disablefastrenderer to hugo server flags
- add fill column indicator when emacs lisping
- add gpt buffers to the bury-alive-list
- add keybinding for fixup-whitespace
- add magit cloning settings
- finish automatically on "Link" capture
- fix company complaints about shutting up function
- fix em, e, ff, and f eshell aliases
- make fallback theme modus-vivendi
- prune the compilation cache when applicable
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/early-init.el b/early-init.el index ec15db20..2678815d 100644 --- a/early-init.el +++ b/early-init.el @@ -47,7 +47,12 @@ (setq debug-on-error nil) (setq debug-on-quit nil))) -;; ------------------------------ Compile Warnings ----------------------------- +;; -------------------------------- Compilation -------------------------------- + +;; Remove any .eln files inapplicable to this invocation +(setq native-compile-prune-cache t) + +;; --------------------------- Warning Notifications --------------------------- ;; log warnings, but don't popup the warnings buffer (setq native-comp-async-report-warnings-errors 'silent) @@ -56,7 +61,7 @@ (setq warning-minimum-level :error) ;; --------------------------- Use Online Repos Flag --------------------------- -;; set to nil to only use localrepo or the local elpa-mirrors +;; set to nil to only use localrepo and local elpa-mirrors (see script directory) (defvar cj/use-online-repos nil "Whether to check for network connectivity and use online package repositories.") @@ -106,7 +111,7 @@ "The user's home directory per the environment variable.") (defconst elpa-mirror-location (concat user-emacs-directory ".elpa-mirrors/") -"The path to the elpa mirror location.") + "The path to the elpa mirror location.") (setq package-archives nil) ;; package-archives will be added below @@ -139,17 +144,17 @@ ;; ONLINE REPOSITORIES (when (and (boundp 'cj/use-online-repos) cj/use-online-repos (internet-up-p)) - (progn - (add-to-list 'package-archives '("gnu". "https://elpa.gnu.org/packages/") t) - (add-to-list 'package-archive-priorities '("gnu" . 25)) - (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t) - (add-to-list 'package-archive-priorities '("nongnu" . 20)) - (add-to-list 'package-archives '("melpa". "https://melpa.org/packages/") t) - (add-to-list 'package-archive-priorities '("melpa" . 15)) - ;; (add-to-list 'package-archives '("org". "https://orgmode.org/packages/") t) - ;; (add-to-list 'package-archive-priorities '("org" . 10)) - (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) - (add-to-list 'package-archive-priorities '("melpa-stable" . 5)))) + (progn + (add-to-list 'package-archives '("gnu". "https://elpa.gnu.org/packages/") t) + (add-to-list 'package-archive-priorities '("gnu" . 25)) + (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t) + (add-to-list 'package-archive-priorities '("nongnu" . 20)) + (add-to-list 'package-archives '("melpa". "https://melpa.org/packages/") t) + (add-to-list 'package-archive-priorities '("melpa" . 15)) + ;; (add-to-list 'package-archives '("org". "https://orgmode.org/packages/") t) + ;; (add-to-list 'package-archive-priorities '("org" . 10)) + (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) + (add-to-list 'package-archive-priorities '("melpa-stable" . 5)))) (package-initialize) ;; only run refresh when there's no cache |
