On Mo, 26 Dez 2022, JD Allen wrote:

> 
> It only seems to affect two specific files, and only when I open them in this 
> particular way:
> 
> vim -p file1 file2
> 
> When I do this I get the following output:
> 
> E315: ml_get: Invalid lnum 3467
> E315: ml_get: Invalid lnum 3467
> E315: ml_get: Invalid lnum 3468
> E315: ml_get: Invalid lnum 3469
> E315: ml_get: Invalid lnum 3470
> 
> If I open file1 by itself, or file2 by itself, I get no error.
> 
> Also: if I rename one of the files and then open them with:
> 
> vim -p renamed-file1 file2
> 
> I get no error. But if I then change the name back to the original file1 and 
> try again, i now get:
> 
> E315: ml_get: invalid lnum: 2
> 
> Finally, (excuse the convolutions) if I do the following:
> -rename file1
> -touch file1
> -open: vim -p file1 file2 (no error)
> -close vim
> -delete file1
> -change renamed file back to file1
> -open: vim -p file1 file2
> 
> I get no error, and it would appear the problem is fixed, however after 
> restarting the OS the original problem returns all over again.
> 
> vim version: 9.0.1046-1
> 
> environment: arch linux 

First question: Does it occur when running `vim --clean` (e.g. with a 
default set of options and no plugins involved). If yes, there is 
something seriously wrong, so I assume it's some plugin going wrong 
here. So what kind of plugins are you using?
Also, does your viminfo file contains references to those files?


Best,
Christian
-- 
Warum überquerte das Huhn die Straße?
Plato:
  Für ein bedeutenderes Gut.

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221227083323.GA220345%40256bit.org.

Raspunde prin e-mail lui