2008/11/19 John Little <[EMAIL PROTECTED]>:

> Dominique
>
> When I follow this:
>
>> 1/ start vim with valgrind:   valgrind 2> valgrind.log  vim -u NONE
>> 2/ select some text with mouse outside vim (one line is enough)
>> 3/ enter INSERT mode in vim and type some text:   iThis is a test<Esc>
>> 4/ visual select line typed in 3/  with:   V
>> 5/ click middle mouse to paste text selected in 2/
>
> step 5 attempts to insert the text entered in step 3, but interprets
> most of it as commands in "Visual" mode,
> Th => back to the h, is => motion inner sentence, and so on, finally
> changing the selection with s to get a solitary "t".  So, following
> your first step 8, it was the text selected by step 5 that was being
> inserted at step 8.  valgrind reports an error in getpwuid_r during
> vim's startup, but no further errors, other than various leaks
> reported on exit.

Right, but bug also happens if I entered insert mode before pasting
text.

Anyway, I found the root cause and a fix.  See my previous post:
It only happened with locale being set to eo_XX.UTF-8, and a change
in my /usr/share/X11/locale/locale.dir fixes it.


> I wonder what mouse support your build has; in principle not relevant
> unless one uses set mouse, but I was surprised that my vim build was
> silently affected by the presence of gpm.  My :ver says
>
>  +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm
> +mouse_netterm -mouse_sysmouse +mouse_xterm

For the record, It happened with:

+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand
+jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
-mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte
+multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra -perl +postscript
+printer +profile -python +quickfix +reltime +rightleft -ruby +scrollbind
+signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim

-- Dominique

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui