rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Incorrect filename shown in status line after writing existing file as new one #412

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
open a source file in MacVim
type : w <new_filename>

In the status line at the bottom-left corner, MacVim reports that it is now 
editing <new_filename>. In fact, as per normal vim on (e.g.) Linux, it is still 
editing the original file. You can prove this by typing :ls. _new_filename is 
not even listed.

This is a dangerous/critical issue because of the high chance of confusing the 
user and him/her losing his work on a source file (due to overwriting)

Seen with MacVim snapshot 64 on OSX 10.7.3 (Lion).

Can I take the opportunity to congratulate you on an otherwise superb vim port. 
Great job! Definitely my favourite editor on the Mac :D

Original issue reported on code.google.com by a.t.sout...@gmail.com on 13 Apr 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Doh. I'm an idiot. It just says it's *written* new_filename, which is correct. 
The name of the current file is in the bottom *right*, not left. Sorry :/

Please discard this issue - it is not an issue after all.

Original comment by a.t.sout...@gmail.com on 13 Apr 2012 at 10:20

GoogleCodeExporter commented 9 years ago
No worries.  I'm happy to hear that you like MacVim!

Original comment by bjorn.winckler@gmail.com on 15 Apr 2012 at 6:43