From c2f2a010b51d04666d289b0ba2ae85b384fea672 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 30 Sep 2020 12:39:35 -0400 Subject: [PATCH] [emacs] Restrict agenda to this year --- emacs/.doom.d/config.el | 4 ++-- emacs/.doom.d/config.org | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 1f09ef0..c3cbd4b 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -120,9 +120,9 @@ (add-hook 'org-mode-hook #'doom-disable-line-numbers-h) -(after! org + (after! org (setq org-directory (expand-file-name "~/var/org/") - org-agenda-files (list org-directory) + org-agenda-files (file-expand-wildcards "~/var/org/2020-*") org-pretty-entities t org-agenda-dim-blocked-tasks nil org-log-done 'time diff --git a/emacs/.doom.d/config.org b/emacs/.doom.d/config.org index 8b309b5..156702f 100644 --- a/emacs/.doom.d/config.org +++ b/emacs/.doom.d/config.org @@ -25,8 +25,8 @@ for it's retro charm. Nimbus just doesn't look great when I'm tired though. #+END_SRC ** Borders Barring the unfortunate end of X11 development and my eventual transition to -wayland and sway, you can pry i3wm from my cold, dead hands. One problem, -however is that when you're trying your best to rice up i3, Emacs needs a padded +Wayland and sway, you can pry i3wm from my cold, dead hands. One problem, however +is that when you're trying your best to rice up i3, Emacs needs a padded border. #+BEGIN_SRC emacs-lisp ;; Applies to current frame @@ -179,9 +179,9 @@ A handful of mods here clean up org mode. Line numbers don’t mean much when yo #+BEGIN_SRC emacs-lisp (add-hook 'org-mode-hook #'doom-disable-line-numbers-h) -(after! org + (after! org (setq org-directory (expand-file-name "~/var/org/") - org-agenda-files (list org-directory) + org-agenda-files (file-expand-wildcards "~/var/org/2020-*") org-pretty-entities t org-agenda-dim-blocked-tasks nil org-log-done 'time