Le mardi 2 décembre 2014 10:06:59 UTC+1, Enno a écrit :
> Le lundi 1 décembre 2014 20:42:50 UTC+1, [email protected] a écrit :
> > Comment #3 on issue 290 by [email protected]: gVim does not jump to 
> >  
> > given linennumber if already at end of file
> > https://code.google.com/p/vim/issues/detail?id=290
> > 
> > Vim 7.4 works correctly with +[<number>] here (if no number is given, Vim  
> > jumps to the last line number). I cannot reproduce the problem. Does it  
> > happen if you start vim -u NONE -N +2
> > ?
> > 
> > -- 
> > You received this message because this project is configured to send all  
> > issue notifications to this address.
> > You may adjust your notification preferences at:
> > https://code.google.com/hosting/settings
> 
> Let me provide exact instructions. Create an empty file ~/.gvimrc.light . and 
> a file ~/.vimrc.light that reads
> 
> set nocompatible
> filetype plugin indent on
> syntax enable
> 
> Then create a file ~/file.txt that reads
> 
> a
> b
> c
> d
> e
> 
> Then 
> 
> gvim --servername GVIM2 +5 file.txt
> gvim --servername GVIM2 --remote-send +1 file.txt
> 
> Expected: Cursor is in line 1. Reality: Cursor is in line 5.

CORRECTION: 

Replace the last two lines 

gvim --servername GVIM2 +5 file.txt
gvim --servername GVIM2 --remote-send +1 file.txt

by 

gvim -n -u ~\.vimrc.light -U ~\.gvimrc.light --servername GVIM2 --remote-send 
+1 file.txt
gvim -n -u ~\.vimrc.light -U ~\.gvimrc.light --servername GVIM2 --remote-send 
+1 file.txt

-- 
-- 
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