       (if begin
 	  (string-trim (substring contents begin (match-end 0)) "#\\+[tT][iI][tT][lL][eE]: *" "[\n\t ]+")
 	(deft-base-filename file))))
-  
   (advice-add 'deft-parse-title :override #'cm/deft-parse-title)
 
   (setq deft-directory org-directory
         deft-default-extension "org"
-        deft-recursive t)
+        deft-recursive t
+        deft-auto-save-interval 0)      ; disable auto-saving
+
   ;; ensure :PROPERTIES: and lowercase #+props are not shown in note summaries
   (setq deft-strip-summary-regexp "\\(^:.*:.*\\|[\n	]\\|^#\\+[[:alpha:]_]+:.*$\\)"))
 

  :straight t)

;; Only garbage collect when idle
(use-package gcmh
  :straight t
  :demand t
  :config
  (gcmh-mode 1))

;;;; Editor --- Related to editing and inserting text



;; theme of choice
(use-package modus-themes
  :no-require t                         ; included in Emacs 28 but not as a library
  :hook (emacs-startup . (lambda () (t/load-theme 'modus-operandi)))
  :init
  (setq modus-themes-italic-constructs t
