Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs org-agenda-list destroy my windows splits

Tags:

emacs

I found answer thanks to #org-mode group on freenode


I have problem with org-agenda-list and org-todo-list functions, they break my windows splits and split emacs to 2 equal windows, is there any way to fix it? Or any other function for load todo/agenda in current active window? I have workaround with winner-undo (but it pissing me off).

Emacs window layout before function calls Before function call

Emacs after functions call enter image description here

like image 700
Jacek Wysocki Avatar asked May 17 '12 12:05

Jacek Wysocki


2 Answers

Set org-agenda-window-setup in your init.el

(setq org-agenda-window-setup 'current-window) 

Thanks to quicksilver from #org-mode on freenode

Type C-h v org-agenda-window-setup for other options.

like image 80
Jacek Wysocki Avatar answered Dec 10 '22 12:12

Jacek Wysocki


The simplest way is to use default Emacs customization:

M-x customize-group org-agenda-windows

There are several options, including current window. Try them out, I think one of them will do what you need.

like image 26
James Avatar answered Dec 10 '22 12:12

James