oantolin / live-completions

Live updating of the *Completions* buffer
GNU General Public License v3.0
27 stars 3 forks source link

Tramp password input aborted when any key pressed #9

Open tangxinfa opened 3 years ago

tangxinfa commented 3 years ago

Reproduce this bug with following steps:

0, emacs version

GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27

1, enable live-completions-mode

M-x live-completions-mode

2, open a tramp path

C-x C-f /ssh:root@192.168.67.140:

3, minibuffer prompt for input password

Password for /ssh:root@192.168.67.140:

4, press any key such as "a", the tramp connection failed immediately, see *Messages* buffer

Tramp: Waiting for prompts from remote shell...
Tramp: Sending password
Tramp: Waiting for prompts from remote shell...failed

It looks like 'live-completions--update' intercepted the password input, when i comment out "(while-no-input " line, this problem is gone.