Skip to content

counsel-recoll can overwrite current-buffer #403

@DWgit

Description

@DWgit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions