vile
[Top][All Lists]
Advanced

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

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


From: Thomas Dickey
Subject: Re: [vile] Invoking vile on non-existent files
Date: Sat, 30 Aug 2008 19:01:44 -0400 (EDT)

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

I see (now that I'm looking ;-).

thanks - will fix...


Seems like the code to find a file and put it in a buffer falls back to
matching on the basename for some reason if the files don't exist and
they haven't been modified yet. I'm not sure why from looking at it,
though.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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