I have the following in my .emacs
:
(add-to-list 'default-frame-alist '(fullscreen . maximized))
And
(add-hook 'window-setup-hook
(lambda ()
(find-file "FILE.org")
(shell)))
However, these buffers open with one on top, and one on the bottom. As far as I can tell, the window-setup-hook
is supposed to be run after all frame parameters, so these really should be side by side. If I manually maximize the frame, and then do these two commands in order, it opens them side by side. Any ideas?
EDIT: following Stefan's suggestion, I have submitted a bug report.
split-width-threshold
andsplit-height-threshold
, this thread may provide some insight: emacs.stackexchange.com/questions/39034/… And, here is a link to a detailed answer I wrote up explaining how to display ashell
buffer in any of four directions (above, below, left, right): emacs.stackexchange.com/a/28924/2287