From 259fae280c5d10d08defaa03c8c86aa97ca59cf5 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 8 Feb 2023 11:54:01 -0800 Subject: emacs: do not show events on P agenda --- .emacs.local.d/modes/org.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to '.emacs.local.d/modes') diff --git a/.emacs.local.d/modes/org.el b/.emacs.local.d/modes/org.el index 51b269e..ce4695a 100644 --- a/.emacs.local.d/modes/org.el +++ b/.emacs.local.d/modes/org.el @@ -112,6 +112,20 @@ (setq my-org-agenda-custom-commands `(("P" "Projects and tasks" ( + (agenda "" ( + (org-agenda-overriding-header "šŸ“Œ Today's agenda\n") + (org-agenda-span 1) + (org-deadline-warning-days 0) + (org-agenda-block-separator nil) + (org-scheduled-past-days 0) + (org-agenda-skip-function '(org-agenda-skip-subtree-if + 'regexp "EVENT")) + ;; We don't need the `org-agenda-date-today' + ;; highlight because that only has a practical + ;; utility in multi-day views. + (org-agenda-day-face-function (lambda (date) 'org-agenda-date)) + (org-agenda-format-date "%A %-e %B %Y") + )) (tags-todo "-HOLD-CANCELLED/!" ((org-agenda-overriding-header "\nšŸŸ¢ Projects") (org-agenda-skip-function 'bh/skip-non-projects) -- cgit v1.2.3