vim already-editing message should not page

Bug #717691 reported by Chad Miller on 2011-02-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)

Bug Description

Binary package hint: vim

Upon opening a file that is already opened by vim, it will present a dialog prompt. The prompt can be slightly too large to fit on one standard-size terminal, which makes the correct next action ambiguous for people who see this dialog all the time and know what should be done.

Found a swap file by the name ".foo.swp"
          owned by: user dated: Sat Feb 12 08:15:21 2011
         file name: foo
          modified: no
         user name: user host name: host
        process ID: 9637 (still running)
While opening file "foo"
             dated: Fri Feb 11 17:42:51 2011

(1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r draw.cpp"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file ".draw.cpp.swp"
    to avoid this message.

-- More --

That -more- is a prompt to press enter or space to see the rest. If that "more" is not there, then space or enter also answers the next prompt.

After space/enter, the remainder is the single line "Swap file ".foo.swp" already exists!"

The prompt is "[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:" Space and enter, the message-paging keys also answer this dialog, which causes problems.

Chad Miller (cmiller) on 2011-02-12
Changed in vim (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.