Closed fishyfriend closed 4 years ago
Thanks
@fishyfriend , I re-applied your patch. Could you fix the unit test?
Hi @redguardtoo,
The 305-dired-sidebar
unit test is already passing on master; I've double-checked locally. Are you seeing anything different?
Regarding the other unit tests, these were broken prior to my changes. 310-frames
looks related to the wg-config
pickling issue, and 300-special-modes
failed due to missing Magit dependencies. Magit has a LOT of pieces now -- like 15 or 20 separate .el files. Maybe Cask.el or some other tool has a way to specify test-only dependencies so they don't have to be hardcoded in the makefile. I am afraid I will not be willing to spend more time to fix these tests (unless I broke something) as I'm not actually using workgroups2. This PR was just something I came up with while evaluating the package.
(This package is very useful indeed! But for my own workflow I ended up not needing it.)
No problem. I will fix the unit test.
This PR adds support for saving and restoring dired-sidebar windows, as well as side windows generally.
Changes:
window-side
andwindow-slot
window parameters to preserve side window status. Without this change, side windows would be restored as ordinary windows, which breaks some behavior.Testing:
make deps && make testgui
(I had to comment out the Magit test and310-frames
, which are broken on master)