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

Feature: Count of frames and windows a bookmark holds #18

Open iSeeU816 opened 3 years ago

iSeeU816 commented 3 years ago

Hi,

You've a great collection of Emacs packages, I'm currently using org-ql and org-super-agenda, and I plan to use Burly once tab support get implanted. Thank you!

File column in *Bookmark List* buffer is useless when it comes to window and frame configurations. What about make use of it somehow to list what each Burly's bookmarks are about. I mean something like the count of frames, windows and tab a bookmark holds.

If that not possible, then bookmark annotation might be a way to handle this. Or maybe append this information to a bookmark name; like Burly [1F2W]: foo, here 1F2W means one frame and two windows. The total of windows are from all frames to not make it complex. Maybe use Unicode characters instead of F and W characters.

Examples:

%  Bookmark                              File
----------------------------------------------------------------------
   normal_bookmark                       /tmp/a/b.txt
   Burly [1F3W]: foo                     -- Unknown location --
   Burly [4F10W]: bar                    -- Unknown location --
   Burly [1T2W]: baz                     -- Unknown location --
   ...
   Burly: qux                            1 frame(s); 2 window(s)
   Burly: quux                           0 frame(s); 5 window(s)
   ...

Why?

These kind of metadata help to know what to expect when opening a bookmark.

Thanks!

alphapapa commented 3 years ago

That's not a bad idea. I'll look into it. Thanks.