X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=Yil
	wEr2YTvG0d0NTtzXh2HNySMh867tbhJyMOsNLacG1v333+82dIMf8TW/vZvq3T6l
	F6XCtlZF9bLZfT0KpdvlZku5i8h+ubp7Hyz4zDkZN5qzIxVyIjGuqxjTjG6HnGPm
	EY9oG1k+CFOJjb44CVFTUetz1JytVaD4OE5jDQ/M=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:from:subject:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=J0xEMcU2H
	iww3bdiFCzIXMHyo2g=; b=UgM2AFWONjUgsC37+Rwe8Ob6NX/62lX6L80zva1Bi
	55Wi+33d60fohd9STp9Dok6TxdXrpP4Zgunf7d49D3nVCvuHJLSKYrFa5IZWQzFt
	NmxCIFbAzQuoU9aGwCp+ax27UN7PlxTvCl/RbNj02qmHZuttwle/pvwLudnmtg6F
	A8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:619, H*u:6.1, H*UA:6.1, Auto
X-HELO: mail-wm0-f54.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:to:from:subject:message-id:date:user-agent         :mime-version:content-language:content-transfer-encoding;        bh=wb40fOQiNuXU0Ip7NYQvUAxGXAsn2wC701gVT0JJ6e0=;        b=fQjhbXabW9YnYMM/e69M33A1yIC7SBRw6qMf02JuxZXSa8GYjeXCspBgLNWfuu0Bbt         N44LYqsE5azlTHn7qerMcub0CZpGe5MtyhAStpw8oNzJE0CluP/Ho/orjnfZFq/phvQb         y6f9sFZpGpBY7N243qAv+WDaolaBkYb/adxrPkeVlA1YuaMFRcVrVn7aolu7JvZbLV8s         RfiKQgFIRaS+pS3bekNIAodt8JPX+fj2Iot1HS9PCdLepwVChCL+V92SMjFu6F7vp54n         Xae383hFn5deZTjcU4MRwcNynUDHWnCgYXxggj1Ek178SJKJd4/HtHwAtkzlqFVD9xio         M7wg==
X-Gm-Message-State: AKGB3mL1cgO1OMICFVeLsGQ9KJGIMNciVUutikKOzLspNuxkY5YnShrT	ByijqQkKfmLbo+KKh/CL9oBDVA==
X-Google-Smtp-Source: ACJfBotH2UlrHkYkuuBZen4LRNxfWHwuKQjJ9otFzB8GKw9Kd1+WhhkC25yMyjDbMZbfio5f51ytkg==
X-Received: by 10.80.168.98 with SMTP id j89mr55354858edc.287.1514740921912;        Sun, 31 Dec 2017 09:22:01 -0800 (PST)
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Subject: vim error with cygport file
Message-ID: <0f2e3743-46af-5b14-c2ac-5cc3a537ee6a@gmail.com>
Date: Sun, 31 Dec 2017 18:21:54 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi Yaakov,
any time I use vim for cygport files I have the
following error message:

"R.cygport" 80L, 1600C
Error detected while processing BufRead Auto commands for "*.cygport":
E117: Unknown function: SetFileTypeSH


That seems caused by
$ cat /usr/share/vim/vimfiles/ftdetect/cygport.vim
[cut]
au BufNewFile,BufRead *.cygpart,*.cygport call SetFileTypeSH("bash")


$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec  7 2017 04:42:02)
Included patches: 1-1376

$ cygcheck -cd |grep vim
gvim                                    8.0.1376-1
vim                                     8.0.1376-1
vim-common                              8.0.1376-1
vim-minimal                             8.0.1376-1


Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

