perspective-el icon indicating copy to clipboard operation
perspective-el copied to clipboard

Incompatible with ido-use-virtual-buffers

Open purcell opened this issue 13 years ago • 5 comments

In the latest Emacs, ido-use-virtual-buffers enables the re-opening of recently-edited files by including them in the buffer list displayed by ido-switch-buffer. In persp-mode, those buffers don't get listed. I'm not exactly sure what the ideal behavior would be in this case, but perhaps it would be useful to add a toggle which would allow persp-mode to honor that ido flag.

purcell avatar Oct 19 '11 09:10 purcell

Agreed, this would be very useful.

glucas avatar Oct 02 '14 19:10 glucas

I don't use ido personally but I'd love to get a patch for this.

nex3 avatar May 09 '15 00:05 nex3

This is ~8 years old with no real new comments... is this still relevant? OP? Can you close if not?

zenspider avatar Nov 27 '19 04:11 zenspider

Yes, this is still relevant, although I don't use ido but ivy, which has a similar flag ivy-use-virtual-buffers.
It should be possible to honor this flag in the new persp-ivy-switch-buffer defun.

twmr avatar Feb 08 '20 08:02 twmr

Very interesting. Clearly not a feature of Ido or Ivy I've looked at before. I'd like some input from people who use virtual buffers in either framework. What behavior would make the most sense?

  1. Present closed buffers from any past or present perspective (the easiest and most efficient solution, but possibly confusing).

  2. Only present closed buffers which were formerly in the current perspective. If so: (1) What should happen when the perspective is closed? (2) Should closed buffer history be retained if a new perspective is opened with the same name? (3) When a buffer is removed from a perspective, should it stay in the virtual list?

gcv avatar Feb 13 '20 02:02 gcv