On 14/08/10 04:14, John Beckett wrote:
Gary Johnson wrote:
In a directory containing a simple text file named 'mary',
execute the following:

     $ vim -u NONE -i NONE
     :r mary

The result is the following two error messages:

     E812: Autocommands changed buffer or buffer name
     E484: Can't open file mary

This bug also occurs in 7.2.323 but not in 7.2.18.
Adding -N to the command line causes the bug to not occur.

In the current 7.3f (rev 84ba6293f9d7), when executing the :r,
the error message is displayed at src/fileio.c, line 733.

John


After seeing what is said under :help cpo-f (about a flag which, by default, is on in 'compatible' mode and off in 'nocompatible' mode) this error sounds like a bug.


Best regards,
Tony.
--
In the long run, every program becomes rococo, and then rubble.
                -- Alan Perlis

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

Raspunde prin e-mail lui