flx icon indicating copy to clipboard operation
flx copied to clipboard

Interaction with ido-use-virtual-buffers set to 'auto

Open glucas opened this issue 11 years ago • 2 comments

The following configuration causes a problem when trying to switch to a recently closed buffer:

(flx-ido-mode 1)
(setq ido-use-virtual-buffers 'auto)

Invoking ido-switch-buffer and then typing a name that does not match the current set of buffers but does match a recently visited buffer causes the cursor to jump to the beginning of the minibuffer (before the prompt) and gets things in a state where the only thing I can do is cancel out with C-g.

glucas avatar Dec 11 '14 22:12 glucas

Hmmm. Does it work okay if you set ido-use-virtual-buffers to t?

lewang avatar Dec 12 '14 01:12 lewang

Yes, that works. It's only an issue with 'auto, presumably because of how the set of candidates gets reset when there aren't any open buffers that match.

It is a bit confusing using flx + virtual buffers, because you can get matches from the recent files list ahead of legitimate matches against open buffers.

glucas avatar Dec 12 '14 19:12 glucas