Hello,

Can you confirm those are issues: the autoselectplus option of clipboard is 
also setting the "* register, and pasting over a visually selected line does 
not replace its content.

Workflow to reproduce:

Using konsole or xterm as terminal on CentOS7. TERM=xterm-256color. Huge build 
of VIM.
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 14 2017 22:22:59)
Included patches: 1-1193
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl             +comments        +extra_search    +keymap          +mouse_dec  
     +path_extra      +smartindent     +timers          +X11
+arabic          +conceal         +farsi           +lambda          +mouse_gpm  
     +perl            +startuptime     +title           -xfontset
+autocmd         +cryptv          +file_in_path    +langmap         
-mouse_jsbterm   +persistent_undo +statusline      +toolbar         +xim
+balloon_eval    +cscope          +find_in_path    +libcall         
+mouse_netterm   +postscript      -sun_workshop    +user_commands   +xpm
+browse          +cursorbind      +float           +linebreak       +mouse_sgr  
     +printer         +syntax          +vertsplit       +xsmp_interact
++builtin_terms  +cursorshape     +folding         +lispindent      
-mouse_sysmouse  +profile         +tag_binary      +virtualedit     
+xterm_clipboard
+byte_offset     +dialog_con_gui  -footer          +listcmds        
+mouse_urxvt     +python          +tag_old_static  +visual          -xterm_save
+channel         +diff            +fork()          +localmap        
+mouse_xterm     -python3         -tag_any_white   +visualextra
+cindent         +digraphs        +gettext         -lua             +multi_byte 
     +quickfix        -tcl             +viminfo
+clientserver    +dnd             -hangul_input    +menu            +multi_lang 
     +reltime         +termguicolors   +vreplace
+clipboard       -ebcdic          +iconv           +mksession       -mzscheme   
     +rightleft       +terminal        +wildignore
+cmdline_compl   +emacs_tags      +insert_expand   +modify_fname    
+netbeans_intg   -ruby            +terminfo        +wildmenu
+cmdline_hist    +eval            +job             +mouse           +num64      
     +scrollbind      +termresponse    +windows
+cmdline_info    +ex_extra        +jumplist        +mouseshape      +packages   
     +signs           +textobjects     +writebackup


$ echo yanked line > testfile.txt 
$ echo overwrite line >> testfile.txt 

Issue 1: "* is also set when clipboard=autoselectplus

$ rm -f ~/.viminfo ; vim -N -u NONE testfile.txt
:set clipboard=autoselectplus
:reg
--- Registers ---
"*   empty
"+   empty
":   set clipboard=autoselectplus
"%   testfile.txt


V<Esc>

:reg
--- Registers ---
"*   yanked line^J
"+   yanked line^J
":   reg
"%   testfile.txt
:quit

Expected result: only "+ is changed, but "* is also updated

Issue 2: Pasting over a visually selected line does not overwrite it when 
autoselectplus and unnamedplus are set.

$ rm -f ~/.viminfo ; vim -N -u NONE testfile.txt
:set clipboard=autoselectplus,unnamedplus
:reg
--- Registers ---
"*   empty
"+   empty
":   set clipboard=autoselectplus,unnamedplus
"%   testfile.txt

yyjVp

:reg
--- Registers ---
""   overwrite line^J
"0   yanked line^J
"1   overwrite line^J
"*   overwrite line^J
"+   overwrite line^J
":   reg
"%   testfile.txt
:wq

Expected result: "overwrite line" has been replaced by "yanked line", so that 
both lines of the file contains "yanked file".
Note: the issue is reproducible with the following configurations:
* autoselectplus,unnamedplus
* autoselectplus,unnamed
* autoselect,unnamed
It does not seem to be reproducible with other combinations:
* autoselectplus
* autoselect
* unnamed
* unnamedplus
* autoselect,unnamedplus

Thanks for your advices...

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui