swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Completion inserted in wrong place with new emacs version.

Open chep opened this issue 6 months ago • 4 comments

Since this commit in emacs: 6b7ff60a5e71c161a064e27509fe4fb95cf74ddd (I usually use master branch) I'm not able to use (completion-at-point) when ivy-mode is enabled . Completion works fine but is inserted in the wrong place.

Example:

I have this directory: /tmp/directory/child I run M-x compile Delete the compile line and type cd /tmp/directory/ch and then press TAB (completion-at-point) I now have cd /tmp/directchild in the minibuffer.

I don't know if this is an emacs bug or if ivy-mode has to adapt to a new behavior.

It can be reproduced with emacs -q:

(add-to-list 'load-path "~/.emacs.d/straight/repos/swiper/")
(require 'ivy)
(ivy-mode)

Then, compile command is a good exemple to reproduce the bug.

(I got commit hash with git bisect)

chep avatar Aug 26 '24 15:08 chep