Skip to content

Keep completion candidates when using devil #1265

Description

@Draune

Hi !

I use devil, which is a non modal minor mode that use the coma as a sticky key, and I can't circle through the completion candidates using ", n" which translate as "C-n".

Devil works well with Corfu for example.

I reproduced the bug using this "minimal" config with just use-package, lsp-bridge (and dependencies) and devil :

(require 'package)
(setq package-user-dir "~/.emacs.d/elpa/")
(package-initialize)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))
(eval-when-compile (require 'use-package))

(use-package markdown-mode
  :ensure t)

(use-package yasnippet
  :ensure t
  :config
  (yas-global-mode 1)
  )

(use-package lsp-bridge
  :vc (:url "https://github.com/manateelazycat/lsp-bridge")
  :ensure t
  :init
  (setq lsp-bridge-log-level 'debug)
  (global-lsp-bridge-mode)
  )

(use-package devil
  :ensure t
  :config
  (global-devil-mode)
  (global-set-key (kbd "C-,") 'global-devil-mode)
  )

I attached the log from *lsp-bridge* in log.txt

log.txt

How to reproduce the issue:

  • launch emacs with the file emacs -q -l file.el
  • open a .el file
  • type (m
  • and then type , n
  • it deactivate the completion and run next-line

I saw that just typing the coma deactivate the completion to even if I don't enter anything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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