Hirohito Higashi wrote: > Hi Bram and list, > > How to reproduce: > - Create file for test. > $ touch hh.txt > - Open file on other instance Vim. > $ vim -Nu NONE hh.txt > - Run Vim > $ vim -Nu NONE hh.txt > - type hh.txt to current buffer > ihh.txt<Esc> > - Open a new tab page and edit the file name under the cursor. (:h CTRL-W_gf) > <C-W>gf > - Displayed the following dialog. and you type `q`. > Swap file ".hh.txt.swp" already exists! > [O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort: > > Expected behavior: > - Tab page will not be opened. > > Actual behavior: > - Tab page is opened. I think this is a waste. > > > I attached a patch. > NOTE: This patch was written by Norio Takagi. (I only added a test) > Please include this.
Thanks! -- Don't drink and drive. You might hit a bump and spill your beer. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
