From 1b85327a881c1f261591f4e16ac7c1d80e9acb8e Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Fri, 16 Feb 2024 11:46:13 -0500 Subject: [PATCH 1/2] some mac improvements, etc --- init.el | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 6092e50..a489a4d 100644 --- a/init.el +++ b/init.el @@ -25,6 +25,12 @@ ;; set up use-package (straight-use-package 'use-package) +;; maybe improve backups +(make-directory "~/.emacs_backups/" t) +(make-directory "~/.emacs_autosave/" t) +;(setq auto-save-file-name-transforms '((".*" "~/.emacs_autosave/" t))) +;(setq backup-directory-alist '(("." . "~/.emacs_backups/"))) + ;; set a bunch of varibles (setq user-full-name "d_m" user-mail-address "d_m@plastic-idolatry.com" @@ -37,6 +43,7 @@ line-move-visual nil create-lockfiles nil make-backup-files nil + backup-by-copying t column-number-mode t scroll-error-top-bottom t show-paren-delay 0.5 @@ -72,9 +79,9 @@ ;; prioritized list of fonts to try (defvar my/fonts - '("PragmataPro Mono Liga" + '("PragmataPro Liga" "PragmataPro Mono" - "PragmataPro Liga" + "PragmataPro Mono Liga" "PragmataPro" "Iosevka" "JetBrains Mono" @@ -534,6 +541,8 @@ scroll-up-aggressively 0.0 scroll-down-aggressively 0.0 emms-playlist-buffer-name "*Music*") + (when (memq window-system '(mac ns x)) + (setq emms-source-file-directory-tree-function 'emms-source-file-directory-tree-internal)) (emms-all) (emms-default-players)) From 4c276e6ed32a4c41215086ccada32995387dd7c8 Mon Sep 17 00:00:00 2001 From: Erik Osheim Date: Fri, 16 Feb 2024 11:46:41 -0500 Subject: [PATCH 2/2] ignore some files --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..93a5f35 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +auto-save-list +emms +ido.last +straight +transient