pashinin / workgroups2

Workgroups2 - Emacs session manager
http://workgroups2.rtfd.org/
GNU General Public License v3.0
297 stars 42 forks source link

Support dired-sidebar #88

Closed fishyfriend closed 4 years ago

fishyfriend commented 4 years ago

This PR adds support for saving and restoring dired-sidebar windows, as well as side windows generally.

Changes:

Testing:

redguardtoo commented 4 years ago

Thanks

redguardtoo commented 4 years ago

@fishyfriend , I re-applied your patch. Could you fix the unit test?

fishyfriend commented 4 years ago

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.)

redguardtoo commented 4 years ago

No problem. I will fix the unit test.