X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E65C3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1702951811; bh=Lcmw5oIoazxypQy3upiljs/faE/yyMiLcBAnZMKZuvA=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=rLALCAtVBc0ewBLMzVz/MiPWqvevJ3hF9CCsBoptuHm6Eby8lRIuRXKW9bt+NQECf sFjJydlYwN52wPRmyOso8rABXsZ03cXK1kWfn+KtzT5hv484X9EzRJ6J+agJwj4c7Y fvx5VGDCWETqdCMBC1tmUDbOPCM1nd9p8wK56ptQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A91753858C78 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A91753858C78 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702951772; cv=none; b=bVN0wbD6XTXD3VOS0ivPzSFl7KtDCQ0y4Aax6+9W2V6yNAaoGbwKt9WINcstbA59Aq132KvYpynLz31tv+UH01sI7qjcRY6pAz1ePvzZVoF+VEEY87OiovSlSso2Q4G5vJlmVEaDzF6Apcm3eyh4ERHqJijL2jc5unCoogP4mjg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702951772; c=relaxed/simple; bh=BUcOTyFpycFXCreu7efElqpRcWnHBDxjWVYZNAmU/fo=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=UmSscN54JOaKb4hBykaU7W7uFyJc3sYLPLLzl5h5PlVP4P2SXMj+Lf2Ozyrsq8bUduz90tpr4QGgDk9dVtVv2Q1/wkxXzy8zK0X4M7tURXA9DwUyGDqqrtrnDRSh73uaii/QCqvA4zQGWRzcq1oZ9abE5TmmmbrvCRTGdQ8z6MA= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702951766; x=1703556566; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=++FfOjCfay2RiPR/CiSnCopO5iYixiFdX3NSLBlNaXA=; b=cnf4UyRwNaZDC41y4FrGYiw2ihuripHdK9AUGhqhAP3+OLybiOALDTqQdqg5wr47qI +8Z3KShiFwRGPpzVnFTfIfpikvmOQPzdm7cRzbdbgMMrC73wst3AEvpEd3TEM5KKMH9x oCLVezk9jLVDTNZqjrqQnB4twiBiwS1SA/rjWFlrS7wOCiMe5+2pszOX4DwnrwwDufDe 0DPkrYaVJWW1xkYVRRdxxyLw6eMt9H49u1fhHkGKG6KsEfEXUHY77o8sHMxfjiBciS/s 56gohozQpfpxW8CearEa18udXZBUP77uiKcwJMZGgFFQTagegfyO+L2tZFQkmGgDGlx7 XQHQ== X-Gm-Message-State: AOJu0YwdS1qlNWiULSwF41xBCqXBy4KP5vV/eI2k7tio8T9tuzJZM0WU sWgAntFlVtG39blCRJcqyoImBNOz/gU= X-Google-Smtp-Source: AGHT+IGJkJq4Jbeg4DGvY0LmT4bpnUb/tDZcR4N4j6RcTtQdX19Pkxt8Al4vxIIqpKmTfjVX123zuw== X-Received: by 2002:a17:907:9615:b0:a23:3afd:28eb with SMTP id gb21-20020a170907961500b00a233afd28ebmr1377971ejc.221.1702951765862; Mon, 18 Dec 2023 18:09:25 -0800 (PST) Message-ID: <59ec1f7f-c927-45c5-815f-20a7f2f293d9@gmail.com> Date: Tue, 19 Dec 2023 03:09:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: /usr/bin/vi: errors parsing .vim files from vim-common package Content-Language: en-US To: cygwin AT cygwin DOT com References: <18692-1702757484-52909 AT sneakemail DOT com> In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham 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.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BJ2ACTk025093 On 18/12/2023 20:42, Lee via Cygwin wrote: > tl,dr: Did vi/vim change from /etc/alternatives to an alias? > > $ ls -l $(which vi) $(which vim) > -rwxr-xr-x 1 root Administrators 1507859 Dec 12 09:07 /usr/bin/vi.exe > -rwxr-xr-x 1 root Administrators 3565587 Dec 12 09:07 /usr/bin/vim.exe > they are two different binaries $ ls -l vi vim -rwxr-xr-x 1 marco None 1.5M Dec 12 13:58 vi -rwxr-xr-x 1 marco None 3.5M Dec 12 13:58 vim > $ alias vi > alias vi='vim' > $ grep -rH alias . ./profile.d/vim.csh:alias vi vim ./profile.d/vim.fish:alias vi vim ./profile.d/vim.sh: # for bash and zsh, only if no alias is already set ./profile.d/vim.sh: alias vi >/dev/null 2>&1 || alias vi=vim it is the default if both vi and vim are installed and it was in the cygwin package by long time > On Sat, Dec 16, 2023 at 3:11 PM John Hein wrote: >> >> I just updated vim packages (including vim-minimal and vim-common) to 9.0.2155-1 > > I've got the same version installed > $ grep '^vi' cygcheck-srv_2023-12-17.txt > vim 9.0.2155-1 OK > vim-common 9.0.2155-1 OK > vim-minimal 9.0.2155-1 OK > >> Now when I run 'vi', I get this: >> >> Error detected while processing /usr/share/vim/vim90/filetype.vim: >> line 11: > <.. snip ..> >> and so on. is you use /usr/bin/vi, you will bypass the alias and hitting the same problem /usr/bin/vi is loading plugin intended only for vim I will need some time to dig in the issue 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