hi all

i am stumped. using "-c next" and "-c prev" as arguments to vimdiff kills 
diff and syntax highlighting, or colorscheme, everything is just monocolor. 
"-c setlocal noma readonly" has no problems.

is it a bug? what ways are there to gather some debug information about such 
an issue?

non-working:
$ vimdiff -c "saveas /tmp/rc.conf" -c next -c "setlocal noma readonly" -c 
prev /etc/rc.conf /etc/._cfg0000_rc.conf

works:
$ vimdiff -c "saveas /tmp/rc.conf" -c "setlocal noma readonly" /etc/rc.conf 
/etc/._cfg0000_rc.conf

$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan  2 2011 20:48:51)
Included patches: 1-50
Modified by Gentoo-7.3.50
Compiled by root@server
Huge version without 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 +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: "/etc/vim/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: i686-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H     
-march=i686 -O2 -pipe -D_FORTIFY_SOURCE=1     
Linking: i686-pc-linux-gnu-gcc   -Wl,-E  -Wl,-O1 -Wl,--as-needed -Wl,-O1 
-L/usr/local/lib -Wl,--as-needed -o vim    -lSM -lICE -lXpm -lXt -lX11 
-lXdmcp -lSM -lICE -lm -lnsl   -lcurses -lacl -lattr -lgpm -ldl    -Wl,-E 
-Wl,-O1 -Wl,--as-needed -Wl,-O1 -fstack-protector -L/usr/local/lib  
-L/usr/lib/perl5/5.12.2/i686-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil 
-lc -L/usr/lib/python2.6/config -lpython2.6 -lpthread -ldl -lutil -lm 
-Xlinker -export-dynamic     

-- 
You received this message from the "vim_use" 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

Reply via email to