Earlier quoted context omitted.
Emacs is so customisable that as soon as I want to customise anything, I get lost searching for solutions online and inevitably give up on using Emacs altogether.
Emacs is fantastic for Yak Shaving. You can spend hours or days tweaking and modifying its configuration files if you're not careful. My advice for those seeking to get into Emacs: start from scratch. Learn how to split your custom.el from your init.el, and make sure you're using git to manage those files. Then start slowly and install org-mode from source and go from there: 8 │ ;; Save customizations in a different…
40 │ ;; Taken from https://karl-voit.at/2017/02/11/my-system-is-foobar/
53 │ ;; Check if system is GNU/Linux
54 │ (defun my-system-type-is-gnu ()
55 │ "Return non-nil if system is GNU/Linux-based."
56 │ (string-equal system-type "gnu/linux")
57 │ )
59 │ ;; make Linux a bit more mac-like
60 │ (when (my-system-type-is-gnu)
61 │ (global-set-key (kbd "s-/") 'comment-or-uncomment-region-or-line)
62 │ (global-set-key (kbd "s-") '(lambda () (interactive) (kill-line 0)))
64 │ )
362 │ (defun newer-than-7-days(file)
363 │ "Return list of files newer than 7 days old in directory FILE."
364 │ (> 7
365 │ (/(float-time(time-subtract
366 │ (current-time)
367 │ (nth 5 (file-attributes file))))
368 │ 86400)))
407 │ (setq org-agenda-files
408 │ (seq-filter #'newer-than-7-days
409 │ (directory-files-recursively "~/Org/Journal" "\\.org$")))
Yes, Emacs is an operating system that also edits text :)