Skip to content

error in process filter: Quit when exiting completion with Ivy #342

Open
@dragoonpilot

Description

@dragoonpilot

Hello,

After triggering a completion with Ivy completion-at-point and exiting without selecting a candidate, there is an "error in process filter: Quit" message in the echo area along with a ~2 second hang where I am unable to do anything.

Here is my entire init.el:

(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
                    (not (gnutls-available-p))))
       (proto (if no-ssl "http" "https")))
  (when no-ssl
    (warn "\
Your version of Emacs does not support SSL connections,
which is unsafe because it allows man-in-the-middle attacks.
There are two things you can do about this warning:
1. Install an Emacs version that does support SSL and be safe.
2. Remove this warning from your init file so you won't see it again."))
  ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
  (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
  ;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
  (when (< emacs-major-version 24)
    ;; For important compatibility libraries like cl-lib
    (add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")))))
(package-initialize)
(require 'ivy)
(require 'anaconda-mode)
(ivy-mode 1)
(pythonic-activate "/path/to/venv")
(add-hook 'python-mode-hook 'anaconda-mode)

Steps:

  1. Trigger a completion with C-M-i. I am able to see candidates and scroll through them with C-n and C-p.
  2. Exit the completion without selecting a candidate by pressing ESC 3 times or C-[ 3 times.
  3. "error in process filter: Quit" is shown in echo area. Emacs is frozen for 2-3 seconds.

Everything works fine if I select a candidate with C-m and exit the completion normally.

*anaconda-mode* buffer contents:
anaconda_mode port 45293

*anaconda-socat* and *anaconda-response* are empty/non-existent.

System:
Lubuntu 18.04
Emacs 26.1
Python 3.6.7
Output of pip freeze with activated venv:

Django==2.1.3
pkg-resources==0.0.0
pytz==2018.7

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions