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

counsel-projectile-preview-buffers t and unable to open a file #178

Open
msvorad opened this issue Jul 9, 2021 · 1 comment
Open

counsel-projectile-preview-buffers t and unable to open a file #178

msvorad opened this issue Jul 9, 2021 · 1 comment

Comments

@msvorad
Copy link

msvorad commented Jul 9, 2021

I'm unable to open some files when invoking function counsel-projectile-switch-project with counsel-projectile-preview-buffers set to t. It behaves quite strangely. I type a part of the filename I want to open (eg. gitlab-ci), selection narrows down to just one file, I hit enter or tab and new buffer is opened. But it is blank with no backing file. If I type something and try to save, emacs starts complaining (Please specify a filename for the buffer).
It works well when I use ivy-next-line and ivy-previous-line to navigate in a minibuffer (when populated with a list of files from particular project). But as soon as I start to narrow down the list by typing letters, I can see the file content in a preview but I'm unable to open it.
When I configure counsel-projectile-preview-buffers to nil, everything works just fine.

@ericdanan
Copy link
Owner

Hi, thanks for the report. I was able to reproduce the issue and I must say it seems quite mysterious to me. Given that I am struggling to find time to maintaint the package currently, it may take quite some time before I can investigate. Any PR / suggestion welcome in the meantime!

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

No branches or pull requests

2 participants