From 9aa0130bb68ab30cef8f983a1504dbbcb90804a8 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Sun, 12 Feb 2023 20:56:19 -0800 Subject: emacs: move libraries under lisp --- .emacs | 5 ++--- .emacs.local.d/config/rul-config-elfeed.el | 2 -- .emacs.local.d/config/rul-config-mail.el | 1 - .emacs.local.d/config/rul-config-org.el | 19 ------------------- .emacs.local.d/config/rul-config-projectile.el | 2 -- .emacs.local.d/lisp/config/rul-config-elfeed.el | 2 ++ .emacs.local.d/lisp/config/rul-config-mail.el | 1 + .emacs.local.d/lisp/config/rul-config-org.el | 19 +++++++++++++++++++ .emacs.local.d/lisp/config/rul-config-projectile.el | 2 ++ .emacs.local.d/lisp/packages/rul-elfeed.el | 7 +++++++ .emacs.local.d/modes/rul-elfeed.el | 7 ------- 11 files changed, 33 insertions(+), 34 deletions(-) delete mode 100644 .emacs.local.d/config/rul-config-elfeed.el delete mode 100644 .emacs.local.d/config/rul-config-mail.el delete mode 100644 .emacs.local.d/config/rul-config-org.el delete mode 100644 .emacs.local.d/config/rul-config-projectile.el create mode 100644 .emacs.local.d/lisp/config/rul-config-elfeed.el create mode 100644 .emacs.local.d/lisp/config/rul-config-mail.el create mode 100644 .emacs.local.d/lisp/config/rul-config-org.el create mode 100644 .emacs.local.d/lisp/config/rul-config-projectile.el create mode 100644 .emacs.local.d/lisp/packages/rul-elfeed.el delete mode 100644 .emacs.local.d/modes/rul-elfeed.el diff --git a/.emacs b/.emacs index ced6f19..93ebb9b 100644 --- a/.emacs +++ b/.emacs @@ -1,8 +1,8 @@ -(add-to-list 'load-path "~/.emacs.local.d/config/") +(add-to-list 'load-path "~/.emacs.local.d/lisp/config") +(add-to-list 'load-path "~/.emacs.local.d/lisp/packages") ;; Load up the general config (load-file "~/.emacs.local.d/general.el") -(load-file "~/.emacs.local.d/mail.el") (load-file "~/.emacs.local.d/modes/fonts.el") (load-file "~/.emacs.local.d/modes/themes.el") @@ -10,7 +10,6 @@ ;; Modes (load-file "~/.emacs.local.d/modes/auto-fill.el") (load-file "~/.emacs.local.d/modes/doom-modeline.el") -(load-file "~/.emacs.local.d/modes/rul-elfeed.el") (load-file "~/.emacs.local.d/modes/flycheck.el") (load-file "~/.emacs.local.d/modes/flyspell.el") (load-file "~/.emacs.local.d/modes/go-lang.el") diff --git a/.emacs.local.d/config/rul-config-elfeed.el b/.emacs.local.d/config/rul-config-elfeed.el deleted file mode 100644 index 2042a00..0000000 --- a/.emacs.local.d/config/rul-config-elfeed.el +++ /dev/null @@ -1,2 +0,0 @@ -(setq rul-elfeed-feeds '("https://planet.debian.org/rss10.xml")) -(provide 'rul-config-elfeed) diff --git a/.emacs.local.d/config/rul-config-mail.el b/.emacs.local.d/config/rul-config-mail.el deleted file mode 100644 index 240f8be..0000000 --- a/.emacs.local.d/config/rul-config-mail.el +++ /dev/null @@ -1 +0,0 @@ -(provide 'rul-config-mail) diff --git a/.emacs.local.d/config/rul-config-org.el b/.emacs.local.d/config/rul-config-org.el deleted file mode 100644 index 020efa4..0000000 --- a/.emacs.local.d/config/rul-config-org.el +++ /dev/null @@ -1,19 +0,0 @@ -(setq - my-org-agenda-files '("~/org/") - my-org-agenda-custom-commands - '(("x" agenda) - ("y" agenda*) - ("w" todo "WAITING") - ("W" todo-tree "WAITING") - ) - my-org-journal-file-type 'yearly - my-org-journal-dir "~/org/journal/" - my-org-journal-file-format "%Y.org" - my-org-journal-time-prefix "* " - my-org-journal-time-format "" - my-org-refile-path "~/refile.org" - my-org-roam-directory "~/org/roam/" - ) - -(provide 'rul-config-org) - diff --git a/.emacs.local.d/config/rul-config-projectile.el b/.emacs.local.d/config/rul-config-projectile.el deleted file mode 100644 index 3922c8f..0000000 --- a/.emacs.local.d/config/rul-config-projectile.el +++ /dev/null @@ -1,2 +0,0 @@ -(setq my-projectile-project-search-path '("~/src/")) -(provide 'rul-config-projectile) diff --git a/.emacs.local.d/lisp/config/rul-config-elfeed.el b/.emacs.local.d/lisp/config/rul-config-elfeed.el new file mode 100644 index 0000000..2042a00 --- /dev/null +++ b/.emacs.local.d/lisp/config/rul-config-elfeed.el @@ -0,0 +1,2 @@ +(setq rul-elfeed-feeds '("https://planet.debian.org/rss10.xml")) +(provide 'rul-config-elfeed) diff --git a/.emacs.local.d/lisp/config/rul-config-mail.el b/.emacs.local.d/lisp/config/rul-config-mail.el new file mode 100644 index 0000000..240f8be --- /dev/null +++ b/.emacs.local.d/lisp/config/rul-config-mail.el @@ -0,0 +1 @@ +(provide 'rul-config-mail) diff --git a/.emacs.local.d/lisp/config/rul-config-org.el b/.emacs.local.d/lisp/config/rul-config-org.el new file mode 100644 index 0000000..020efa4 --- /dev/null +++ b/.emacs.local.d/lisp/config/rul-config-org.el @@ -0,0 +1,19 @@ +(setq + my-org-agenda-files '("~/org/") + my-org-agenda-custom-commands + '(("x" agenda) + ("y" agenda*) + ("w" todo "WAITING") + ("W" todo-tree "WAITING") + ) + my-org-journal-file-type 'yearly + my-org-journal-dir "~/org/journal/" + my-org-journal-file-format "%Y.org" + my-org-journal-time-prefix "* " + my-org-journal-time-format "" + my-org-refile-path "~/refile.org" + my-org-roam-directory "~/org/roam/" + ) + +(provide 'rul-config-org) + diff --git a/.emacs.local.d/lisp/config/rul-config-projectile.el b/.emacs.local.d/lisp/config/rul-config-projectile.el new file mode 100644 index 0000000..3922c8f --- /dev/null +++ b/.emacs.local.d/lisp/config/rul-config-projectile.el @@ -0,0 +1,2 @@ +(setq my-projectile-project-search-path '("~/src/")) +(provide 'rul-config-projectile) diff --git a/.emacs.local.d/lisp/packages/rul-elfeed.el b/.emacs.local.d/lisp/packages/rul-elfeed.el new file mode 100644 index 0000000..b59bc9b --- /dev/null +++ b/.emacs.local.d/lisp/packages/rul-elfeed.el @@ -0,0 +1,7 @@ +(use-package elfeed + :ensure f + :config + (require 'rul-config-elfeed) + (setq elfeed-feeds rul-elfeed-feeds)) + +(provide 'rul-elfeed) diff --git a/.emacs.local.d/modes/rul-elfeed.el b/.emacs.local.d/modes/rul-elfeed.el deleted file mode 100644 index b59bc9b..0000000 --- a/.emacs.local.d/modes/rul-elfeed.el +++ /dev/null @@ -1,7 +0,0 @@ -(use-package elfeed - :ensure f - :config - (require 'rul-config-elfeed) - (setq elfeed-feeds rul-elfeed-feeds)) - -(provide 'rul-elfeed) -- cgit v1.2.3