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
'scrolloff' r
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
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,
Yukihiro Nakadaira wrote:
v_p at last line causes error E315: ml_get: invalid lnum
Steps to reproduce:
$ vim -u NONE
oxEscylv$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
v_p at last line causes error E315: ml_get: invalid lnum
Steps to reproduce:
$ vim -u NONE
oxEscylv$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
ixCRyEscv$d
Dimitar DIMITROV wrote:
Hi,
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
Dimitar DIMITROV wrote:
Dimitar DIMITROV wrote:
Hi,
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse to paste the text and do it above line 1
7. ddu^R
Error message:
E315: ml_get: invalid lnum: 3
: 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
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.
--
Bypasses are devices that allow some people to dash from point A to
point B very fast while other people dash from point B
Dimitar DIMITROV wrote:
Hi,
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse to paste the text and do it above line 1
7. ddu^R
Error message:
E315: ml_get: invalid lnum: 3
E315: ml_get
Dimitar Dimitrov wrote:
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
On 6 August 2010 10:56, Dimitar DIMITROV mitk...@yahoo.fr 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
Right...
Just tried:
gvim.exe +se nocp -u NONE -U NONE
None of the errors is triggered
Cheers
De : Lech Lorens lech.lor...@gmail.com
À : vim_dev@googlegroups.com
Envoyé le : Ven 6 août 2010, 11h 05min 59s
Objet : Re: Re : E315: ml_get: invalid lnum
On 6
Dimitar Dimitrov wrote:
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
Dimitar DIMITROV wrote:
Hi,
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
I can't
Hi,
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
Dimitar Dimitrov wrote:
1. :help
2. 10GVjesc
3. :ene
4. Use MiddleMouse to paste the text but don't do it above line 1
5. u
6. Use MiddleMouse 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
: 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 reporting this. We should not get ml_get errors.
I wonder what would be the best way
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_get: invalid lnum: 3
I
21 matches
Mail list logo