How to view the following days on the org-mode agenda?

It is easy to display the current day / week / month / year on the agenda (vd, vw, vm, vy) and see the previous or next period (b, f). But when you are at the end of the period, you do not see what is happening, what is annoying.

So, I'm looking for an idea over the next few days (say five, ten ...).

+8
source share
3 answers

It looks like you want to set up a weekly view, org-mode allows this. See Page: Weekly / Daily Agenda .

Submission over 1 week

One option is to present two weeks or an agenda of just over one week in a โ€œweeklyโ€ presentation. For a week view of 10 days (in your hook or similar):

 (setq org-agenda-span 10) 

Starting today

The above sets ten days from the last Monday if you have the default settings. Although I suspect that after this you do not start on Monday, but begin the agenda from today. This is achieved by:

 (setq org-agenda-start-on-weekday nil) 

Where (the manual says):

Non-nil means starting the review always on the specified day of the week. 0 means Sunday, 1 means Monday, etc. When nil, always start from today. Custom commands can set this variable in the section parameters.

View week for current day

Another useful setting is the coverage of the current day, showing some previous days in the past and the week from today, this combination of settings above. For instance:

 (setq org-agenda-span 10 org-agenda-start-on-weekday nil org-agenda-start-day "-3d") 

It shows the current week from today, but also the last three days.

View Shipment

Sending is not open for customization. It is much better to see how to configure the main function of sending the org-agenda through the variable org-agenda-custom-commands and associate org-Agenda with a global key.

+12
source

There is an easier way to do this by adding a numerical prefix when displaying the agenda.

For example, if I want to show the next 21-day chart. I can do: Cu 2 1 Cc a a. This will do the trick.

+3
source

For Spacemacs, to display the 14-day agenda, you can do 1 4 SPC a o a .

1 4 can be replaced with any number.

0
source

All Articles