h file.
>
> gvim -N -u NONE
> :tabe test1.tmp
> :put =range(1,90)
> :w
> :tabe test2.tmp
> :put =range(1,100)
> :xa
>
> Execute the following to generate internal error E315:
>
> gvim -N -u NONE
> :source $VIMRUNTIME/defaults.vim
> :tabe test2.tmp
> :ve
> :tabe test2.tmp
> :vert diffs test1.tmp
>
> Result:
>
> "test1.tmp" 91L, 353C
> E315: ml_get: invalid lnum: 92
> Press ENTER or type command to continue
I can reproduce it.
And also occurs in the following procedure. Probably, so this is option
'scrollo
e(1,90)
:w
:tabe test2.tmp
:put =range(1,100)
:xa
Execute the following to generate internal error E315:
gvim -N -u NONE
:source $VIMRUNTIME/defaults.vim
:tabe test2.tmp
:vert diffs test1.tmp
Result:
"test1.tmp" 91L, 353C
E315: ml_get: invalid lnum: 92
Press ENTER or type comma
Christian Brabandt wrote:
> Hi,
> when calling :redraw in a BufAdd autocommand, this may cause several
> E315 ml_get: invalid_lnum messages. Here is a backtrack
>
> Here is a backtrace:
>
> (gdb) bt
> #0 ml_get_buf (buf=0xedf300, lnum=2, will_change=0) at memline.c:2469
> #1 0x004cf0
Hi,
when calling :redraw in a BufAdd autocommand, this may cause several
E315 ml_get: invalid_lnum messages. Here is a backtrack
Here is a backtrace:
(gdb) bt
#0 ml_get_buf (buf=0xedf300, lnum=2, will_change=0) at memline.c:2469
#1 0x004cf014 in plines_win_nofold (wp=0x897bf0, lnum=2)
Yukihiro Nakadaira wrote:
> v_p at last line causes error "E315: ml_get: invalid lnum"
>
> Steps to reproduce:
>
> $ vim -u NONE
> oxylv$p
> E315: ml_get: invalid lnum: 2
> E322: line number out of range: 1 past the end
>
> This behavior
v_p at last line causes error "E315: ml_get: invalid lnum"
Steps to reproduce:
$ vim -u NONE
oxylv$p
E315: ml_get: invalid lnum: 2
E322: line number out of range: 1 past the end
This behavior was introduced by 7.4.034.
There is related another problem.
$ vim -u NONE
ixyv
Dimitar DIMITROV wrote:
> > > Hi,
> > >
> > > 1. :help
> > > 2. 10GVj
> > > 3. :ene
> > > 4. Use to paste the text but don't do it above line 1
> > > 5. u
> > > 6. Use to paste the text and do it above line 1
> &
delete blank line
> u undo deletion
> Ctrl-R redo deletion
>
> ---Result---
> E315: ml_get: invalid lnum: 2
> E315: ml_get: invalid lnum: 2
> Press ENTER or type command to continue
Yes, this I can reproduce. I'll fix it.
--
Bypass
ion
---Result---
E315: ml_get: invalid lnum: 2
E315: ml_get: invalid lnum: 2
Press ENTER or type command to continue
John
--
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
nd do it above line 1
>> > 7. ddu^R
>> >
>> > Error message:
>> >
>> > E315: ml_get: invalid lnum: 3
>> > E315: ml_get: invalid lnum: 3
>>
>>
>> I can't reproduce it.
>>
>> What would be useful, is for you to put a
> Dimitar DIMITROV wrote:
> > Hi,
> >
> > 1. :help
> > 2. 10GVj
> > 3. :ene
> > 4. Use to paste the text but don't do it above line 1
> > 5. u
> > 6. Use to paste the text and do it above line 1
> > 7. ddu^R
> >
> > Erro
Dimitar DIMITROV wrote:
> Hi,
>
> 1. :help
> 2. 10GVj
> 3. :ene
> 4. Use to paste the text but don't do it above line 1
> 5. u
> 6. Use to paste the text and do it above line 1
> 7. ddu^R
>
> Error message:
>
> E315: ml_get: invalid lnum: 3
> E315:
Dimitar Dimitrov wrote:
> > > 1. :help
> > > 2. 10GVj
> > > 3. :ene
> > > 4. Use to paste the text but don't do it above line 1
> > > 5. u
> > > 6. Use to paste the text and do it above line 1
> > > 7. ddu^R
> > &
Right...
Just tried:
gvim.exe "+se nocp" -u NONE -U NONE
None of the errors is triggered
Cheers
De : Lech Lorens
À : vim_dev@googlegroups.com
Envoyé le : Ven 6 août 2010, 11h 05min 59s
Objet : Re: Re : E315: ml_get: invalid lnum
On 6 August
On 6 August 2010 10:56, Dimitar DIMITROV wrote:
> I hadn't. Now I did and there is a different error. At the end we still
> should
> have one line but all disappears. Here is how you can reproduce it:
>
> gvim.exe -u NONE -U NONE
> :help
> yy
> ^w^w
> p
> u
> P
> j
> dd
> u
> ^r
This is not an er
> Dimitar Dimitrov wrote:
>
> > 1. :help
> > 2. 10GVj
> > 3. :ene
> > 4. Use to paste the text but don't do it above line 1
> > 5. u
> > 6. Use to paste the text and do it above line 1
> > 7. ddu^R
> >
> > Error message:
> &
Dimitar Dimitrov wrote:
> 1. :help
> 2. 10GVj
> 3. :ene
> 4. Use to paste the text but don't do it above line 1
> 5. u
> 6. Use to paste the text and do it above line 1
> 7. ddu^R
>
> Error message:
>
> E315: ml_get: invalid lnum: 3
> E315: ml_get: in
Hi,
1. :help
2. 10GVj
3. :ene
4. Use to paste the text but don't do it above line 1
5. u
6. Use to paste the text and do it above line 1
7. ddu^R
Error message:
E315: ml_get: invalid lnum: 3
E315: ml_get: invalid lnum: 3
:version
VIM - Vi IMproved 7.3d BETA (2010 Aug 4, compiled Aug 4
ine:W10: Warning: Changing a
> readonly file
> E315: ml_get: invalid lnum: 3
>
> I realize that we're not meant to change the file in the
> FileChangedRO autocommand (and Vim warns about it: W10).
> However, I don't think it should cause an internal error.
Thanks for repo
Hi
I can reproduce internal error E315 with Vim-7.2.411 on Linux:
$ yes | head > foo.txt
$ chmod a-w foo.txt
$ vim -u NONE -c 'au FileChangedRO * :%d' -c 'norm 3GD' foo.txt
Error detected while processing command line:W10: Warning: Changing a
readonly file
E315: ml_
21 matches
Mail list logo