When I set following: (setq org-agenda-window-setup 'other-window) with intention to get agenda in other window, together with following:
(setq split-window-preferred-function 'split-window-vertically) then (org-agenda-list) is not going to show itself in other window but in new or other frame. Only when I leave following variable: (setq split-window-preferred-function 'split-window-sensibly) Then agenda would show in other window. Expected action is not that agenda shows in other frame but in other window no matter how split-window-preferred-function is set. What is happening may be seen on the video: https://gnu.support/images/tmp/2022-12-24/2022-12-24-10:43:52.ogv Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars) of 2022-12-22 Package: Org mode version 9.6 (release_9.6-49-g47d129 @ /home/data1/protected/Programming/Software/emacs/lisp/org/) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/