riv.vim icon indicating copy to clipboard operation
riv.vim copied to clipboard

Problem with <C-E>

Open idahogray opened this issue 11 years ago • 11 comments

I have a problem that I haven't been able to track down yet. I can enter 1 section title but then any further attempts to enter a section title result in a frozen vim. i have to press <C-C> to get control back. However, after that <C-E>s1...<C-E>s6 always produce a frozen vim.

Hopefully someone can point me in the right direction as to what I am doing wrong.

idahogray avatar Jul 09 '13 05:07 idahogray

Your vim version and OS version please~

gu-fan avatar Nov 18 '13 05:11 gu-fan

I was having trouble remembering where I saw this and I am almost positive it was when I was using Putty on Windows to SSH into a server.

Let me know if you need more information.

On Sun, Nov 17, 2013 at 11:43 PM, Rykka [email protected] wrote:

Your vim version and OS version please~

Reply to this email directly or view it on GitHubhttps://github.com/Rykka/riv.vim/issues/38#issuecomment-28676668 .

idahogray avatar Feb 05 '14 22:02 idahogray

So you are using it on a server ? I havn't test it in that situation. But I guess as this plugin will calculate a lot when folding and calc section level , It is comprehensible that froze the vim on a server.

gu-fan avatar Feb 06 '14 04:02 gu-fan

I have the same issue on a local vim. This is my vim version:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33)
MS-Windows 32-bit GUI version with OLE support
Compiled by mool@tororo
Big version with GUI.  Features included (+) or not (-):
+arabic             +cursorshape        -hangul_input       +multi_byte_ime/dyn +scrollbind         +user_commands
+autocmd            +dialog_con_gui     +iconv/dyn          +multi_lang         +signs              +vertsplit
+balloon_eval       +diff               +insert_expand      -mzscheme           +smartindent        +virtualedit
+browse             +digraphs           +jumplist           +netbeans_intg      -sniff              +visual
++builtin_terms     -dnd                +keymap             +ole                +startuptime        +visualextra
+byte_offset        -ebcdic             +langmap            +path_extra         +statusline         +viminfo
+cindent            +emacs_tags         +libcall            +perl/dyn           -sun_workshop       +vreplace
+clientserver       +eval               +linebreak          +persistent_undo    +syntax             +wildignore
+clipboard          +ex_extra           +lispindent         -postscript         +tag_binary         +wildmenu
+cmdline_compl      +extra_search       +listcmds           +printer            +tag_old_static     +windows
+cmdline_hist       +farsi              +localmap           -profile            -tag_any_white      +writebackup
+cmdline_info       +file_in_path       -lua                +python/dyn         +tcl/dyn            -xfontset
+comments           +find_in_path       +menu               +python3/dyn        -tgetent            -xim
+conceal            +float              +mksession          +quickfix           -termresponse       -xterm_save
+cryptv             +folding            +modify_fname       +reltime            +textobjects        +xpm_w32
+cscope             -footer             +mouse              +rightleft          +title              
+cursorbind         +gettext/dyn        +mouseshape         +ruby/dyn           +toolbar            
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjGOLYHTRi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl85.dll\" -DDYNAMIC_TCL_VER=\"8.5\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python32.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl514.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=19 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby192.dll\" -DFEAT_BIG /Fd.\ObjGOLYHTRi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib  user32.lib      /nodefaultlib:python27.lib /nodefaultlib:python32.lib   "E:\tcl\lib\tclstub85.lib" WSock32.lib xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug

mpcjanssen avatar Feb 21 '14 10:02 mpcjanssen

then maybe some code goes wrong. Have you tried on other machine? Or your python version is not correct? (The gvim 7.4 have change something in python loading, But I have not check the detail yet.)

I'm currently thinking rewriting this plugin, but need some time to do this :cat:

gu-fan avatar Feb 22 '14 17:02 gu-fan

I confirm the bug on gvim under win7 professional and vim under ubuntu 14.04. Suppose, more accurate description would be "unable to create more than one section one at the end of file".

The easiest way to reproduce the bug is to create a new file with this short content:

aaasdgfag
=========

lhag;ljhdlafhad

|

(| denotes the cursor position) and press <C-E>s1. Freeze!

theoden-dd avatar May 03 '14 21:05 theoden-dd

I have confirmed this behavior on OS 10.8.5 running MacVim Snapshot 59. Rvim downloaded and installed 2 weeks ago from master.

I can insert section one anywhere else in the file as long as there is some text between the cursor and the end of the file.

kajigga avatar May 06 '14 16:05 kajigga

Does command :RivTitle1 :RivTitle2 works alright?

It maybe caused by incompatible with other plugins.

gu-fan avatar Jul 11 '14 11:07 gu-fan

I am getting this on vim 7.4 and Ubuntu 16.04.5 LTS. I tried with both [C-e]s1 and :RivTitle1 and both freeze.

folofjc avatar Nov 21 '18 18:11 folofjc

freeze? try vim 8 ?

gu-fan avatar Dec 02 '18 08:12 gu-fan

looks like I have the same in neovim.. would be glad to provide more info and/or pr with guidance..

gh-atuzhikov avatar Jun 26 '20 16:06 gh-atuzhikov