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 B7976385828B Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: Vim gives error message since 8.2.3755-1 Date: Sun, 24 Jul 2022 21:52:10 -0500 Message-ID: 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> 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 Content-Language: en-US In-Reply-To: <982613274.886853.1658711514654@mail.yahoo.com> X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, NICE_REPLY_A, NML_ADSP_CUSTOM_MED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "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. -- 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