All, I've been working on some vimscript to help expand an UltiSnips template for a new file and ran across an interesting bug.
With the attached simple.vim, if I run: vim -u simple.vim -U NONE --noplugin --servername GVIM0 foo.txt I see vim startup and insert foo.txt into the empty file. If I add --remote-silent to that though, nothing is inserted: vim -u simple.vim -U NONE --noplugin --servername GVIM0 \ --remote-silent foo.txt The autocmd is being fired--as evidenced by the message--but no text is inserted. Am I missing something here? It seems like a bug to me that it's getting lost. I'm running MacVim: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 23 2013 06:26:45) MacOS X (unix) version Included patches: 1-969 Compiled by j...@szakmeister.net Huge version with MacVim GUI. Features included (+) or not (-): +arabic +find_in_path -mouse_sysmouse +tag_old_static +autocmd +float +mouse_urxvt -tag_any_white +balloon_eval +folding +mouse_xterm +tcl +browse -footer +multi_byte +terminfo ++builtin_terms +fork() +multi_lang +termresponse +byte_offset +fullscreen -mzscheme +textobjects +cindent -gettext +netbeans_intg +title +clientserver -hangul_input +odbeditor +toolbar +clipboard +iconv +path_extra +transparency +cmdline_compl +insert_expand +perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con_gui -lua +rightleft +windows +diff +menu +ruby +writebackup +digraphs +mksession +scrollbind -X11 +dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent +xim +emacs_tags +mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra -mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop +farsi +mouse_netterm +syntax +file_in_path +mouse_sgr +tag_binary I also ran it with master of MacVim: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 12 2013 21:32:49) [options elided since they're mostly duplicate of the above] Thanks! -John -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
simple.vim
Description: Binary data