[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Invoking vile on non-existent files

From: Paul Fox
Subject: Re: [vile] Invoking vile on non-existent files
Date: Sat, 30 Aug 2008 19:07:54 -0400

thomas wrote:
 > On Sat, 30 Aug 2008, Decklin Foster wrote:
 > > I just noticed something odd:
 > >
 > > $ mkdir foo bar
 > > $ vile foo/file bar/file
 > >
 > > vile comes up with one buffer, named file, for ./bar/file. This only
 > > happens if the not-yet-created files have the same name. I can also
 > > reproduce this behavior by starting vile and then loading foo/file and
 > > bar/file with :e (the first buffer gets obliterated).

the latter behavior -- loading them from within the editor -- is
entirely expected.  vile assumes that if you move away from an
empty, unmodified buffer that represents a non-existent file,
that you made a typo, and that you probably don't want that
buffer.  e.g., if you typed "vile mkaefile", and then ":e
makefile", then by design it will discard the buffer called

i suspect the two argument case may be related, but is arguably incorrect.
you should at least get to visit the buffer before it's discarded.

 paul fox, address@hidden (arlington, ma, where it's 71.1 degrees)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]