My Emacs frame looks like this:
+---------------------------+ | | | | | | | | B | |
This one also works fine (for emacs 24) https://lists.gnu.org/archive/html/help-gnu-emacs/2007-05/msg00975.html
(define-minor-mode sticky-buffer-mode "Make the current window always display this buffer." nil " sticky" nil (set-window-dedicated-p (selected-window) sticky-buffer-mode))