jmickelin / vim-empty-lines-mode

Vim-like empty line indicator at end of files for Emacs.
GNU General Public License v3.0
10 stars 3 forks source link

Incompatibility with `company-mode` #2

Open sooheon opened 9 years ago

sooheon commented 9 years ago

I am getting input lock with the following message when a company-mode popup appears with suggestions with vim-empty-lines-mode enabled.

Company: Front-end company-pseudo-tooltip-unless-just-one-frontend error "Invalid search bound (wrong side of point)" on command post-command

Steps to reproduce: In any .el file, turn on both company and vim-empty-lines modes, type any prefix to a completion anywhere other than the trailing line.

Additionally, typing in the trailing line has its own set of issues: Expected: screen shot 2015-01-07 at 11 57 48 am

Actual: screen shot 2015-01-07 at 11 56 05 am

Instead of the company-mode popup appearing under the word, it appears at start of line, and any further input appears below that, not appended to the cursor.

jmickelin commented 9 years ago

The first problem seems to be caused by a bug in company-mode and I have opened an issue there (company-mode/company-mode#274).

The second one seems to be caused by company-mode trying to insert the completion window between the two propertized strings at the end of the buffer. I think this is my fault, but I will have to take a closer look at it.

ninrod commented 7 years ago

this does not seem to be happening anymore.

sooheon commented 7 years ago

The first bug is fixed, the second one I can still reproduce with emacs -Q and only evil, company, and vim-empty-lines enabled.

ninrod commented 7 years ago

@sooheon, try @hchbaw's fork in the thb branch.

wberrier commented 4 years ago

I also noticed some company mode issues in the thb branch...