Le mardi 2 décembre 2014 15:34:09 UTC+1, Enno a écrit :
> Le lundi 1 décembre 2014 12:39:10 UTC+1, [email protected] a écrit :
> > Status: New
> > Owner: ----
> > Labels: Type-Defect Priority-Medium
> > 
> > New 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
> > 
> > What steps will reproduce the problem?
> > 1. gvim +G file.txt
> > 2. gvim +{linenumber} file.txt
> > 
> > What is the expected output? What do you see instead?
> > The cursor does not move but should move to the supplied line number.
> > 
> > What version of the product are you using? On what operating system?
> > 
> > gVim 7.4.514 on Windows 7 64bit.
> > 
> > Please provide any additional information below.
> > 
> > 
> > 
> > -- 
> > 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
> 
> Thanks again, it is indeed only 
> 
> nnoremap : , 
> 
> that causes the issue in editexisting.vim and your fix resolves it. 
> 
> It is unexpected that a normal mode mapping interferes because the user sends 
> no normal mode key sequences in neither command
> 
>  gvim -n -u ~/.vimrc.light -U NONE --servername GVIMTEST +5 file.txt 
>  gvim -n -u ~/.vimrc.light -U NONE --servername GVIMTEST +1 file.txt

Even with your patched version and without the offending 

nnoremap : ,

there are issues: for example 

gvim -n -u ~\.vimrc.light +5 -c bd file.txt

will work fine and delete the current buffer, but

gvim -n -u ~\.vimrc.light +5 -c split file.txt

does nothing. Expected: splits current window. 

Just as

gvim -n -u ~\.vimrc.light +split file.txt

that again works fine.

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