Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion inserted in wrong place with new emacs version. #3056

Open
chep opened this issue Aug 26, 2024 · 4 comments
Open

Completion inserted in wrong place with new emacs version. #3056

chep opened this issue Aug 26, 2024 · 4 comments

Comments

@chep
Copy link

chep commented Aug 26, 2024

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)

@basil-conto
Copy link
Collaborator

Thanks, and sorry for the delay in resolving this.

Is this problem already covered in #1755 (comment) and #3051?

@basil-conto

This comment was marked as off-topic.

@chep
Copy link
Author

chep commented Aug 26, 2024

It sounds the same as #1755. Sorry for the duplicated issue.

@chep
Copy link
Author

chep commented Aug 26, 2024

I tried the branch of the pull request and it seems to solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@chep @basil-conto and others