5

When I open todo list or agenda, it opens in a mini-buffer (takes up half of my screen). How do I change my dotfile so that when I call org-agenda it takes up the entire screen?

THIS USER NEEDS HELP
  • 3,136
  • 4
  • 30
  • 55

2 Answers2

12

As of Org version 8.3, you can set org-agenda-window-setup to only-window.

Kyle Meyer
  • 1,546
  • 9
  • 10
3

Just remove the other windows after running org-agenda by adding delete-other-windows to its after advice: (advice-add 'org-agenda :after #'delete-other-windows).

erikstokes
  • 1,197
  • 6
  • 15
  • Also, I get this error: `apply: Wrong number of arguments: #[(&optional window) "Æ!Ç!ÈÉ\"ÈÃ\"ÊË !ÌÍ-" [window frame function window-side atom-root side-main window-normalize-window window-frame window-parameter delete-other-windows ...] 4 2243840 nil], 2` – THIS USER NEEDS HELP May 01 '16 at 03:54
  • Actually, it still pops up after I remove your code, so it might be a problem on my end – THIS USER NEEDS HELP May 01 '16 at 04:06
  • The # just tells Emacs that the symbol is a function. It's optional. – erikstokes May 01 '16 at 14:49