[Top][All Lists]

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

[vile] Invoking vile on non-existent files

From: Decklin Foster
Subject: [vile] Invoking vile on non-existent files
Date: Sat, 30 Aug 2008 18:53:41 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

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

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,

things change.

reply via email to

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