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-recoll can overwrite current-buffer #403

Closed
DWgit opened this issue Feb 26, 2016 · 1 comment
Closed

counsel-recoll can overwrite current-buffer #403

DWgit opened this issue Feb 26, 2016 · 1 comment

Comments

@DWgit
Copy link

DWgit commented Feb 26, 2016

Under nondeterministic conditions, counsel-recoll can overwrite the current buffer. It's easy to recreate and easy to fix.

  1. Create a junk buffer and make it current
  2. Launch counsel-recoll with a long-running query that returns lots of candidates
  3. While counsel-recoll is running, hit C-g

The junk buffer should contain some raw recoll output.

To fix: In counsel-recoll, add an :unwind clause:
:unwind #'counsel-delete-process

@abo-abo
Copy link
Owner

abo-abo commented Feb 26, 2016

Thanks.

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