abo-abo / avy

Jump to things in Emacs tree-style
1.73k stars 110 forks source link

Use avy-frame-list-function to get frames #366

Open georgek opened 1 year ago

georgek commented 1 year ago

This allows a user to use visible-frame-list, or any other function, instead of frame-list. This is useful, for example, in a tiling window manager where it's possible to get visible-frame-list (or some other function) to return only the frames in your current workspace.

Perhaps visible-frame-list is even a sensible default, but I don't know if it might break things for some users. It seems frame-list would include frames that are minimised etc. which would be quite confusing.