public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Vim gives error message since 8.2.3755-1
       [not found] <982613274.886853.1658711514654.ref@mail.yahoo.com>
@ 2022-07-25  1:11 ` Thomas DiModica
  2022-07-25  2:52   ` René Berber
  2022-07-25  9:37   ` marco atzeri
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas DiModica @ 2022-07-25  1:11 UTC (permalink / raw)
  To: cygwin

Since 8.2.3755-1, Vim has given me an error message about being unable to open the defaults.vim file whenever I open a file with vi. I do not see this message with 8.2.0486-1. Notably, vi --version for the last two updates tell me that the user vimrc file is "/home/Marco/.virc", rather than "$HOME/.virc". Possibly, the problem is that I'm the only person who actually uses vi to do simple tasks who doesn't customize it to death. Anyway, it's a nuisance to me, probably will be mysterious to others.

Thanks,
Thomas D

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Vim gives error message since 8.2.3755-1
  2022-07-25  1:11 ` Vim gives error message since 8.2.3755-1 Thomas DiModica
@ 2022-07-25  2:52   ` René Berber
  2022-07-25  2:52     ` René Berber
  2022-07-25  9:37   ` marco atzeri
  1 sibling, 1 reply; 5+ messages in thread
From: René Berber @ 2022-07-25  2:52 UTC (permalink / raw)
  To: cygwin

On 7/24/2022 8:11 PM, Thomas DiModica via Cygwin wrote:

> Since 8.2.3755-1, Vim has given me an error message about being
> unable to open the defaults.vim file whenever I open a file with vi.
> I do not see this message with 8.2.0486-1. Notably, vi --version for
> the last two updates tell me that the user vimrc file is
> "/home/Marco/.virc", rather than "$HOME/.virc". [snip]

Depends on what you are really using, my vim is the alias of vi, and the 
"user vimrc file: "$HOME/.vimrc", not .virc


$ which vi
/usr/bin/vi

$ type vi
vi is aliased to `vim'

$ vi --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 13 2022 22:15:51)
...
    system vimrc file: "/etc/vimrc"
      user vimrc file: "$HOME/.vimrc"
  2nd user vimrc file: "~/.vim/vimrc"
       user exrc file: "$HOME/.exrc"
        defaults file: "$VIMRUNTIME/defaults.vim"
...

My guess is that one of those files have changed things up.

Also I think vim detects that it was called with an alias, and may 
behave differently.
-- 
R.B.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Vim gives error message since 8.2.3755-1
  2022-07-25  2:52   ` René Berber
@ 2022-07-25  2:52     ` René Berber
  0 siblings, 0 replies; 5+ messages in thread
From: René Berber @ 2022-07-25  2:52 UTC (permalink / raw)
  To: cygwin

On 7/24/2022 8:11 PM, Thomas DiModica via Cygwin wrote:

> Since 8.2.3755-1, Vim has given me an error message about being
> unable to open the defaults.vim file whenever I open a file with vi.
> I do not see this message with 8.2.0486-1. Notably, vi --version for
> the last two updates tell me that the user vimrc file is
> "/home/Marco/.virc", rather than "$HOME/.virc". [snip]

Depends on what you are really using, my vim is the alias of vi, and the 
"user vimrc file: "$HOME/.vimrc", not .virc


$ which vi
/usr/bin/vi

$ type vi
vi is aliased to `vim'

$ vi --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 13 2022 22:15:51)
...
    system vimrc file: "/etc/vimrc"
      user vimrc file: "$HOME/.vimrc"
  2nd user vimrc file: "~/.vim/vimrc"
       user exrc file: "$HOME/.exrc"
        defaults file: "$VIMRUNTIME/defaults.vim"
...

My guess is that one of those files have changed things up.

Also I think vim detects that it was called with an alias, and may 
behave differently.
-- 
R.B.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Vim gives error message since 8.2.3755-1
  2022-07-25  1:11 ` Vim gives error message since 8.2.3755-1 Thomas DiModica
  2022-07-25  2:52   ` René Berber
@ 2022-07-25  9:37   ` marco atzeri
  2022-07-25 17:41     ` John Ruckstuhl
  1 sibling, 1 reply; 5+ messages in thread
From: marco atzeri @ 2022-07-25  9:37 UTC (permalink / raw)
  To: Thomas DiModica; +Cc: cygwin

On Mon, Jul 25, 2022 at 3:12 AM Thomas DiModica via Cygwin  wrote:
>
> Since 8.2.3755-1, Vim has given me an error message about being unable to open the defaults.vim file whenever I open a file with vi. I do not see this message with 8.2.0486-1. Notably, vi --version for the last two updates tell me that the user vimrc file is "/home/Marco/.virc", rather than "$HOME/.virc". Possibly, the problem is that I'm the only person who actually uses vi to do simple tasks who doesn't customize it to death. Anyway, it's a nuisance to me, probably will be mysterious to others.
>
> Thanks,
> Thomas D
>

thanks for the report

I will look on it for the next release

Regards
Marco

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Vim gives error message since 8.2.3755-1
  2022-07-25  9:37   ` marco atzeri
@ 2022-07-25 17:41     ` John Ruckstuhl
  0 siblings, 0 replies; 5+ messages in thread
From: John Ruckstuhl @ 2022-07-25 17:41 UTC (permalink / raw)
  To: marco atzeri; +Cc: Thomas DiModica, cygwin

There was a bug upstream and it has been fixed upstream.
I'm confident that eventually it will get to us.
Meanwhile, I found that if you simply create an empty ~/.exrc, the bug is
avoided.
See https://bugzilla.redhat.com/show_bug.cgi?id=1969936
Regards,
John Ruckstuhl

On Mon, Jul 25, 2022 at 2:38 AM marco atzeri <marco.atzeri@gmail.com> wrote:

> On Mon, Jul 25, 2022 at 3:12 AM Thomas DiModica via Cygwin  wrote:
> >
> > Since 8.2.3755-1, Vim has given me an error message about being unable
> to open the defaults.vim file whenever I open a file with vi. I do not see
> this message with 8.2.0486-1. Notably, vi --version for the last two
> updates tell me that the user vimrc file is "/home/Marco/.virc", rather
> than "$HOME/.virc". Possibly, the problem is that I'm the only person who
> actually uses vi to do simple tasks who doesn't customize it to death.
> Anyway, it's a nuisance to me, probably will be mysterious to others.
> >
> > Thanks,
> > Thomas D
> >
>
> thanks for the report
>
> I will look on it for the next release
>
> Regards
> Marco
>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-25 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <982613274.886853.1658711514654.ref@mail.yahoo.com>
2022-07-25  1:11 ` Vim gives error message since 8.2.3755-1 Thomas DiModica
2022-07-25  2:52   ` René Berber
2022-07-25  2:52     ` René Berber
2022-07-25  9:37   ` marco atzeri
2022-07-25 17:41     ` John Ruckstuhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).