Saturday, June 8, 2019

Re: Spurious E13 message

Hi Jon,

On Sat, 8 Jun 2019 21:40:59 -0700 (PDT)
JESii <jseidel@edpci.com> wrote:

> On Saturday, June 8, 2019 at 7:18:50 AM UTC-7, Manfred Lotz wrote:
> > On Sat, 8 Jun 2019 06:59:01 -0700 (PDT)
> > JESii
> >
> > > I've been using vim for many years and have a strange problem that
> > > just cropped up.
> > >
> > > I'm in vim happily editing, saving as I go and then suddenly I get
> > > "E13 File exists (add ! to override)" and I have to :w! to save
> > > the file. Then I'll be able to save the file a few more times,
> > > and then I get the E13 again.
> > >
> > > I have only two buffers open; noreadonly is set; there's nothing
> > > I can see in :set or :setlocal that would indicate I have to
> > > "overwrite" an existing file.
> > >
> >
> > I guess you checked already that it happened as well when you run
> > vim -U NONE somfile
> >
> > If not you should.
> >
> > If yes and the error is gone then the only idea I have is to start
> > with a clean .vimrc and to add things from your saved .vimrc in
> > pieces to see when the error starts happening.
> >
> > --
> > Manfred
>
> Thanks, Manfred... Didn't know about that -- I'll give that a try.
> The whole thing is strange because on my other machine which shares
> the .vimrc, everything is working fine. But I will check my recent
> changes again...
>
> Cheers...jon
>

Perhaps you find out what caused it by backing out your recent
changes

Five days ago I had a problem with neovim where a `dd` and a `p` gave
strange results. I also have my .vimrc (which will be used by vim and
neovim) shared over some machines. The problem happened on one machine
only, and it happened with neovim only. vim was ok.

Without any .vimrc neovim behaved well. So I started with an
empty .vimrc and added my stuff slowly to find out that
set clipboard=unnamed,unnamedplus
caused the problem.

Having had a problem with the clipboard manager when using mupdf it
occured to me that the clipboard manager parcellite which ran on the
machine where the problem occured was differerent to the one on the
other machine. I stopped parcellite and the problem was gone. I should
add that I had been using parcellite for years. Don't know why
parcellite kind of freaked out.

So, also in your case it could be that something outside of vim could
be different on that one machine causing the problem in conjunction
with a specific setting in the .vimrc. Then the question would be: is
it a vim problem or is it an outside problem where vim just suffers?



--
Manfred






--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190609074915.1d4ff9f4%40hogwart.
For more options, visit https://groups.google.com/d/optout.

No comments: