delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/07/01:34:50

X-Recipient: archive-cygwin AT delorie DOT 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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=he1i90u/U8vc+NcHHHx81mjgEhM56
AyrNa9FibMfvFjySDxPjslfb2SU++Yedf4xilKD4XNWRdjjqGQZb7qkV+uUjJgVd
SpioAsERaV0dUFlp/kc6iveZDzWGUjYxZPwh1hIL82P+3f+zcYI9LdYEglLzzZOG
8nWodp6E/4XTEM=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=w9HdWjyaBR2lLO8p5jYO4aIK/X0=; b=Zzl
yV2JqRcuJVutTFh0ibqZ3t5v0fgLD4qQ0S8Q3d2DjZndZlWXEQw0Syn33vvZTdcx
+63di16gwQ79yu0ye1zkWdGGT5q909aLc/Qs8xKhBrT+hT5v7Lhq0xN16YfzxdC7
EH7glduGaOkSbvPeMxavjednaVUGbodXAFr+UTRQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Opening, FAT, Ver, mtn
X-HELO: mail-io0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=p4mvUD29R46aIl09NtTwv9Gf6y1si5qyhuTjyO1qbbk=; b=Eud4JKL5iTlVU8o3vBP8W2zr0fs6r37IB6AfPKwmtB8atxOP5Tsqyd6F9O9OyWWzu0 DBwr2l2Yuj28AY5A2AOTVJ20I+S09E8wlYbcfciADC0cMad3o/4FHqKQid2OZYlQWtGE X9DU20QgPqbmys57mkQkNLaJQ0CTwTJ7rya6JwqOYLkDIqA0o16QE+RYPYfx8fgKnR0Z bEdbKDQhz4fzPa7pPSGoiqfTXtjfakt6qRyIz4y9aa52IbI2LI5VCy2/qFxOWMZd/ssh VPaV/a8eWJgMPbXoSsrKzlVxqg3W8e48M9AccB22FG2MmWbnDLsu0DpYtY8Q7xvnHL4b irGw==
X-Gm-Message-State: AEkoouu00MTINC5pctypDumNs16w+BolxNDPd/3clQBfSK2sOzggjuwUilS37VE2NqmdVuOeQNtzfmATyq4S5g==
X-Received: by 10.107.142.22 with SMTP id q22mr86765359iod.37.1470548067561; Sat, 06 Aug 2016 22:34:27 -0700 (PDT)
MIME-Version: 1.0
From: A Higgs <asherhiggs AT gmail DOT com>
Date: Sun, 7 Aug 2016 01:34:27 -0400
Message-ID: <CAN7t8EjRaVeKQ=V0d0FMGmXbCv-GRSoqM1ngYq+2MpwPwsf2qA@mail.gmail.com>
Subject: cygdrive prefix /mnt and vim swap files
To: cygwin AT cygwin DOT com

When the cygdrive prefix is /mnt (via fstab modification) vim swap
file creation malfunctions as following. Shell working directory is ~
in the examples but doesn't seem to matter:

vi -p foo /mnt/d/bar
(swap files created for both)
vi -p /mnt/d/bar foo
(swap file only created for bar)
vi -p /mnt/d/foo /mnt/d/bar
(swap file only created for foo)
vi -p foo bar
(swap files created for both)
vi -p foo /mnt/d/bar bar
(swap files created for foo and /mnt/d/bar)

Basically, it appears that after opening the first file on a cygdrive
no further swap files are created. Opening files in windows rather
than tabs, or opening additional files from within vim (eg. with
tabedit) makes no difference. Nor does the particular cygdrive or its
filesystem (eg. /mnt/e/foo where E: is FAT). I have also ruled out vim
configuration as the cause by removing ~/.vimrc & ~/.vim/ .

However, this behaviour doesn't occur when the cygdrive prefix is
reset to /cygdrive (or set to /foo or /mtn). I don't have a 'mnt'
directory in my cygwin install directory, and otherwise I have no idea
what to make of this. I only discovered the issue by accident and am
not particularly concerned with a solution or workaround, but I'm
prepared to offer more information or troubleshooting if necessary.
Thanks.

Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1
CYGWIN_NT-6.1 2.5.2(0.297/5/3) 2016-06-23 14:29 x86_64
vim 7.4.1990-1

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

- Raw text -


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