Open dlyr opened 4 years ago
I think I get the behavior I expect by setting cmake-build-split-threshold to 100.0
I'm not sure what that does, but I tend to split the window ahead of time and have splits at the bottom on each side.
I'm not sure there's really a good way to solve general window configuration layout stuff without really using some more dedicated package that does this (is there one?). I don't have a lot of time to look into this at the moment and definitely not to write such. ;)
So the idea is to have compilation output at the bottom of the current active source ? I think the pb I have is that when cmake-build do not ask to split window, the call to compil raise a new window. I do not have time now either, but I can investigates in a couple of weeks.
I don't know what is the expected bahavior, but when I open multiple projects, the first compilation create a buffer in the bottom, the second one open another buffer on the right (even if compilation is finished, maybe not enough space to split the window, but I wouldn't expect another window to raise). Screenshot below. After some tests I find that if the emacs window is narrow, then it works ... each compiles replace bottom buffer (if it was not on the right beforehand, i.e. if I call cmake-build-delete-current-windows)