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

I don't know what autocommand that could be since I started Vim
without plugins and :scriptnames shows nothing.

This works without error if Vim is started in 'noncompatible' mode
or when using Vim 6.3.

I am running a freshly-built version of Vim 7.3f,

    $ hg tip
    changeset:   2561:84ba6293f9d7
    branch:      vim73
    tag:         tip
    user:        Bram Moolenaar <b...@vim.org>
    date:        Fri Aug 13 22:05:54 2010 +0200
    summary:     Preparations for 7.3f release.

with features as shown here,

    $ vim --version
    VIM - Vi IMproved 7.3f BETA (2010 Aug 9, compiled Aug 12 2010 15:46:01)
    Compiled by garyj...@whiffle.spk.agilent.com
    Normal version with GTK2 GUI.  Features included (+) or not (-):
    -arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent 
    +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info 
+comments 
    +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff 
    +digraphs +dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi 
    +file_in_path +find_in_path +float +folding -footer +fork() +gettext 
    -hangul_input +iconv +insert_expand +jumplist -keymap -langmap +libcall 
    +linebreak +lispindent +listcmds +localmap -lua +menu +mksession 
+modify_fname 
    +mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm -mouse_netterm 
    -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme 
+netbeans_intg 
    -osfiletype +path_extra -perl +persistent_undo +postscript +printer 
-profile 
    -python -python3 +quickfix +reltime -rightleft -ruby +scrollbind +signs 
    +smartindent -sniff +startuptime +statusline -sun_workshop +syntax 
+tag_binary 
    +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects 
+title
     +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra 
+viminfo 
    +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim 
    +xsmp_interact +xterm_clipboard -xterm_save 
       system vimrc file: "$VIM/vimrc"
         user vimrc file: "$HOME/.vimrc"
          user exrc file: "$HOME/.exrc"
      system gvimrc file: "$VIM/gvimrc"
        user gvimrc file: "$HOME/.gvimrc"
        system menu file: "$VIMRUNTIME/menu.vim"
      fall-back for $VIM: "/home/garyjohn/src/Linux/vim-7.3-hg/share/vim"
    Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -DXTHREADS 
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 
-I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include     -g -O2  -I/usr/X11R6/include     
    Linking: gcc  -L/usr/X11R6/lib   -L/usr/local/lib -o vim   
-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
 -lXt -lm -lncurses -lselinux -lacl -lgpm 

The OS is RHEL4.

Regards,
Gary

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