0

I want to have a block agenda which contains multiple agenda blocks that show the current day.

This is easy to achieve as such:

(setq org-agenda-custom-commands 
  '(("T" "Test agenda"
    ((agenda "" ((org-agenda-span 'day)))
     (agenda "" ((org-agenda-span 'day)))))))

In my setup, I would add different options to these agenda blocks. For example, one block shows deadlines and other shows timestamped entries and so on.

However, these agenda blocks are not synced. When I move one day in one block, the other block stays the same. Pressing "." to jump to the current day leaves the changed agenda block unchanged and just jumps to the agenda block that is out of sync and still showing the current day.

For example, given the following agenda block:

Day-agenda (W17):
Friday     26 April 2019
               1:16...... now - - - - - - - - - - - - - - - - - - - - -
               6:00...... 
              12:00...... 
              18:00...... 
              24:00...... 
  Foo:        Deadline:   NEXT Do stuff                          :@home:
  Bar:        In   7 d.:  TODO Something important               :MUST:


Day-agenda (W17):
Friday     26 April 2019
               1:16...... now - - - - - - - - - - - - - - - - - - - - -
               6:00...... 
              12:00...... 
              18:00...... 
              24:00...... 
  Foo:        Deadline:   NEXT Do stuff                          :@home:
  Bar:        In   7 d.:  TODO Something important               :MUST:

I.e., pressing "f" in the first agenda moves only the first agenda to Saturday. The bottom agenda is unchanged. Then, pressing "." in the first agenda moves the point to the second agenda that is still showing Friday and leaves the first agenda unchanged at Saturday.

Question 1: I want to keep both agendas synced, so that moving forward in one agenda also moves forward in the other.

Question 2: I would like to remove the date line ("Friday 26 April 2019") in the second agenda, as it's redundant. I know that I can overwrite the block header with org-agenda-overriding-header.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.