sly icon indicating copy to clipboard operation
sly copied to clipboard

sly-repl conflicts with the new completion navigation feature in Emacs 29.

Open BooAA opened this issue 2 years ago • 5 comments

Hi, thanks for the work. Below is the bug I encounter in Emacs 29 when using the built in completion UI. (e.g. disable sly-symbol-completion-mode).

In Emacs 29, a new feature is added to let users navigate and choose completions from the ordinary buffer and no need to jump to the *completion* buffer. (By M-up, M-down, M-RET) News from Emacs. It should look like screenshot below:

https://user-images.githubusercontent.com/32809182/190444166-ea189977-2fec-44e2-acaa-dd444a231f9a.mov

However, sly's repl seems to conflict with this feature. Below is the snippets I use to reproduce the bug:

(use-package sly
  :custom ((inferior-lisp-program "sbcl")
           (sly-symbol-completion-mode nil))) ;; disable sly's own fancy completion UI

Using M-up and M-down to navigate the candidates are fine, but pressing M-RET shows "text is read-only" and the candidates cannot be inserted. Screenshot below:

https://user-images.githubusercontent.com/32809182/190445767-44c79d02-01e4-4f0e-a8dd-6a163a2b9509.mov

BooAA avatar Sep 15 '22 15:09 BooAA

Thanks for the report. I reproduced it.

joaotavora avatar Sep 15 '22 22:09 joaotavora

Same issue

Uthar avatar Oct 16 '22 06:10 Uthar

Hmmm, mabye an issue in Emacs. I get the same in inferior python mode.

Uthar avatar Oct 16 '22 14:10 Uthar

see bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58353

Uthar avatar Oct 16 '22 14:10 Uthar

Very nice, thanks @Uthar

joaotavora avatar Oct 16 '22 15:10 joaotavora