In the year 2012, of the month of October, on the 8th day, Boris Faure wrote:
> On 12-10-08 14:07, dave wrote:
> >  In the year 2012, of the month of October, on the 6th day, Boris Faure 
> > wrote:
> > > I've fixed in rev 77549 an issue I had when resizing a vim with a split.
> > > Please test it heavily as it might break other applications.
> > 
> >  I'm not sure if this is related to your changes, but the vim screen doesn't
> > update when you try and delete a single line of text (using 'dd').  I have 
> > to
> > refresh the screen to see the deletion.
> > 
> >  Multiple line deletion shows up fine on the screen.
> > 
> >  Running Terminology, rev 77561.
> > 
> >  Cheers,
> >  dave.k
> 
> It works just fine for me. Do you do anything special other than dd? Is
> it on the first line? Do you have tabs? Do you have splits?
> Could you give me the minimal case to reproduce the bug?
> Could you give me your vim comfig and a 'vim --version'? It could be
> related.
> 
> Greetings
> -- 
> Boris Faure
> Pointer Arithmetician


 Thanks for checking it out.

 I haven't noticed any other issue.  I wouldn't call "dd" that special. ;)
All the other basic movement/delete commands work fine: dG, d1G, dw, d{UP}
Wait, if I'm on the last line of a paragraph, then d} has the same issue.
"dd" does work fine if on the last line of the file.

 Oh wait, I do set the TERM env to xterm-color.  Nope, setting it back to
xterm doesn't make a difference.

 Minimal case: edit a multiline text file and press "dd" on the first line.

 Vim version (debian testing):
 VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 16 2012 04:12:21)

 Also tested with Debian stable (VIM 7.2), via ssh.  Same issue.

 Vim config is basically default, with the following .vimrc:
-------
au BufRead,BufNewFile known_hosts set filetype=knownhosts
au! Syntax knownhosts source /home/dave/.vim/syntax/knownhosts.vim
syn on
-------

 Really, nothing that special, other than my custom syn highlighting file,
because I was annoyed that the ssh knownhosts file had no colour highlights.

...

 I played around with different SVN versions and discovered that the "dd"
issue started with rev 77549, with the update of line 130 in the termptyops.c
file:
   if (ty->state.cy >= e && ty->state.cy >= ty->h)
 
 For some reason, that second test throws off "dd" with my vim.  Don't know
the source code well enough to know what those states mean, though.

 Cheers,
 dave.k


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to