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

Vim "Not responding" when <C-C> is pressed while waiting for input of "new_file" aciton. On Windows10 #174

Closed
tamago324 opened this issue Nov 15, 2019 · 1 comment

Comments

@tamago324
Copy link

Problems summary

Call defx#do_action('new_file'), wait for input filename ("Please input a new filename.").
Pressing <C-c> causes Vim to become "Not responding"

Expected

Cancel waiting for input like <C-[>

Environment Information

  • defx version(SHA1): 0a42be5

  • OS: Windows 10 64bit

  • neovim/Vim version:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 29 2019 23:02:14)
MS-Windows 64 ビット GUI 版 with OLE サポート
適用済パッチ: 1-2233
Compiled by appveyor@APPVYR-WIN
Huge 版 with GUI.  機能の一覧 有効(+)/無効(-)
+acl                +clipboard          +directx            +gettext/dyn        +localmap           +packages           +scrollbind         -termguicolors      +visual
+arabic             +cmdline_compl      -dnd                -hangul_input       +lua/dyn            +path_extra         +signs              +terminal           +visualextra
+autocmd            +cmdline_hist       -ebcdic             +iconv/dyn          +menu               +perl/dyn           +smartindent        -termresponse       +viminfo
+autochdir          +cmdline_info       +emacs_tags         +insert_expand      +mksession          +persistent_undo    +sound              +textobjects        +vreplace
+autoservername     +comments           +eval               +job                +modify_fname       -postscript         +spell              +textprop           -vtp
+balloon_eval       +conceal            +ex_extra           +jumplist           +mouse              +printer            +startuptime        -tgetent            +wildignore
-balloon_eval_term  +cryptv             +extra_search       +keymap             +mouseshape         +profile            +statusline         +timers             +wildmenu
+browse             +cscope             -farsi              +lambda             +multi_byte_ime/dyn +python/dyn         -sun_workshop       +title              +windows
++builtin_terms     +cursorbind         +file_in_path       +langmap            +multi_lang         +python3/dyn        +syntax             +toolbar            +writebackup
+byte_offset        +cursorshape        +find_in_path       +libcall            +mzscheme/dyn       +quickfix           +tag_binary         +user_commands      -xfontset
+channel            +dialog_con_gui     +float              +linebreak          +netbeans_intg      +reltime            -tag_old_static     +vartabs            -xim
+cindent            +diff               +folding            +lispindent         +num64              +rightleft          -tag_any_white      +vertsplit          +xpm_w32
+clientserver       +digraphs           -footer             +listcmds           +ole                +ruby/dyn           +tcl/dyn            +virtualedit        -xterm_save
      システム vimrc: "$VIM\vimrc"
      ユーザー vimrc: "$HOME\_vimrc"
   第2ユーザー vimrc: "$HOME\vimfiles\vimrc"
   第3ユーザー vimrc: "$VIM\_vimrc"
       ユーザー exrc: "$HOME\_exrc"
    第2ユーザー exrc: "$VIM\_exrc"
     システム gvimrc: "$VIM\gvimrc"
     ユーザー gvimrc: "$HOME\_gvimrc"
  第2ユーザー gvimrc: "$HOME\vimfiles\gvimrc"
  第3ユーザー gvimrc: "$VIM\_gvimrc"
  デフォルトファイル: "$VIMRUNTIME\defaults.vim"
    システムメニュー: "$VIMRUNTIME\menu.vim"
コンパイル: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL   -DFEAT_XPM_W32   -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python37.dll\" -DFEAT_MZSCHEME -I "C:\Program Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DFEAT_HUGE /Fd.\ObjGXOULYHTRZAMD64/ /Zi
リンク: link  /nologo /opt:ref /LTCG:STATUS /HIGHENTROPYVA:NO oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64 gdi32.lib version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib  /machine:AMD64  libcmt.lib oleaut32.lib user32.lib  /nodefaultlib:lua53.lib  /STACK:8388608  /nodefaultlib:python27.lib /nodefaultlib:python37.lib   "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib xpm\x64\lib-vc14\libXpm.lib /PDB:gvim.pdb -debug
  • :checkhealth or :CheckHealth result(neovim only):

Provide a minimal init.vim/vimrc with less than 50 lines (Required!)

set encoding=utf-8
scriptencoding utf-8

syntax enable
filetype plugin indent on

set nocompatible

set runtimepath+=~/vimfiles/plugged/defx.nvim,~/vimfiles/plugged/nvim-yarp,~/vimfiles/plugged/vim-hug-neovim-rpc

let g:python3_host_prog = $LOCALAPPDATA.'/Programs/Python/Python37/python'

function! s:defx_my_settings() abort
    nnoremap <silent><buffer><expr> N defx#do_action('new_file')
endfunction

augroup MyAutoCmd
    autocmd!
    autocmd FileType defx call s:defx_my_settings()
augroup END

The reproduce ways from neovim/Vim starting (Required!)

  1. gvim.exe -u vimrc_minimal
  2. :Defx
  3. Press N (call defx#do_action('new_file'))
  4. Press <C-c>
  5. Vim becomes "Not responding"

Generate a logfile if appropriate

Screen shot (if possible)

Upload the log file

@tamago324
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants