alphapapa / burly.el

Save and restore frames and windows with their buffers in Emacs
GNU General Public License v3.0
301 stars 14 forks source link

Make burly-tabs-mode magit branch aware #52

Closed ParetoOptimalDev closed 1 month ago

ParetoOptimalDev commented 2 years ago

If I call burly-bookmark-windows and magit has checked out a certain branch or worktree I'd like it to restore that.

I'm open to the argument burly should only restore worktrees so bookmarks never clobber, but I bet branches would probably be fine.

Maybe this is more appropriate as a seperate package? If not, I'd be happy to try to implement this and send a PR.

alphapapa commented 2 years ago

That's an interesting idea, but it's well out of Burly's scope. Burly restores windows and frames.

alphapapa commented 2 years ago

More specifically, this sounds like a matter of bookmarking magit-status buffers to certain branches, which is also outside of Burly's scope. You could accomplish something like this already by checking out a branch into a worktree and bookmarking that worktree's status buffer.