Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with ido-use-virtual-buffers #10

Open
purcell opened this issue Oct 19, 2011 · 5 comments
Open

Incompatible with ido-use-virtual-buffers #10

purcell opened this issue Oct 19, 2011 · 5 comments

Comments

@purcell
Copy link

purcell commented Oct 19, 2011

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.

@glucas
Copy link

glucas commented Oct 2, 2014

Agreed, this would be very useful.

@nex3
Copy link
Owner

nex3 commented May 9, 2015

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

@zenspider
Copy link
Collaborator

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

@twmr
Copy link

twmr commented Feb 8, 2020

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.

@gcv
Copy link
Collaborator

gcv commented Feb 13, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants