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

Comments

Projects
None yet
2 participants
@DWgit

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 abo-abo closed this in 26c8246 Feb 26, 2016

@abo-abo

This comment has been minimized.

Show comment
Hide comment
@abo-abo

abo-abo Feb 26, 2016

Owner

Thanks.

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