summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-02-16 16:41:57 -0800
committerFranck Cuny <franck.cuny@gmail.com>2020-02-16 16:41:57 -0800
commit402f254ea64e300162665136509a79a1762d6e60 (patch)
tree3c288c57c06bd45b9a397703cfe0baf966545bc0
parentorg: don't set custom faces (diff)
downloademacs.d-402f254ea64e300162665136509a79a1762d6e60.tar.gz
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.
-rw-r--r--emacs.d/custom/fcuny-org.el2
1 files changed, 2 insertions, 0 deletions
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))