delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/24/22:52:55.1

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8271D385828B
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language:to
:newsgroups:references:from:in-reply-to:content-transfer-encoding;
bh=LyQaVE3XnRCRtBfZvKC/0qtf5Zi7OY7iXGFC23A5JwE=;
b=RapaygqFHoa9KlboEfZy5T+nRcyRvy/zcUJYQ5omNg4XP+MtDJrgMS6l7bqUi+dm8B
OgZQ7k3FZp0XGq/CLxsrik8evklIgvBh/fqHEPbD33QTJxTDAIxn4En1Kn8L72PrFqoC
dzPXNvjMWxDyQUieoNFXQDfT5YczM3KDcyT9z8cH9I0gzEFXrGVa8tOBMezRp5c8RB+V
dHDajT5HEWWXkOc1cW/Y/QvqqeVtCfcK4tqR54Fd08Dl8ub4SkuEckPTvc2r/7i2JSg6
qbEF9vmRqu80tP8UcUCFsZFtb6OClkVGQIZexJWIMlMhSv0e6IVkbSesYt7tXQAxYg0J
26Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:newsgroups:references:from:in-reply-to
:content-transfer-encoding;
bh=LyQaVE3XnRCRtBfZvKC/0qtf5Zi7OY7iXGFC23A5JwE=;
b=Sp/aYMqmkIF+Yua3G2Tyz+3ak71dOvonxUnEasRyJp5/4SvHDCGZMXhrfkMLCX3cOX
zWpBfYKAurx63xhfNfAyoCIWHyffPYTo6UvJe7ALFmYcaajVEAgxmEk6HskiPUmaRmGI
htmfKD1goYq2ZUB3Hqh/E0RxGVH5nEhmFcOdJcMfv8f4bGDFG+/1UMaCgXfXmSn2d8AD
hF7eeRSStdqaxhWOcJYQKGkiyzNF+NWrwypLDcYvSpH6b2MUaYkdcrTf2N29oTKQjaPm
7cgwue6SyInX0j/DUQRTyEZmMW2CVZt5wVsKkaEVx+plbZKoa9OIJtTsRwrkpdSPFCfN
GM6g==
X-Gm-Message-State: AJIora//pKnehqZ5nHO0gVyHwSb2P/CeuLTWFOFAopipdcCjUZHpxcGz
mVcyKVoAGr90pr3rmPo96LVD29t1tx8=
X-Google-Smtp-Source: AGRyM1tiRzZ5nWFJsrR3daPg2WIndO61QfRZbOQ0TQTAZ/TEY6ntGOnEteD/zaHgykeIXRkn7hJ1ow==
X-Received: by 2002:a05:622a:54d:b0:31e:f363:42e2 with SMTP id
m13-20020a05622a054d00b0031ef36342e2mr8996478qtx.466.1658717533780;
Sun, 24 Jul 2022 19:52:13 -0700 (PDT)
Message-ID: <d8734a8b-7570-9551-e973-2027c0ba9900@gmail.com>
Date: Sun, 24 Jul 2022 21:52:10 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19)
Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
Subject: Re: Vim gives error message since 8.2.3755-1
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Newsgroups: gmane.os.cygwin
References: <982613274 DOT 886853 DOT 1658711514654 DOT ref AT mail DOT yahoo DOT com>
<982613274 DOT 886853 DOT 1658711514654 AT mail DOT yahoo DOT com>
From: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
In-Reply-To: <982613274.886853.1658711514654@mail.yahoo.com>
X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019