From 402f254ea64e300162665136509a79a1762d6e60 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 16 Feb 2020 16:41:57 -0800 Subject: org: change the number of days in the calendar Using the current week view is not really efficient for me. Instead, let's show the last 7 days and the next 10 days, this gives me a better idea of what I need to work on. --- emacs.d/custom/fcuny-org.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs.d/custom') diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 4840931..1ffeeef 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -70,6 +70,8 @@ _g n_: go to notes ;; agenda related (calendar-week-start-day 1) ;; org-mode uses calendar for the date picker, and I want this to start on Monday (org-agenda-start-on-weekday 1) ;; this is specific to org-agenda + (org-agenda-span 10) + (org-agenda-start-day "-7d") (org-agenda-files `(,org-default-tasks-file ,org-default-work-tasks-file)) -- cgit 1.4.1